tock / ai.tock.bot.connector.whatsapp.model.webhook / WhatsAppMessages

# WhatsAppMessages

`data class WhatsAppMessages : ConnectorMessage` (source)

See https://developers.facebook.com/docs/whatsapp/api/webhooks/inbound#message-obj.

### Constructors

#### <init> | See https://developers.facebook.com/docs/whatsapp/api/webhooks/inbound#message-obj. `WhatsAppMessages(messages: List<WhatsAppMessage> = emptyList(), statuses: List<WhatsAppStatus> = emptyList(), errors: List<WhatsAppError> = emptyList(), contacts: List<WhatsAppContact> = emptyList())`

### Properties

#### connectorType | The connector type. `val connectorType: ConnectorType`
#### contacts | `val contacts: List<WhatsAppContact>`
#### errors | `val errors: List<WhatsAppError>`
#### messages | `val messages: List<WhatsAppMessage>`
#### statuses | `val statuses: List<WhatsAppStatus>`

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