sendTargetParse property

String get sendTargetParse

A JS expression (for use inside an async function) giving the chat to send to: a phone number is resolved to its LID first, group and channel ids pass through. See window.__dragoResolve in WppConnect.

Implementation

String get sendTargetParse {
  final id = phoneParse;
  return '(window.__dragoResolve ? await window.__dragoResolve($id) : $id)';
}