From fd37f8b4f307adb5e6ec638a84d2478e2618b935 Mon Sep 17 00:00:00 2001 From: piLovr <95534694+piLovr@users.noreply.github.com> Date: Thu, 31 Aug 2023 09:58:24 +0200 Subject: [PATCH] Update GroupMetadata.ts --- src/Types/GroupMetadata.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Types/GroupMetadata.ts b/src/Types/GroupMetadata.ts index 19c5665..bcb8f4a 100644 --- a/src/Types/GroupMetadata.ts +++ b/src/Types/GroupMetadata.ts @@ -20,6 +20,12 @@ export interface GroupMetadata { restrict?: boolean /** is set when the group only allows admins to write messages */ announce?: boolean + /** is set when the group also allows members to add participants */ + memberAddMode?: boolean + /** is this a community */ + isCommunity?: boolean + /** is this the announce of a community */ + isCommunityAnnounce?: boolean /** number of group participants */ size?: number // Baileys modified array @@ -40,4 +46,4 @@ export interface WAGroupCreateResponse { export interface GroupModificationResponse { status: number participants?: { [key: string]: {} } -} \ No newline at end of file +}