tock / ai.tock.bot.connector.messenger.model.send / MediaElement

# MediaElement

`data class MediaElement` (source)

See https://developers.facebook.com/docs/messenger-platform/reference/template/media.

### Constructors

#### <init> | See https://developers.facebook.com/docs/messenger-platform/reference/template/media. `MediaElement(mediaType: MediaType, attachmentId: String, buttons: List<Button>? = null)`

### Properties

#### attachmentId | `val attachmentId: String`
#### buttons | `val buttons: List<Button>?`
#### mediaType | `val mediaType: MediaType`

### Functions

#### toGenericElement | `fun toGenericElement(): GenericElement`