tock / ai.tock.bot.connector.media / MediaAction

MediaAction

data class MediaAction : MediaMessage (source)

A MediaMessage action.

Constructors

<init>

A MediaMessage action.

MediaAction(title: CharSequence, url: String? = null)

Properties

title

val title: CharSequence

url

var url: String?

Functions

toGenericMessage

Returns a GenericMessage view of this MediaMessage if supported.

fun toGenericMessage(): GenericMessage?