Media object

Learn about the Media object used by the Automation Framework and Bot v3 API

Media objects can be included in a few different payload types sent with /bots/v3/respond. Messages can contain a media list, for example, and list pickers can reference image media.

{
  "url": "https://pics.example.com/image.jpg",
  "mediaType": "IMAGE"
}

Field

Description

url

The fully-qualified, publicly-available reference to the media

mediaType

IMAGE, VIDEO

title

Optional. A filename or title for the media. If not provided, the Automation Framework will attempt to extract a filename from the URL.