Image

  • Images displayed in a card are represented by a JSON object with fields for the image URL, accessibility text, height, and width.

  • The image URL and accessibility text are required fields for an image object.

  • Optional fields for an image object include the height and width of the image in pixels.

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.