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

# WhatsAppMessage

`abstract class WhatsAppMessage` (source)

### Constructors

#### <init> | `WhatsAppMessage(type: WhatsAppMessageType)`

### Properties

#### context | `abstract val context: WhatsAppContext?`
#### from | `abstract val from: String`
#### groupId | `abstract val groupId: String?`
#### id | `abstract val id: String`
#### timestamp | `abstract val timestamp: String`
#### type | `val type: WhatsAppMessageType`

### Inheritors

#### WhatsAppButtonMessage | `class WhatsAppButtonMessage : WhatsAppMessage`
#### WhatsAppDocumentMessage | `data class WhatsAppDocumentMessage : WhatsAppMessage`
#### WhatsAppImageMessage | `data class WhatsAppImageMessage : WhatsAppMessage`
#### WhatsAppLocationMessage | `data class WhatsAppLocationMessage : WhatsAppMessage`
#### WhatsAppSystemMessage | `data class WhatsAppSystemMessage : WhatsAppMessage`
#### WhatsAppTextMessage | `data class WhatsAppTextMessage : WhatsAppMessage`
#### WhatsAppUnknownMessage | `data class WhatsAppUnknownMessage : WhatsAppMessage`
#### WhatsAppVoiceMessage | `data class WhatsAppVoiceMessage : WhatsAppMessage`