Skip to content

GenericAttachment

Source code in docs_src/capo_lex_runtime_service/types/generic_attachment.py
class GenericAttachment(TypedDict, closed=True):
    title: NotRequired[
        "capo_lex_runtime_service.types.string_with_length.StringWithLength"
    ]
    """<p>The title of the option.</p>"""
    sub_title: NotRequired[
        "capo_lex_runtime_service.types.string_with_length.StringWithLength"
    ]
    """<p>The subtitle shown below the title.</p>"""
    attachment_link_url: NotRequired[
        "capo_lex_runtime_service.types.string_url_with_length.StringUrlWithLength"
    ]
    """<p>The URL of an attachment to the response card.</p>"""
    image_url: NotRequired[
        "capo_lex_runtime_service.types.string_url_with_length.StringUrlWithLength"
    ]
    """<p>The URL of an image that is displayed to the user.</p>"""
    buttons: NotRequired["capo_lex_runtime_service.types.list_of_buttons.listOfButtons"]
    """<p>The list of options to show to the user.</p>"""
attachment_link_url: NotRequired[StringUrlWithLength]

The URL of an attachment to the response card.

buttons instance-attribute

buttons: NotRequired[listOfButtons]

The list of options to show to the user.

image_url instance-attribute

image_url: NotRequired[StringUrlWithLength]

The URL of an image that is displayed to the user.

sub_title instance-attribute

sub_title: NotRequired[StringWithLength]

The subtitle shown below the title.

title instance-attribute

title: NotRequired[StringWithLength]

The title of the option.