Skip to content

ImageResponseCardDict

Dictionary Type

ImageResponseCardDict

Bases: TypedDict

Dictionary form of ImageResponseCard.

Attributes

buttons instance-attribute
buttons: Sequence[Button | ButtonDict] | None

A list of buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button.

image_url instance-attribute
image_url: str | None

The URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.

subtitle instance-attribute
subtitle: str | None

The subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.

title instance-attribute
title: Required[str]

The title to display on the response card. The format of the title is determined by the platform displaying the response card.