Optional
biz_opaque_callback_data: stringAn arbitrary 512B string, useful for tracking
The WhatsAppAPI.acceptCall return value
The connection call object
The user's phone number
Optional
nameThe username
Utility function for offloading code from the main thread, useful for long running tasks such as AI generation
The bot's phoneID
A method to easily preaccept the call, before establishing the WebRTC connection.
The WhatsAppAPI.preacceptCall return value
The raw data from the API
A method to easily reject the call, before establishing the WebRTC connection.
The WhatsAppAPI.rejectCall return value
A method to easily terminate the call, after establishing the WebRTC connection.
The WhatsAppAPI.rejectCall return value
The WhatsAppAPI instance that emitted the event
A method to easily accept the call after the WebRTC connection. It's strongly recommended to call OnCallArgs.preaccept first