Feat: add authors who perform participant updates

This commit is contained in:
aliazhar
2023-09-03 14:41:08 +07:00
parent cd8542ff7c
commit 55cae0e45f
2 changed files with 2 additions and 2 deletions

View File

@@ -50,7 +50,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' }