Skip to content

ImageResponseCard

Source code in docs_src/capo_lex_runtime_v2/types/image_response_card.py
class ImageResponseCard(TypedDict, closed=True):
    title: "capo_lex_runtime_v2.types.attachment_title.AttachmentTitle"
    """<p>The title to display on the response card. The format of the title is determined by the platform displaying the response card.</p>"""
    subtitle: NotRequired["capo_lex_runtime_v2.types.attachment_title.AttachmentTitle"]
    """<p>The subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.</p>"""
    image_url: NotRequired["capo_lex_runtime_v2.types.attachment_url.AttachmentUrl"]
    """<p>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.</p>"""
    buttons: NotRequired["capo_lex_runtime_v2.types.buttons_list.ButtonsList"]
    """<p>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.</p>"""

buttons instance-attribute

buttons: NotRequired[ButtonsList]

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: NotRequired[AttachmentUrl]

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: NotRequired[AttachmentTitle]

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

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