tock / ai.tock.bot.connector.twitter.model.outcoming / OutcomingEvent

OutcomingEvent

data class OutcomingEvent : TwitterConnectorMessage (source)

Constructors

<init>

OutcomingEvent(event: AbstractOutcomingEvent, attachmentData: AttachmentData? = null)

Properties

attachmentData

val attachmentData: AttachmentData?

event

val event: AbstractOutcomingEvent

Functions

playerId

fun playerId(playerType: PlayerType): PlayerId

recipientId

fun recipientId(playerType: PlayerType): PlayerId

toGenericMessage

Transforms this message into a generic GenericMessage.

fun toGenericMessage(): GenericMessage?

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?