data.
chats.update and chats.upsert
chats.upsert indicates a chat created or received during sync;
chats.update indicates an update to an existing chat. Both events
have the same data format.
chats.upsert events go through a 2-second debounce per chat:
multiple consecutive updates to the same chat are grouped together.contacts.update and contacts.upsert
contacts.upsert indicates a contact created or received during sync;
contacts.update indicates an update to an existing contact. Both
events have the same data format.
contacts.upsert events go through a 2-second debounce per contact:
multiple consecutive updates to the same contact are grouped together.presence
Fired when a contact’s presence changes (online/offline, last
seen).
true when the contact is offline/unavailable; false when they are
online.The
presence event goes through a 5-second deduplication per contact and
state (online/offline): identical changes within that window do not produce
duplicate webhooks.