Tasks
Send Typing Indicator
Sends a typing indicator to a platform to let the recipient know a message is incoming
Basic usage
Task to send a typing indicator on WhatsApp.
Parameters
required string
platform The platform to send a typing indicator on. Currently the only available option is: whatsapp
.
required object
whatsapp The WhatsApp parameters for the task.
WhatsApp Parameters
Parameters required for sending a typing indicator on Whatsapp
Unlike WhatsApp messages which send to a contact. Typing indicators are sent using a message_id
from an incoming message. To get
the message_id
of the most recent incoming message on a stub use ~~stub.data._incoming_whatsapp_data.whatsapp_body.id
The WhatsApp typing indicator will display for 25 seconds or until a message has been sent to the recipient.
required array
message_ids The message ids to send the typing indicator for. The message id must come from an incoming messsage. To send
a typing indicator to the most recent reply to the stub use ~~stub.data._incoming_whatsapp_data.whatsapp_body.id
WhatsApp Typing Inidcator Result
Properties
message_id
An array of all the message_ids
that have received a typing indicator.