Message with Styled Text

The style object can be used to add styles to messages. You can set the color, boldness, and or italics of a text on a message.

Some message types support styles differently, or not at all. Please refer to each section for specific style options.

color can be any Hex color code, for example #bada55

bold has to be a boolean, for example true or false

italic has to be a boolean, for example true or false

Windows, Mac, and Android Zoom clients can render any combination of bold and italic simultaneously. But iOS cannot render italic when bold is true.

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

Example
Example

Example’s JSON

{
  "head": {
    "text": "I am a styled header",
    "style": {
      "color": "#8338EC",
      "bold": true,
      "italic": false
    },
    "sub_head": {
      "text": "I am a styled sub header",
      "style": {
        "color": "#13C4A3",
        "bold": false,
        "italic": true
      }
    }
  },
  "body": [
    {
      "type": "message",
      "text": "I am a message with styled text",
      "style": {
        "color": "#0099ff",
        "bold": false,
        "italic": false
      }
    }
  ]
}
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.