• Check if your account is allowed to demote participants

    Parameters

    Returns Promise<boolean>

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