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

# ButtonPayload

`data class ButtonPayload : ModelPayload` (source)

See https://developers.facebook.com/docs/messenger-platform/send-messages/template/button

### Constructors

#### <init> | See https://developers.facebook.com/docs/messenger-platform/send-messages/template/button `ButtonPayload(text: String, buttons: List<Button>)`

### Properties

#### buttons | `val buttons: List<Button>`
#### text | `val text: String`

### Functions

#### obfuscate | `fun obfuscate(): Payload`
#### toGenericMessage | `fun toGenericMessage(): GenericMessage?`