tock / ai.tock.bot.connector.messenger.model / MessengerConnectorMessage

MessengerConnectorMessage

abstract class MessengerConnectorMessage : ConnectorMessage (source)

Constructors

<init>

MessengerConnectorMessage()

Properties

connectorType

The connector type.

open val connectorType: ConnectorType

Functions

findElements

Find Elements if any.

open fun findElements(): List<Element>

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?

Inheritors

Message

abstract class Message : MessengerConnectorMessage

Webhook

abstract class Webhook : MessengerConnectorMessage