fix group metadata fetch

This commit is contained in:
Adhiraj Singh
2021-09-26 23:15:57 +05:30
parent 8988694d34
commit 4aaf7b6a48
3 changed files with 8 additions and 8 deletions

View File

@@ -13,9 +13,9 @@ export interface GroupMetadata {
descOwner?: string
descId?: string
/** is set when the group only allows admins to change group settings */
restrict?: 'true' | 'false'
restrict?: boolean
/** is set when the group only allows admins to write messages */
announce?: 'true' | 'false'
announce?: boolean
// Baileys modified array
participants: GroupParticipant[]
ephemeralDuration?: number