MESSAGE Block
Choose a tool for developing with an AI agent:
- use Alaio Vibecode to build an app for Bitrix24 from a task description without knowing any programming language. The agent writes the code and deploys the app to a server, with no manual hosting setup
- use the MCP server to develop a REST API integration in your own project. The agent refers to the official REST documentation
The MESSAGE block displays the text part of an attachment: a title, an explanation, or a comment. Pass the block as an element of the attachment's BLOCKS array — general rules and limits are described on the Attachments in Messages ATTACH page.
For name–value pairs, use the GRID block. For a standalone link card with a description and a preview, use the LINK block.

Block Parameters
|
Name |
Description |
|
MESSAGE* |
Text of the block. Supports BB codes |
Supported BB Codes
The codes in the table work in the web client. In attachment blocks, the mobile app parses only mentions, actions, and line breaks and displays the other codes as plain text. Tags are case-insensitive: [B] and [b] are equivalent.
|
Code |
Purpose |
Example |
Mobile App |
|
|
Mention a user with a link to their profile in the chat |
|
Yes |
|
|
Link to the chat |
|
Yes |
|
|
Clickable action "send text to chat" |
|
Yes |
|
|
Clickable action "insert text into input field" |
|
Yes |
|
|
Clickable action for making a call |
|
Yes |
|
|
Line break |
|
Yes |
|
|
Bold text |
|
No |
|
|
Underlined text |
|
No |
|
|
Italic text |
|
No |
|
|
Strikethrough text |
|
No |
|
|
Link |
|
No |
In an attachment, the web client also handles the other codes from the Text Formatting (BB Codes) article, such as [SIZE], [COLOR], and [CODE]. The full syntax is described there as well.
Example
How to Use Examples in Documentation
The example shows a single element of the BLOCKS array. Clicking "Subscribe to news" sends the text /subscribe to the chat.
{
MESSAGE: 'The API will be available in the update [B]im 24.0.0[/B][BR][SEND=/subscribe]Subscribe to news[/SEND]'
}
block = {
"MESSAGE": "The API will be available in the [B]im 24.0.0[/B] update[BR][SEND=/subscribe]Subscribe to news[/SEND]",
}
[
'MESSAGE' => 'The API will be available in the update [B]im 24.0.0[/B][BR][SEND=/subscribe]Subscribe to news[/SEND]'
]