• Check if your account is allowed to demote participants

    Parameters

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

    Returns Promise<boolean>

    await WPP.group.canDemote('group@g.us');
    console.log(result);