mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
docs: too many tabs in code preview (#1453)
handling events, connection.update
This commit is contained in:
committed by
GitHub
parent
032dcbc17a
commit
6d4fc87169
@@ -189,7 +189,7 @@ The events are typed up in a type map, as mentioned here:
|
||||
|
||||
export type BaileysEventMap = {
|
||||
/** connection state has been updated -- WS closed, opened, connecting etc. */
|
||||
'connection.update': Partial<ConnectionState>
|
||||
'connection.update': Partial<ConnectionState>
|
||||
/** auth credentials updated -- some pre key state, device ID etc. */
|
||||
'creds.update': Partial<AuthenticationCreds>
|
||||
/** set chats (history sync), chats are reverse chronologically sorted */
|
||||
|
||||
Reference in New Issue
Block a user