A text message is a plain text message. You can send a text message by making a POST
request to the /messages:send
Conversation API endpoint with the following payload:
{
"app_id": "{APP_ID}",
"recipient": {
"identified_by": {
"channel_identities": [
{
"channel": "{CHANNEL}",
"identity": "{IDENTITY}"
}
]
}
},
"message": {
"text_message": {
"text": "This is a text message."
}
}
}
A text message can take the following parameters and properties. Required parameters are marked.
The following sections give examples of how card messages are rendered in each channel and specific parameter support:
WhatsApp channel natively supports text messages. You can include a maximum of 4096 characters in a single text message.
This character limit applies to generic messages sent on the WhatsApp channel, which can only be sent during a customer customer care session. Approved template messages with text-only bodies can include up to 32768 characters.
The following image gives an example of a text message.
SMS channel natively supports text messages. The following image gives an example of a text message.
Facebook Messenger supports text messages natively. The following image gives an example of a text message.
Instagram supports text messages natively. The following image gives an example of a text message.
MMS channel supports text messages natively.
The following image gives an example of a text message.
The RCS channel natively supports text messages. You can include a maximum of 2000 characters in the text message. The following image gives an example of a text message:
The Viber Business Messages channel natively supports text messages. The maximum length of a text message is 1000 characters. Longer content will be truncated. Texts can be formatted with markdown.
Format | Markdown | String to be sent | Appearance on message |
---|---|---|---|
Bold | One asterisk at each end of the text: * | *This text will be bold* | This text will be bold |
Italics | One underscore at each end of the text: _ | _This text will be in italics_ | This text will be in italics |
Monospace | Three backticks at each end of the text: ![]() ![]() ![]() | ![]() ![]() ![]() ![]() ![]() ![]() | This text will be in monospace |
Strikethrough | One tilde at each end of the text: ~ | ~This text will have a strikethrough~ |
The following image gives an example of a text message:
Telegram Bot channel natively supports text messages.
When sending text messages on the Telegram Bot channel, you can use Markdown syntax in the text content. See Telegram Bot channel Markdown support for more information.
The following image provides an example of a text message:
KakaoTalk supports text messages natively. The text of the Text message has a maximum length of 1000 characters.
LINE channel natively supports text messages.
WeChat channel natively supports text messages.