Function sendAddParticipants
- sendAddParticipants(
group: Wid,
participants: (Wid | { lid?: Wid; phoneNumber: Wid })[],
): Promise<
{
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;
}
)[];
status: number;
[key: `${number}@c.us`]: number;
},
> Parameters
- group: Wid
- participants: (Wid | { lid?: Wid; phoneNumber: Wid })[]
Returns Promise<
{
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;
}
)[];
status: number;
[key: `${number}@c.us`]: number;
},
>
Whatsapp
437722 >= 2.2222.8