Content on this page might refer to the legacy Actions SDK. Refer to the main Conversational Actions documentation for guides and procedures that use Actions Builder and the current Actions SDK.

Image

An image displayed in the card.

JSON representation
{
  "url": string,
  "accessibilityText": string,
  "height": integer,
  "width": integer
}
Fields
url

string

The source url of the image. Images can be JPG, PNG and GIF (animated and non-animated). For example,https://www.agentx.com/logo.png. Required.

accessibilityText

string

A text description of the image to be used for accessibility, e.g. screen readers. Required.

height

integer

The height of the image in pixels. Optional.

width

integer

The width of the image in pixels. Optional.