@wppconnect/wa-js - v3.19.3
    Preparing search index...

    Function createGroup

    • Parameters

      • options: {
            announce: boolean;
            ephemeralDuration: number;
            memberAddMode: boolean;
            membershipApprovalMode: boolean;
            parentGroupId?: Wid;
            restrict: boolean;
            title: string;
        }
      • participants: Wid[]

      Returns Promise<
          {
              participants: {
                  error: string;
                  invite_code: string
                  | null;
                  invite_code_exp: string | null;
                  wid: Wid;
              }[];
              wid: Wid;
          },
      >

      247355

    • Parameters

      • options: {
            announce: boolean;
            ephemeralDuration: number;
            memberAddMode: boolean;
            membershipApprovalMode: boolean;
            parentGroupId?: Wid;
            restrict: boolean;
            title: string;
        }
      • participants: { phoneNumber: Wid }[]

      Returns Promise<
          {
              participants: {
                  error: string;
                  invite_code: string
                  | null;
                  invite_code_exp: string | null;
                  wid: Wid;
              }[];
              wid: Wid;
          },
      >

      247355