- createGroup(groupName, participants, ephemeral?, parentGroup?): Promise<{
participants: {
error: string;
invite_code: string | null;
invite_code_exp: string | null;
wid: Wid;
}[];
wid: Wid;
}> Parameters
- groupName: string
- participants: Wid[]
Optional
ephemeral: numberOptional
parentGroup: Wid
Returns Promise<{
participants: {
error: string;
invite_code: string | null;
invite_code_exp: string | null;
wid: Wid;
}[];
wid: Wid;
}>
- createGroup(options, participants): Promise<{
participants: {
error: string;
invite_code: string | null;
invite_code_exp: string | null;
wid: Wid;
}[];
wid: Wid;
}> Parameters
- options: {
announce: boolean;
ephemeralDuration: number;
memberAddMode: boolean;
membershipApprovalMode: boolean;
parentGroupId?: Wid;
restrict: boolean;
title: string;
}announce: boolean
ephemeralDuration: number
memberAddMode: boolean
membershipApprovalMode: boolean
Optional
parentGroupId?: Wid
restrict: boolean
title: string
- participants: Wid[]
Returns Promise<{
participants: {
error: string;
invite_code: string | null;
invite_code_exp: string | null;
wid: Wid;
}[];
wid: Wid;
}>
Whatsapp
247355