update README.md, added the events to the Handling Events section

This commit is contained in:
Rafael Garcia
2023-05-14 13:55:37 -05:00
parent da96212c2a
commit 464ffd23b4

View File

@@ -240,6 +240,8 @@ export type BaileysEventMap = {
'chats.update': Partial<Chat>[]
/** delete chats with given ID */
'chats.delete': string[]
'labels.association': LabelAssociation
'labels.edit': Label
/** presence of contact in a chat updated */
'presence.update': { id: string, presences: { [participant: string]: PresenceData } }