- sendCreateGroup(
groupName: string,
participants: Wid[],
ephemeral?: number,
parentGroup?: Wid,
): Promise<
{
gid: Wid;
participants: (
| {
[key: `${number}@c.us`]: {
code: string;
invite_code: string
| null;
invite_code_exp: string | null;
};
}
| {
code: string;
invite_code: string
| null;
invite_code_exp: string | null;
userWid: Wid;
}
)[];
},
> Parameters
- groupName: string
- participants: Wid[]
Optional
ephemeral: numberOptional
parentGroup: Wid
Returns Promise<
{
gid: Wid;
participants: (
| {
[key: `${number}@c.us`]: {
code: string;
invite_code: string
| null;
invite_code_exp: string | null;
};
}
| {
code: string;
invite_code: string
| null;
invite_code_exp: string | null;
userWid: Wid;
}
)[];
},
>
Whatsapp
79583