Hero Content (Object)

This is the first visual content that a user encounters when the user views a rich message. This can be an image or a video.

{
    "type": "image",
    "url": "IMAGE_URL_GOES_HERE",
    "alt_text": "Fries",
    "initial_frame": ""
}
  • Alternate text that appears if the app cannot render the hero content of the message

  • The initial frame or first frame is what appears behind the play button before a user taps it to start playing the video.

  • Hero content can be an image or a video.

  • The URL of the image/video that will be used as the hero content in a rich message