Skip to content

MediaItem

Source code in docs_src/capo_connect/types/media_item.py
class MediaItem(TypedDict, closed=True):
    type: NotRequired["capo_connect.types.media_type.MediaType"]
    """<p>The type of media. Valid values are: <code>IMAGE_LOGO_FAVICON</code> and <code>IMAGE_LOGO_HORIZONTAL</code>.</p>"""
    source: NotRequired["capo_connect.types.media_source.MediaSource"]
    """<p>The source URL or data for the media asset.</p>"""

source instance-attribute

source: NotRequired[MediaSource]

The source URL or data for the media asset.

type instance-attribute

type: NotRequired[MediaType]

The type of media. Valid values are: IMAGE_LOGO_FAVICON and IMAGE_LOGO_HORIZONTAL.