feat: catch groups create notification

This commit is contained in:
Adhiraj Singh
2021-11-10 19:46:25 +05:30
parent 3e54741042
commit 469f3451d2
3 changed files with 23 additions and 6 deletions

View File

@@ -120,6 +120,7 @@ export type BaileysEventMap = {
'message-info.update': MessageInfoUpdate[]
'groups.upsert': GroupMetadata[]
'groups.update': Partial<GroupMetadata>[]
/** apply an action to participants in a group */
'group-participants.update': { id: string, participants: string[], action: ParticipantAction }