tock / ai.tock.bot.connector.messenger.model.send / Message

Message

abstract class Message : MessengerConnectorMessage (source)

Constructors

<init>

Message(quickReplies: List<QuickReply>? = null)

Properties

quickReplies

val quickReplies: List<QuickReply>?

Functions

copy

abstract fun copy(quickReplies: List<QuickReply>? = null): Message

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

AttachmentMessage

class AttachmentMessage : Message

TextMessage

class TextMessage : Message