• Check if your account is allowed to remove participants

    Parameters

    • groupId: string | Wid
    • participantsIds: string | Wid | (string | Wid)[]

    Returns Promise<boolean>

    const result = await WPP.group.canRemove('group@g.us');
    console.log(result);