sendTextStatus method

Future sendTextStatus({
  1. required String status,
  2. String? backgroundColor,
  3. String? font,
})

Send a text status to your status

Implementation

Future sendTextStatus({
  required String status,
  String? backgroundColor,
  String? font,
}) async {
  return await wpClient.evaluateJs(
    '''window.WPP.status.sendTextStatus(${status.jsParse}, {
      backgroundColor: ${backgroundColor.jsParse},
      font: ${font.jsParse}
    });''',
    methodName: "sendTextStatus",
  );
}