interface MediaMessage
(source)
A message that contains more than simple text and ca be (optionally) transformed by Connector to ConnectorMessage.
checkValidity |
Returns true if the media is valid. open fun checkValidity(): Boolean |
toGenericMessage |
Returns a GenericMessage view of this MediaMessage if supported. open fun toGenericMessage(): GenericMessage? |
MediaAction |
A MediaMessage action. data class MediaAction : MediaMessage |
MediaCard |
A media card. At least one of title, subTitle or file is not null. data class MediaCard : MediaMessage |
MediaCarousel |
A list of MediaCard. data class MediaCarousel : MediaMessage |