• Remove groups from community

    Parameters

    • parentGroupId: string | Wid
    • subgroupIds: string | Wid | (string | Wid)[]

    Returns Promise<{
        failedGroups: {
            error: string;
            jid: string;
        }[];
        linkedGroupJids: string[];
    }>

    await WPP.community.sendUnlinkSubgroups('123456@g.us', ['123456@g.us', '123456@g.us']);