system.twilio.sendWhatsAppTemplate
This function is used in Python Scripting.
Description​
Sends a WhatsApp template message. Template messages are configurable messages on Twilio that can be sent to users via Twilio WhatsApp Refer to WhatsApp Template Overview documentation for more information.
Client Permission Restrictions​
This scripting function has no Client Permission restrictions.
Syntax​
system.twilio.sendWhatsAppTemplate(accountName, userNumber, whatsAppService, whatsAppTemplate, templateParameters)
Parameters​
Type | Parameter | Description |
---|---|---|
String | accountName | The Twilio account to send from. |
String | userNumber | The phone number of the recipient. |
String | whatsAppService | The Twilio Messaging Service SID configured to send WhatsApp Messages. |
String | whatsAppTemplate | The Twilio Content Template SID. |
String | templateParameters | A list of values to pass into the Twilio Content Template as parameters. |
Returns​
Nothing
Scope​
Gateway, Vision Client, Perspective Session