Merge pull request #363 from aliazhar-id/aliazhar-patch-2

Feat: add authors who perform participant updates
This commit is contained in:
Rajeh Taher
2024-01-01 01:28:07 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ export type BaileysEventMap = {
'groups.upsert': GroupMetadata[]
'groups.update': Partial<GroupMetadata>[]
/** apply an action to participants in a group */
'group-participants.update': { id: string, participants: string[], action: ParticipantAction }
'group-participants.update': { id: string, author: string, participants: string[], action: ParticipantAction }
'blocklist.set': { blocklist: string[] }
'blocklist.update': { blocklist: string[], type: 'add' | 'remove' }