data class MediaCardDescriptor : MediaMessageDescriptor
(source)
The MediaCard descriptor.
<init> |
The MediaCard descriptor. MediaCardDescriptor(title: I18nLabelValue?, subTitle: I18nLabelValue?, file: MediaFileDescriptor?, actions: List<MediaActionDescriptor> = emptyList(), fillCarousel: Boolean = false) |
actions |
val actions: List<MediaActionDescriptor> |
file |
val file: MediaFileDescriptor? |
fillCarousel |
val fillCarousel: Boolean |
subTitle |
val subTitle: I18nLabelValue? |
title |
val title: I18nLabelValue? |
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): MediaCard |