Message

Message Component

Message component sends a message to the user — text, signs, or emojis.

Text Formatting

On Telegram you can format text using HTML:
<b>This sentence should be in bold</b>

<i>This sentence should be in italics</i>

<code>This text should be displayed as code</code>

<s>This text should be strikethrough</s>

<u>This text should be underlined</u>

<pre language="javascript">  
  And this text 
  should support multi-line 
  code formatting
</pre>
A hyperlink (a link in the text) can be created as follows:
<a href="{{link}}">link text</a>
Where {{link}} is the link.
Example:
<a href="https://vk.com/botmother">Our community on VK</a>
On Facebook formatting works only in the web version:
*This sentence should be in bold*
_This sentence should be in italics_
~This text should be strikethrough~
```This text should be formatted as code, in a monospaced font```
On Viber:
*This sentence should be in bold*
_This sentence should be in italics_
~This text should be strikethrough~
```This text should be formatted as code, in a monospaced font```
On WhatsApp:
*This sentence should be in bold*
_This sentence should be in italics_
~This text should be strikethrough~
```This text should be formatted as code, in a monospaced font```
On Odnoklassniki:
*This sentence should be in bold*
_This sentence should be in italics_
`This text should be formatted as code, in a monospaced font`
VK и Instagram does not support text formatting.

Text Length in Different Platforms

Telegram, VK, Odnoklassniki and WhatsApp (Edna) support a maximum of 4096 characters of the Latin alphabet. If there is more — a message just will not come, but it will be displayed in the Dialogs.
Facebook accepts text of any length, but cuts it after 1999 characters (including the ellipsis at the end).
WhatsApp (Pact) accepts at least 14 000 characters in Cyrillic and Latin letters.
Viber supports 7000 characters of the Latin alphabet and about 5700 characters in Cyrillic.