Skip to content

MediaElement

Source code in docs_src/capo_notifications/types/media_element.py
class MediaElement(TypedDict, closed=True):
    media_id: "capo_notifications.types.media_id.MediaId"
    """<p>The unique ID for the media.</p>"""
    type: "capo_notifications.types.media_element_type.MediaElementType"
    """<p>The type of media.</p>"""
    url: "capo_notifications.types.url.Url"
    """<p>The URL of the media.</p>"""
    caption: "capo_notifications.types.text_part_reference.TextPartReference"
    """<p>The caption of the media.</p>"""

caption instance-attribute

The caption of the media.

media_id instance-attribute

media_id: MediaId

The unique ID for the media.

type instance-attribute

The type of media.

url instance-attribute

url: Url

The URL of the media.