tock / ai.tock.bot.connector.media / MediaCarouselDescriptor

# MediaCarouselDescriptor

`data class MediaCarouselDescriptor : MediaMessageDescriptor` (source)

The MediaCarousel descriptor.

### Constructors

#### <init> | The MediaCarousel descriptor. `MediaCarouselDescriptor(cards: List<MediaCardDescriptor>)`

### Properties

#### cards | `val cards: List<MediaCardDescriptor>`
#### type | The type of message. `val type: MediaMessageType`

### Functions

#### checkValidity | Returns true if the media is valid. `fun checkValidity(): Boolean`
#### toMessage | Creates a MediaMessage for the specified BotBus. `fun toMessage(bus: BotBus): MediaCarousel`