Text message

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": "{{CONTACT_ID}}",
  • "message": {
    • "text_message": {
      }
    }
}

Text message schema

A text message can take the following parameters and properties. Required parameters are marked.

text
required
string

The text to be sent.

The following sections give examples of how card messages are rendered in each channel and specific parameter support:

WhatsApp

WhatsApp channel natively supports text messages. The following image gives an example of a text message.

Text Message

SMS

SMS channel natively supports text messages. The following image gives an example of a text message.

Text Message

Facebook Messenger

Facebook Messenger supports text messages natively. The following image gives an example of a text message.

Text Message

Instagram

Instagram supports text messages natively. The following image gives an example of a text message.

Text Message

Apple Messages for Business

Apple Messages for Business supports text messages natively.

Text Message

MMS

MMS channel supports text messages natively.

The following image gives an example of a text message.

Text Message

RCS

RCS channel natively supports Text Messages. The following image gives an example of a text message.

Text Message

Viber Bot

Viber Bot channel natively supports text messages. The following image gives an example of a text message.

Text Message

Viber Business Messages

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.

FormatMarkdownString to be sentAppearance on message
BoldOne asterisk at each end of the text: **This text will be bold*This text will be bold
ItalicsOne underscore at each end of the text: __This text will be in italics_This text will be in italics
MonospaceThree backticks at each end of the text: backtickbacktickbacktickbacktickbacktickbacktickThis text will be in monospacebacktickbacktickbacktickThis text will be in monospace
StrikethroughOne tilde at each end of the text: ~~This text will have a strikethrough~This text will have a strikethrough

The following image gives an example of a text message:

Text Message

Telegram

Telegram Bot channel natively supports text messages.

Text Message

KakaoTalk

KakaoTalk supports text messages natively. The text of the Text message has a maximum length of 1000 characters.

LINE

LINE channel natively supports text messages.

Text Message

WeChat

WeChat channel natively supports text messages.

Text Message

Was this page helpful?