Message with Styled Sidebar

The sidebar which has a default color of blue can be changed to any Hex color code.

In order to style the sidebar, the parent object in the body array must be of type section. Inside the sections array you can add your message type.

To see the style options reference the Full JSON Schema below.

Example
Example

Example’s JSON

{
  "head": {
    "text": "I am a header",
    "sub_head": {
      "text": "I am a sub header"
    }
  },
  "body": [
    {
      "type": "section",
      "sidebar_color": "#bada33",
      "sections": [
        {
          "type": "message",
          "text": "I am a message"
        }
      ]
    }
  ]
}
Full JSON Schema
expand to see details
object
head
object
body
array[object]

Need help?

The first place to look is on our Developer Forum. If you can't find the answer or your request includes sensitive information, contact Developer Support.