• Add groups do community

    Parameters

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

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

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