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