mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
Update GroupMetadata.ts
This commit is contained in:
@@ -20,6 +20,12 @@ export interface GroupMetadata {
|
|||||||
restrict?: boolean
|
restrict?: boolean
|
||||||
/** is set when the group only allows admins to write messages */
|
/** is set when the group only allows admins to write messages */
|
||||||
announce?: boolean
|
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 */
|
/** number of group participants */
|
||||||
size?: number
|
size?: number
|
||||||
// Baileys modified array
|
// Baileys modified array
|
||||||
@@ -40,4 +46,4 @@ export interface WAGroupCreateResponse {
|
|||||||
export interface GroupModificationResponse {
|
export interface GroupModificationResponse {
|
||||||
status: number
|
status: number
|
||||||
participants?: { [key: string]: {} }
|
participants?: { [key: string]: {} }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user