tock / ai.tock.bot.connector.media / MediaActionDescriptor

# MediaActionDescriptor

`data class MediaActionDescriptor : MediaMessageDescriptor` (source)

Descriptor for MediaAction.

### Constructors

#### <init> | Descriptor for MediaAction. `MediaActionDescriptor(title: I18nLabelValue, url: String? = null)`

### Properties

#### title | `val title: I18nLabelValue`
#### type | The type of message. `val type: MediaMessageType`
#### url | `var url: String?`

### Functions

#### toMessage | Creates a MediaMessage for the specified BotBus. `fun toMessage(bus: BotBus): MediaAction`