• Check if your account is allowed to promote participants

    Parameters

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

    Returns Promise<boolean>

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