tock / ai.tock.bot.connector.whatsapp.model.send / WhatsAppBotImageMessage

WhatsAppBotImageMessage

data class WhatsAppBotImageMessage : WhatsAppBotMessage (source)

Constructors

<init>

WhatsAppBotImageMessage(image: WhatsAppBotAttachment, recipientType: WhatsAppBotRecipientType, userId: String? = null)

Properties

image

val image: WhatsAppBotAttachment

recipientType

val recipientType: WhatsAppBotRecipientType

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?