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

# Element

`data class Element` (source)

List or generic template subElements.

### Constructors

#### <init> | List or generic template subElements. `Element(title: String, imageUrl: String? = null, subtitle: String? = null, buttons: List<Button>? = null)`

### Properties

#### buttons | `val buttons: List<Button>?`
#### imageUrl | `val imageUrl: String?`
#### subtitle | `val subtitle: String?`
#### title | `val title: String`

### Functions

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