mezon-js 2.12.52 → 2.12.54

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/api.gen.ts CHANGED
@@ -176,6 +176,10 @@ export interface MezonUpdateClanDescBody {
176
176
  is_community?: boolean;
177
177
  // community banner
178
178
  community_banner?: string;
179
+ // description
180
+ description?: string;
181
+ // about
182
+ about?: string;
179
183
  }
180
184
 
181
185
  /** */
@@ -10907,7 +10911,7 @@ export class MezonApi {
10907
10911
  const urlPath = "/v2/quickmenuaccess";
10908
10912
  const queryParams = new Map<string, any>();
10909
10913
  queryParams.set("id", id);
10910
- queryParams.set("id", botId);
10914
+ queryParams.set("bot_id", botId);
10911
10915
  queryParams.set("menu_name", menuName);
10912
10916
  queryParams.set("background", background);
10913
10917
  queryParams.set("action_msg", actionMsg);
package/dist/api.gen.d.ts CHANGED
@@ -101,6 +101,8 @@ export interface MezonUpdateClanDescBody {
101
101
  onboarding_banner?: string;
102
102
  is_community?: boolean;
103
103
  community_banner?: string;
104
+ description?: string;
105
+ about?: string;
104
106
  }
105
107
  /** */
106
108
  export interface MezonUpdateClanDescProfileBody {
@@ -6666,7 +6666,7 @@ var MezonApi = class {
6666
6666
  const urlPath = "/v2/quickmenuaccess";
6667
6667
  const queryParams = /* @__PURE__ */ new Map();
6668
6668
  queryParams.set("id", id);
6669
- queryParams.set("id", botId);
6669
+ queryParams.set("bot_id", botId);
6670
6670
  queryParams.set("menu_name", menuName);
6671
6671
  queryParams.set("background", background);
6672
6672
  queryParams.set("action_msg", actionMsg);
@@ -6632,7 +6632,7 @@ var MezonApi = class {
6632
6632
  const urlPath = "/v2/quickmenuaccess";
6633
6633
  const queryParams = /* @__PURE__ */ new Map();
6634
6634
  queryParams.set("id", id);
6635
- queryParams.set("id", botId);
6635
+ queryParams.set("bot_id", botId);
6636
6636
  queryParams.set("menu_name", menuName);
6637
6637
  queryParams.set("background", background);
6638
6638
  queryParams.set("action_msg", actionMsg);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js",
3
- "version": "2.12.52",
3
+ "version": "2.12.54",
4
4
  "scripts": {
5
5
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
6
6
  },