GitHub

whatsapp_update

API reference for whatsapp_update.

What WhatsApp reports beside messages (Effect's @effect/chat-whatsapp/WhatsAppUpdate): delivery statuses, a user's changed id, and the link between a phone number and a business-scoped user id. They go to the on_update of whatsapp_chat.layer_webhook and WhatsAppChatService.receive, not to the ChatHandler.

Values

AttributeTypeDescription
WHATSAPP_UPDATES.Bottom[WhatsAppUpdate]

The schema of any update.

Types

TypeDefinitionDescription
StatusValuetype StatusValue = Literal['sent', 'delivered', 'read', 'failed']
AliasStatustype AliasStatus = Literal['sent', 'delivered', 'read']
Changetype Change = Literal['user_changed_number', 'user_changed_user_id']
WhatsAppUpdatetype WhatsAppUpdate = Status | UserIdChanged | Alias

Any update.

Classes