tock / ai.tock.bot.connector.messenger.model.handover / PassThreadControlWebhook

PassThreadControlWebhook

data class PassThreadControlWebhook : Webhook (source)

See https://developers.facebook.com/docs/messenger-platform/reference/webhook-events/messaging_handovers#pass_thread_control.

Constructors

<init>

See https://developers.facebook.com/docs/messenger-platform/reference/webhook-events/messaging_handovers#pass_thread_control.

PassThreadControlWebhook(sender: Sender, recipient: Recipient, timestamp: Long, passThreadControl: PassThreadControl)

Properties

passThreadControl

val passThreadControl: PassThreadControl

recipient

val recipient: Recipient

sender

val sender: Sender

timestamp

val timestamp: Long

Extension Functions

asGenericMessage

fun ConnectorMessage.asGenericMessage(assertionCreator: Assert<GenericMessage>.() -> Unit): Unit

findTransactionDecisionValueV3

Return a GATransactionDecisionValueV3 if available.

fun ConnectorMessage.findTransactionDecisionValueV3(): GATransactionDecisionValueV3?

findTransactionRequirementsCheckResultV3

Return a GATransactionRequirementsCheckResultV3 if available.

fun ConnectorMessage.findTransactionRequirementsCheckResultV3(): GATransactionRequirementsCheckResultV3?