sendCreatePollMessage method
Send a create poll message , Note: This only works for groups
Implementation
Future sendCreatePollMessage(
{required String phone,
required String pollName,
required List<String> pollOptions}) async {
return await wpClient.evaluateJs(
'''WPP.chat.sendCreatePollMessage(${phone.phoneParse},${pollName.jsParse},${pollOptions.jsParse});''',
methodName: "sendCreatePollMessage",
);
}