data class MediaCarouselDescriptor : MediaMessageDescriptor (source)
The MediaCarousel descriptor.
<init> |
The MediaCarousel descriptor. MediaCarouselDescriptor(cards: List<MediaCardDescriptor>) |
cards |
val cards: List<MediaCardDescriptor> |
type |
The type of message. val type: MediaMessageType |
checkValidity |
Returns true if the media is valid. fun checkValidity(): Boolean |
toMessage |
Creates a MediaMessage for the specified BotBus. fun toMessage(bus: BotBus): MediaCarousel |