tock / ai.tock.bot.connector.slack.model / CallbackEvent

CallbackEvent

data class CallbackEvent : EventApiMessage (source)

An event callback.

Constructors

<init>

An event callback.

CallbackEvent(token: String, teamId: String, apiAppId: String, event: MessageEvent)

Properties

apiAppId

val apiAppId: String

event

val event: MessageEvent

teamId

val teamId: String

token

val token: String

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?