AudioCard Class
Audio card.
Constructor
pydantic model AudioCard
Parameters
| Name | Description |
|---|---|
|
title
Required
|
Title of this card |
|
subtitle
Required
|
Subtitle of this card |
|
text
Required
|
Text of this card |
|
image
Required
|
Thumbnail placeholder |
|
media
Required
|
Media URLs for this card. When this field contains more than one URL, each URL is an alternative format of the same content. |
|
buttons
Required
|
Actions on this card |
|
shareable
Required
|
This content may be shared with others (default:true) |
|
autoloop
Required
|
Should the client loop playback at end of content (default:true) |
|
autostart
Required
|
Should the client automatically start playback of media in this card (default:true) |
|
aspect
Required
|
Aspect ratio of thumbnail/media placeholder. Allowed values are "16:9" and "4:3" |
|
duration
Required
|
Describes the length of the media content without requiring a receiver to open the content. Formatted as an ISO 8601 Duration field. |
|
value
Required
|
Supplementary parameter for this card |
Keyword-Only Parameters
| Name | Description |
|---|---|
|
title
|
Default value: None
|
|
subtitle
|
Default value: None
|
|
text
|
Default value: None
|
|
image
|
Default value: None
|
|
media
|
Default value: None
|
|
buttons
|
Default value: None
|
|
shareable
|
Default value: None
|
|
autoloop
|
Default value: None
|
|
autostart
|
Default value: None
|
|
aspect
|
Default value: None
|
|
duration
|
Default value: None
|
|
value
|
Default value: None
|
Attributes
aspect
field aspect: str = None
autoloop
field autoloop: bool = None
autostart
field autostart: bool = None
buttons
field buttons: list[CardAction] = None
duration
field duration: str = None
image
field image: ThumbnailUrl = None
media
field media: list[MediaUrl] = None
shareable
field shareable: bool = None
subtitle
field subtitle: str = None
text
field text: str = None
title
field title: str = None
value
field value: object = None