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

# WhatsAppBotMessage

`abstract class WhatsAppBotMessage : ConnectorMessage` (source)

### Constructors

#### <init> | `WhatsAppBotMessage(type: WhatsAppBotMessageType, userId: String?)`

### Properties

#### connectorType | The connector type. `open val connectorType: ConnectorType`
#### recipientType | `abstract val recipientType: WhatsAppBotRecipientType`
#### to | `val to: String`
#### type | `val type: WhatsAppBotMessageType`

### 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

#### WhatsAppBotImageMessage | `data class WhatsAppBotImageMessage : WhatsAppBotMessage`
#### WhatsAppBotInteractiveMessage | `data class WhatsAppBotInteractiveMessage : WhatsAppBotMessage`
#### WhatsAppBotTextMessage | `data class WhatsAppBotTextMessage : WhatsAppBotMessage`