feat: handle call events

This commit is contained in:
Adhiraj Singh
2022-05-09 15:00:53 +05:30
parent 72aa8f9ea7
commit ae4aa67950
7 changed files with 119 additions and 11 deletions

View File

@@ -226,6 +226,8 @@ export type BaileysEventMap = {
'blocklist.set': { blocklist: string[] }
'blocklist.update': { blocklist: string[], type: 'add' | 'remove' }
/** Receive an update on a call, including when the call was received, rejected, accepted */
'call': WACallEvent[]
}
```