Content Grouping
Last updated
Last updated
MessageML supports the following tags for grouping information within a message:
Tag | Description | Optional attributes |
| Heading text. 6 levels. | • |
| Paragraph formatting. | • |
| Horizontal rule. | None. |
| Unordered or bullet list.
Cannot be empty, must contain at least one child | • |
| Numbered list.
Cannot be empty, must contain at least one child | • |
| Block of text.
• This tag can be used to specify visual styles, by adding a | • |
| Inserts a card. It contains two different sections:
• the | • |
| Inserts a card with new styles and multiple levels of display within the card | • |
Here after you can find an example of a message sent by a bot and containing these content grouping tags as well as the structure of the messageML sent:
Please note that you can use content grouping tags mixed with other messageML tags such as Interactive Elements Forms. See the following example including forms in expandable-cards.