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

EventApiMessage

abstract class EventApiMessage : SlackConnectorMessage (source)

Event API base class.

Constructors

<init>

Event API base class.

EventApiMessage()

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

CallbackEvent

An event callback.

data class CallbackEvent : EventApiMessage

InteractiveMessageEvent

data class InteractiveMessageEvent : EventApiMessage

UrlVerificationEvent

Url verification event - see https://api.slack.com/events/url_verification

data class UrlVerificationEvent : EventApiMessage