tock / ai.tock.bot.connector.media / MediaCarousel

# MediaCarousel

`data class MediaCarousel : MediaMessage` (source)

A list of MediaCard.

### Constructors

#### <init> | A list of MediaCard. `MediaCarousel(cards: List<MediaCard>)`

### Properties

#### cards | `val cards: List<MediaCard>`

### Functions

#### checkValidity | Returns true if the media is valid. `fun checkValidity(): Boolean`
#### toGenericMessage | Returns a GenericMessage view of this MediaMessage if supported. `fun toGenericMessage(): GenericMessage?`