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

SlackMessageOut

data class SlackMessageOut : SlackConnectorMessage (source)

Constructors

<init>

SlackMessageOut(text: String, channel: String? = null, attachments: List<SlackMessageAttachment> = emptyList())

Properties

attachments

val attachments: List<SlackMessageAttachment>

channel

val channel: String?

text

val text: String

Functions

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?