delete chats with given ID
Settings and actions sync events
update the given chats
upsert chats
connection state has been updated -- WS closed, opened, connecting etc.
credentials updated -- some metadata, keys or something
apply an action to participants in a group
an inbound message failed to decrypt (emitted alongside the CIPHERTEXT stub in messages.upsert).
Lets apps observe decryption failures for metrics/alerting or to proactively reset a dead session,
without scraping logs. willRetry is true when Baileys will send a retry receipt for this failure.
message was reacted to. If reaction was removed -- then "reaction.text" will be falsey
add/update the given messages. If they were received while the connection was online, the update will have type: "notify" if requestId is provided, then the messages was received from the phone due to it being unavailable
set chats (history sync), everything is reverse chronologically sorted
signals history sync milestones (completion or stall) per sync type
progress === 100 was received from the server. when false, completion was inferred via timeout (no more chunks arriving).
the status of this sync phase
which sync phase this status refers to
Newsletter-related events
presence of contact in a chat updated
Receive an update on a call, including when the call was received, rejected, accepted