Send text

Send a text message.

If alternatives contains multiple elements then a random message will be chosen and sent to interlocutor.

If you want to send multiple text messages to the interlocutor, you will have to use multiple send_text_action actions.

Available on :

  • all platforms

Attribute

Type

Required

Description

type

string

always send_text_action

alternatives

array

a list of text messages (message_length<=500, messages_count<=10)

{
    "type": "send_text_action",
    "alternatives": ["Hello", "Hi"]
}