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

ListPayload

data class ListPayload : ModelPayload (source)

See https://developers.facebook.com/docs/messenger-platform/send-api-reference/list-template

Constructors

<init>

See https://developers.facebook.com/docs/messenger-platform/send-api-reference/list-template

ListPayload(elements: List<Element>, topElementStyle: ListElementStyle?, buttons: List<Button>?)

Properties

buttons

val buttons: List<Button>?

elements

val elements: List<Element>

topElementStyle

val topElementStyle: ListElementStyle?

Functions

obfuscate

fun obfuscate(): Payload

toGenericMessage

fun toGenericMessage(): GenericMessage?