Multiple sections
You can use messages of type sectionto group different message types. This feature is useful when you want to have multiple sidebars with different colors or footers to group your message content.
Inside the sections array you can add your message type.
Example

JSON example
{
"head": {
"text": "I am a header",
"sub_head": {
"text": "I am a sub header"
}
},
"body": [
{
"type": "section",
"sidebar_color": "#ffffff",
"sections": [
{
"type": "message",
"text": "I am a message with text"
}
],
"footer": "I am a footer",
"footer_icon": "https://d24cgw3uvb9a9h.cloudfront.net/static/93516/image/new/ZoomLogo.png",
"ts": 1560446471819
},
{
"type": "section",
"sidebar_color": "#F56416",
"sections": [
{
"type": "message",
"text": "I am a message with text"
}
],
"footer": "I am a footer",
"footer_icon": "https://upload.wikimedia.org/wikipedia/en/thumb/5/58/San_Francisco_Giants_Logo.svg/1200px-San_Francisco_Giants_Logo.svg.png",
"ts": 1560446471819
}
]
}