getStatus method

Future getStatus({
  1. required String phone,
})

Get the current text status of contact

Implementation

Future getStatus({
  required String phone,
}) async {
  return await wpClient.evaluateJs(
    '''WPP.contact.getStatus(${phone.phoneParse});''',
    methodName: "getStatus",
  );
}