The messages object
Optional
name?: stringThe username
Utility function for offloading code from the main thread, useful for long running tasks such as AI generation
The bot's phoneID
The raw data from the API
A method to easily reply to the user who sent the message
The message to send as a reply
Optional
context: booleanWether to mention the current message, defaults to false
Optional
biz_opaque_callback_data: stringAn arbitrary 512B string, useful for tracking
The WhatsAppAPI.sendMessage return value
The WhatsAppAPI instance that emitted the event
The user's phone number