Function getGroupInfoFromInviteCode

  • Get group info from an inviteCode

    Parameters

    • inviteCode: string

    Returns Promise<{
        announce: boolean;
        creation: number;
        desc: string;
        descId: string;
        descOwner: undefined | string;
        descTime: number;
        id: string;
        noFrequentlyForwarded: boolean;
        owner: undefined | string;
        parent: boolean;
        participants: {
            id: string;
            isAdmin: boolean;
            isSuperAdmin: boolean;
        }[];
        pvId?: string;
        restrict: boolean;
        size: number;
        status: number;
        subject: string;
        subjectOwner: undefined | string;
        subjectTime: number;
        support: boolean;
        suspended: boolean;
    }>

    await WPP.group.getGroupInfoFromInviteCode('<inviteCode>');