Function getMembershipRequests

  • Retrieve a lista of a membership approval requests

    Parameters

    • groupId: string | Wid

    Returns Promise<
        {
            addedBy: Wid;
            id: Wid;
            parentGroupId?: Wid;
            requestMethod: "InviteLink"
            | "LinkedGroupJoin"
            | "NonAdminAdd";
            t: number;
        }[],
    >

    await WPP.group.getMembershipRequests(12345645@g.us);