mezon-js-protobuf 1.8.19 → 1.8.20
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/api.ts +43 -161
- package/dist/mezon-js-protobuf/api/api.d.ts +20 -49
- package/dist/mezon-js-protobuf/rtapi/realtime.d.ts +1297 -325
- package/dist/mezon-js-protobuf.cjs.js +84 -2
- package/dist/mezon-js-protobuf.esm.mjs +84 -2
- package/package.json +1 -1
- package/rtapi/realtime.ts +106 -1
package/api/api.ts
CHANGED
|
@@ -3799,16 +3799,6 @@ export interface AccountMezon_VarsEntry {
|
|
|
3799
3799
|
value: string;
|
|
3800
3800
|
}
|
|
3801
3801
|
|
|
3802
|
-
export interface QuickMenuAccessRequest {
|
|
3803
|
-
id: string;
|
|
3804
|
-
bot_id: string;
|
|
3805
|
-
clan_id: string;
|
|
3806
|
-
channel_id: string;
|
|
3807
|
-
menu_name: string;
|
|
3808
|
-
background: string;
|
|
3809
|
-
action_msg: string;
|
|
3810
|
-
}
|
|
3811
|
-
|
|
3812
3802
|
export interface QuickMenuAccess {
|
|
3813
3803
|
id: string;
|
|
3814
3804
|
bot_id: string;
|
|
@@ -3817,11 +3807,13 @@ export interface QuickMenuAccess {
|
|
|
3817
3807
|
menu_name: string;
|
|
3818
3808
|
background: string;
|
|
3819
3809
|
action_msg: string;
|
|
3810
|
+
menu_type: number;
|
|
3820
3811
|
}
|
|
3821
3812
|
|
|
3822
3813
|
export interface ListQuickMenuAccessRequest {
|
|
3823
3814
|
bot_id: string;
|
|
3824
3815
|
channel_id: string;
|
|
3816
|
+
menu_type: number;
|
|
3825
3817
|
}
|
|
3826
3818
|
|
|
3827
3819
|
export interface QuickMenuAccessList {
|
|
@@ -37808,157 +37800,17 @@ export const AccountMezon_VarsEntry = {
|
|
|
37808
37800
|
},
|
|
37809
37801
|
};
|
|
37810
37802
|
|
|
37811
|
-
function createBaseQuickMenuAccessRequest(): QuickMenuAccessRequest {
|
|
37812
|
-
return { id: "", bot_id: "", clan_id: "", channel_id: "", menu_name: "", background: "", action_msg: "" };
|
|
37813
|
-
}
|
|
37814
|
-
|
|
37815
|
-
export const QuickMenuAccessRequest = {
|
|
37816
|
-
encode(message: QuickMenuAccessRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
37817
|
-
if (message.id !== "") {
|
|
37818
|
-
writer.uint32(10).string(message.id);
|
|
37819
|
-
}
|
|
37820
|
-
if (message.bot_id !== "") {
|
|
37821
|
-
writer.uint32(18).string(message.bot_id);
|
|
37822
|
-
}
|
|
37823
|
-
if (message.clan_id !== "") {
|
|
37824
|
-
writer.uint32(26).string(message.clan_id);
|
|
37825
|
-
}
|
|
37826
|
-
if (message.channel_id !== "") {
|
|
37827
|
-
writer.uint32(34).string(message.channel_id);
|
|
37828
|
-
}
|
|
37829
|
-
if (message.menu_name !== "") {
|
|
37830
|
-
writer.uint32(42).string(message.menu_name);
|
|
37831
|
-
}
|
|
37832
|
-
if (message.background !== "") {
|
|
37833
|
-
writer.uint32(50).string(message.background);
|
|
37834
|
-
}
|
|
37835
|
-
if (message.action_msg !== "") {
|
|
37836
|
-
writer.uint32(58).string(message.action_msg);
|
|
37837
|
-
}
|
|
37838
|
-
return writer;
|
|
37839
|
-
},
|
|
37840
|
-
|
|
37841
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QuickMenuAccessRequest {
|
|
37842
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
37843
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
37844
|
-
const message = createBaseQuickMenuAccessRequest();
|
|
37845
|
-
while (reader.pos < end) {
|
|
37846
|
-
const tag = reader.uint32();
|
|
37847
|
-
switch (tag >>> 3) {
|
|
37848
|
-
case 1:
|
|
37849
|
-
if (tag !== 10) {
|
|
37850
|
-
break;
|
|
37851
|
-
}
|
|
37852
|
-
|
|
37853
|
-
message.id = reader.string();
|
|
37854
|
-
continue;
|
|
37855
|
-
case 2:
|
|
37856
|
-
if (tag !== 18) {
|
|
37857
|
-
break;
|
|
37858
|
-
}
|
|
37859
|
-
|
|
37860
|
-
message.bot_id = reader.string();
|
|
37861
|
-
continue;
|
|
37862
|
-
case 3:
|
|
37863
|
-
if (tag !== 26) {
|
|
37864
|
-
break;
|
|
37865
|
-
}
|
|
37866
|
-
|
|
37867
|
-
message.clan_id = reader.string();
|
|
37868
|
-
continue;
|
|
37869
|
-
case 4:
|
|
37870
|
-
if (tag !== 34) {
|
|
37871
|
-
break;
|
|
37872
|
-
}
|
|
37873
|
-
|
|
37874
|
-
message.channel_id = reader.string();
|
|
37875
|
-
continue;
|
|
37876
|
-
case 5:
|
|
37877
|
-
if (tag !== 42) {
|
|
37878
|
-
break;
|
|
37879
|
-
}
|
|
37880
|
-
|
|
37881
|
-
message.menu_name = reader.string();
|
|
37882
|
-
continue;
|
|
37883
|
-
case 6:
|
|
37884
|
-
if (tag !== 50) {
|
|
37885
|
-
break;
|
|
37886
|
-
}
|
|
37887
|
-
|
|
37888
|
-
message.background = reader.string();
|
|
37889
|
-
continue;
|
|
37890
|
-
case 7:
|
|
37891
|
-
if (tag !== 58) {
|
|
37892
|
-
break;
|
|
37893
|
-
}
|
|
37894
|
-
|
|
37895
|
-
message.action_msg = reader.string();
|
|
37896
|
-
continue;
|
|
37897
|
-
}
|
|
37898
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
37899
|
-
break;
|
|
37900
|
-
}
|
|
37901
|
-
reader.skipType(tag & 7);
|
|
37902
|
-
}
|
|
37903
|
-
return message;
|
|
37904
|
-
},
|
|
37905
|
-
|
|
37906
|
-
fromJSON(object: any): QuickMenuAccessRequest {
|
|
37907
|
-
return {
|
|
37908
|
-
id: isSet(object.id) ? globalThis.String(object.id) : "",
|
|
37909
|
-
bot_id: isSet(object.bot_id) ? globalThis.String(object.bot_id) : "",
|
|
37910
|
-
clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
37911
|
-
channel_id: isSet(object.channel_id) ? globalThis.String(object.channel_id) : "",
|
|
37912
|
-
menu_name: isSet(object.menu_name) ? globalThis.String(object.menu_name) : "",
|
|
37913
|
-
background: isSet(object.background) ? globalThis.String(object.background) : "",
|
|
37914
|
-
action_msg: isSet(object.action_msg) ? globalThis.String(object.action_msg) : "",
|
|
37915
|
-
};
|
|
37916
|
-
},
|
|
37917
|
-
|
|
37918
|
-
toJSON(message: QuickMenuAccessRequest): unknown {
|
|
37919
|
-
const obj: any = {};
|
|
37920
|
-
if (message.id !== "") {
|
|
37921
|
-
obj.id = message.id;
|
|
37922
|
-
}
|
|
37923
|
-
if (message.bot_id !== "") {
|
|
37924
|
-
obj.bot_id = message.bot_id;
|
|
37925
|
-
}
|
|
37926
|
-
if (message.clan_id !== "") {
|
|
37927
|
-
obj.clan_id = message.clan_id;
|
|
37928
|
-
}
|
|
37929
|
-
if (message.channel_id !== "") {
|
|
37930
|
-
obj.channel_id = message.channel_id;
|
|
37931
|
-
}
|
|
37932
|
-
if (message.menu_name !== "") {
|
|
37933
|
-
obj.menu_name = message.menu_name;
|
|
37934
|
-
}
|
|
37935
|
-
if (message.background !== "") {
|
|
37936
|
-
obj.background = message.background;
|
|
37937
|
-
}
|
|
37938
|
-
if (message.action_msg !== "") {
|
|
37939
|
-
obj.action_msg = message.action_msg;
|
|
37940
|
-
}
|
|
37941
|
-
return obj;
|
|
37942
|
-
},
|
|
37943
|
-
|
|
37944
|
-
create<I extends Exact<DeepPartial<QuickMenuAccessRequest>, I>>(base?: I): QuickMenuAccessRequest {
|
|
37945
|
-
return QuickMenuAccessRequest.fromPartial(base ?? ({} as any));
|
|
37946
|
-
},
|
|
37947
|
-
fromPartial<I extends Exact<DeepPartial<QuickMenuAccessRequest>, I>>(object: I): QuickMenuAccessRequest {
|
|
37948
|
-
const message = createBaseQuickMenuAccessRequest();
|
|
37949
|
-
message.id = object.id ?? "";
|
|
37950
|
-
message.bot_id = object.bot_id ?? "";
|
|
37951
|
-
message.clan_id = object.clan_id ?? "";
|
|
37952
|
-
message.channel_id = object.channel_id ?? "";
|
|
37953
|
-
message.menu_name = object.menu_name ?? "";
|
|
37954
|
-
message.background = object.background ?? "";
|
|
37955
|
-
message.action_msg = object.action_msg ?? "";
|
|
37956
|
-
return message;
|
|
37957
|
-
},
|
|
37958
|
-
};
|
|
37959
|
-
|
|
37960
37803
|
function createBaseQuickMenuAccess(): QuickMenuAccess {
|
|
37961
|
-
return {
|
|
37804
|
+
return {
|
|
37805
|
+
id: "",
|
|
37806
|
+
bot_id: "",
|
|
37807
|
+
clan_id: "",
|
|
37808
|
+
channel_id: "",
|
|
37809
|
+
menu_name: "",
|
|
37810
|
+
background: "",
|
|
37811
|
+
action_msg: "",
|
|
37812
|
+
menu_type: 0,
|
|
37813
|
+
};
|
|
37962
37814
|
}
|
|
37963
37815
|
|
|
37964
37816
|
export const QuickMenuAccess = {
|
|
@@ -37984,6 +37836,9 @@ export const QuickMenuAccess = {
|
|
|
37984
37836
|
if (message.action_msg !== "") {
|
|
37985
37837
|
writer.uint32(58).string(message.action_msg);
|
|
37986
37838
|
}
|
|
37839
|
+
if (message.menu_type !== 0) {
|
|
37840
|
+
writer.uint32(64).int32(message.menu_type);
|
|
37841
|
+
}
|
|
37987
37842
|
return writer;
|
|
37988
37843
|
},
|
|
37989
37844
|
|
|
@@ -38043,6 +37898,13 @@ export const QuickMenuAccess = {
|
|
|
38043
37898
|
|
|
38044
37899
|
message.action_msg = reader.string();
|
|
38045
37900
|
continue;
|
|
37901
|
+
case 8:
|
|
37902
|
+
if (tag !== 64) {
|
|
37903
|
+
break;
|
|
37904
|
+
}
|
|
37905
|
+
|
|
37906
|
+
message.menu_type = reader.int32();
|
|
37907
|
+
continue;
|
|
38046
37908
|
}
|
|
38047
37909
|
if ((tag & 7) === 4 || tag === 0) {
|
|
38048
37910
|
break;
|
|
@@ -38061,6 +37923,7 @@ export const QuickMenuAccess = {
|
|
|
38061
37923
|
menu_name: isSet(object.menu_name) ? globalThis.String(object.menu_name) : "",
|
|
38062
37924
|
background: isSet(object.background) ? globalThis.String(object.background) : "",
|
|
38063
37925
|
action_msg: isSet(object.action_msg) ? globalThis.String(object.action_msg) : "",
|
|
37926
|
+
menu_type: isSet(object.menu_type) ? globalThis.Number(object.menu_type) : 0,
|
|
38064
37927
|
};
|
|
38065
37928
|
},
|
|
38066
37929
|
|
|
@@ -38087,6 +37950,9 @@ export const QuickMenuAccess = {
|
|
|
38087
37950
|
if (message.action_msg !== "") {
|
|
38088
37951
|
obj.action_msg = message.action_msg;
|
|
38089
37952
|
}
|
|
37953
|
+
if (message.menu_type !== 0) {
|
|
37954
|
+
obj.menu_type = Math.round(message.menu_type);
|
|
37955
|
+
}
|
|
38090
37956
|
return obj;
|
|
38091
37957
|
},
|
|
38092
37958
|
|
|
@@ -38102,12 +37968,13 @@ export const QuickMenuAccess = {
|
|
|
38102
37968
|
message.menu_name = object.menu_name ?? "";
|
|
38103
37969
|
message.background = object.background ?? "";
|
|
38104
37970
|
message.action_msg = object.action_msg ?? "";
|
|
37971
|
+
message.menu_type = object.menu_type ?? 0;
|
|
38105
37972
|
return message;
|
|
38106
37973
|
},
|
|
38107
37974
|
};
|
|
38108
37975
|
|
|
38109
37976
|
function createBaseListQuickMenuAccessRequest(): ListQuickMenuAccessRequest {
|
|
38110
|
-
return { bot_id: "", channel_id: "" };
|
|
37977
|
+
return { bot_id: "", channel_id: "", menu_type: 0 };
|
|
38111
37978
|
}
|
|
38112
37979
|
|
|
38113
37980
|
export const ListQuickMenuAccessRequest = {
|
|
@@ -38118,6 +37985,9 @@ export const ListQuickMenuAccessRequest = {
|
|
|
38118
37985
|
if (message.channel_id !== "") {
|
|
38119
37986
|
writer.uint32(18).string(message.channel_id);
|
|
38120
37987
|
}
|
|
37988
|
+
if (message.menu_type !== 0) {
|
|
37989
|
+
writer.uint32(24).int32(message.menu_type);
|
|
37990
|
+
}
|
|
38121
37991
|
return writer;
|
|
38122
37992
|
},
|
|
38123
37993
|
|
|
@@ -38142,6 +38012,13 @@ export const ListQuickMenuAccessRequest = {
|
|
|
38142
38012
|
|
|
38143
38013
|
message.channel_id = reader.string();
|
|
38144
38014
|
continue;
|
|
38015
|
+
case 3:
|
|
38016
|
+
if (tag !== 24) {
|
|
38017
|
+
break;
|
|
38018
|
+
}
|
|
38019
|
+
|
|
38020
|
+
message.menu_type = reader.int32();
|
|
38021
|
+
continue;
|
|
38145
38022
|
}
|
|
38146
38023
|
if ((tag & 7) === 4 || tag === 0) {
|
|
38147
38024
|
break;
|
|
@@ -38155,6 +38032,7 @@ export const ListQuickMenuAccessRequest = {
|
|
|
38155
38032
|
return {
|
|
38156
38033
|
bot_id: isSet(object.bot_id) ? globalThis.String(object.bot_id) : "",
|
|
38157
38034
|
channel_id: isSet(object.channel_id) ? globalThis.String(object.channel_id) : "",
|
|
38035
|
+
menu_type: isSet(object.menu_type) ? globalThis.Number(object.menu_type) : 0,
|
|
38158
38036
|
};
|
|
38159
38037
|
},
|
|
38160
38038
|
|
|
@@ -38166,6 +38044,9 @@ export const ListQuickMenuAccessRequest = {
|
|
|
38166
38044
|
if (message.channel_id !== "") {
|
|
38167
38045
|
obj.channel_id = message.channel_id;
|
|
38168
38046
|
}
|
|
38047
|
+
if (message.menu_type !== 0) {
|
|
38048
|
+
obj.menu_type = Math.round(message.menu_type);
|
|
38049
|
+
}
|
|
38169
38050
|
return obj;
|
|
38170
38051
|
},
|
|
38171
38052
|
|
|
@@ -38176,6 +38057,7 @@ export const ListQuickMenuAccessRequest = {
|
|
|
38176
38057
|
const message = createBaseListQuickMenuAccessRequest();
|
|
38177
38058
|
message.bot_id = object.bot_id ?? "";
|
|
38178
38059
|
message.channel_id = object.channel_id ?? "";
|
|
38060
|
+
message.menu_type = object.menu_type ?? 0;
|
|
38179
38061
|
return message;
|
|
38180
38062
|
},
|
|
38181
38063
|
};
|
|
@@ -3080,15 +3080,6 @@ export interface AccountMezon_VarsEntry {
|
|
|
3080
3080
|
key: string;
|
|
3081
3081
|
value: string;
|
|
3082
3082
|
}
|
|
3083
|
-
export interface QuickMenuAccessRequest {
|
|
3084
|
-
id: string;
|
|
3085
|
-
bot_id: string;
|
|
3086
|
-
clan_id: string;
|
|
3087
|
-
channel_id: string;
|
|
3088
|
-
menu_name: string;
|
|
3089
|
-
background: string;
|
|
3090
|
-
action_msg: string;
|
|
3091
|
-
}
|
|
3092
3083
|
export interface QuickMenuAccess {
|
|
3093
3084
|
id: string;
|
|
3094
3085
|
bot_id: string;
|
|
@@ -3097,10 +3088,12 @@ export interface QuickMenuAccess {
|
|
|
3097
3088
|
menu_name: string;
|
|
3098
3089
|
background: string;
|
|
3099
3090
|
action_msg: string;
|
|
3091
|
+
menu_type: number;
|
|
3100
3092
|
}
|
|
3101
3093
|
export interface ListQuickMenuAccessRequest {
|
|
3102
3094
|
bot_id: string;
|
|
3103
3095
|
channel_id: string;
|
|
3096
|
+
menu_type: number;
|
|
3104
3097
|
}
|
|
3105
3098
|
export interface QuickMenuAccessList {
|
|
3106
3099
|
list_menus: QuickMenuAccess[];
|
|
@@ -24389,46 +24382,6 @@ export declare const AccountMezon_VarsEntry: {
|
|
|
24389
24382
|
value?: string | undefined;
|
|
24390
24383
|
} & { [K_1 in Exclude<keyof I_1, keyof AccountMezon_VarsEntry>]: never; }>(object: I_1): AccountMezon_VarsEntry;
|
|
24391
24384
|
};
|
|
24392
|
-
export declare const QuickMenuAccessRequest: {
|
|
24393
|
-
encode(message: QuickMenuAccessRequest, writer?: _m0.Writer): _m0.Writer;
|
|
24394
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QuickMenuAccessRequest;
|
|
24395
|
-
fromJSON(object: any): QuickMenuAccessRequest;
|
|
24396
|
-
toJSON(message: QuickMenuAccessRequest): unknown;
|
|
24397
|
-
create<I extends {
|
|
24398
|
-
id?: string | undefined;
|
|
24399
|
-
bot_id?: string | undefined;
|
|
24400
|
-
clan_id?: string | undefined;
|
|
24401
|
-
channel_id?: string | undefined;
|
|
24402
|
-
menu_name?: string | undefined;
|
|
24403
|
-
background?: string | undefined;
|
|
24404
|
-
action_msg?: string | undefined;
|
|
24405
|
-
} & {
|
|
24406
|
-
id?: string | undefined;
|
|
24407
|
-
bot_id?: string | undefined;
|
|
24408
|
-
clan_id?: string | undefined;
|
|
24409
|
-
channel_id?: string | undefined;
|
|
24410
|
-
menu_name?: string | undefined;
|
|
24411
|
-
background?: string | undefined;
|
|
24412
|
-
action_msg?: string | undefined;
|
|
24413
|
-
} & { [K in Exclude<keyof I, keyof QuickMenuAccessRequest>]: never; }>(base?: I | undefined): QuickMenuAccessRequest;
|
|
24414
|
-
fromPartial<I_1 extends {
|
|
24415
|
-
id?: string | undefined;
|
|
24416
|
-
bot_id?: string | undefined;
|
|
24417
|
-
clan_id?: string | undefined;
|
|
24418
|
-
channel_id?: string | undefined;
|
|
24419
|
-
menu_name?: string | undefined;
|
|
24420
|
-
background?: string | undefined;
|
|
24421
|
-
action_msg?: string | undefined;
|
|
24422
|
-
} & {
|
|
24423
|
-
id?: string | undefined;
|
|
24424
|
-
bot_id?: string | undefined;
|
|
24425
|
-
clan_id?: string | undefined;
|
|
24426
|
-
channel_id?: string | undefined;
|
|
24427
|
-
menu_name?: string | undefined;
|
|
24428
|
-
background?: string | undefined;
|
|
24429
|
-
action_msg?: string | undefined;
|
|
24430
|
-
} & { [K_1 in Exclude<keyof I_1, keyof QuickMenuAccessRequest>]: never; }>(object: I_1): QuickMenuAccessRequest;
|
|
24431
|
-
};
|
|
24432
24385
|
export declare const QuickMenuAccess: {
|
|
24433
24386
|
encode(message: QuickMenuAccess, writer?: _m0.Writer): _m0.Writer;
|
|
24434
24387
|
decode(input: _m0.Reader | Uint8Array, length?: number): QuickMenuAccess;
|
|
@@ -24442,6 +24395,7 @@ export declare const QuickMenuAccess: {
|
|
|
24442
24395
|
menu_name?: string | undefined;
|
|
24443
24396
|
background?: string | undefined;
|
|
24444
24397
|
action_msg?: string | undefined;
|
|
24398
|
+
menu_type?: number | undefined;
|
|
24445
24399
|
} & {
|
|
24446
24400
|
id?: string | undefined;
|
|
24447
24401
|
bot_id?: string | undefined;
|
|
@@ -24450,6 +24404,7 @@ export declare const QuickMenuAccess: {
|
|
|
24450
24404
|
menu_name?: string | undefined;
|
|
24451
24405
|
background?: string | undefined;
|
|
24452
24406
|
action_msg?: string | undefined;
|
|
24407
|
+
menu_type?: number | undefined;
|
|
24453
24408
|
} & { [K in Exclude<keyof I, keyof QuickMenuAccess>]: never; }>(base?: I | undefined): QuickMenuAccess;
|
|
24454
24409
|
fromPartial<I_1 extends {
|
|
24455
24410
|
id?: string | undefined;
|
|
@@ -24459,6 +24414,7 @@ export declare const QuickMenuAccess: {
|
|
|
24459
24414
|
menu_name?: string | undefined;
|
|
24460
24415
|
background?: string | undefined;
|
|
24461
24416
|
action_msg?: string | undefined;
|
|
24417
|
+
menu_type?: number | undefined;
|
|
24462
24418
|
} & {
|
|
24463
24419
|
id?: string | undefined;
|
|
24464
24420
|
bot_id?: string | undefined;
|
|
@@ -24467,6 +24423,7 @@ export declare const QuickMenuAccess: {
|
|
|
24467
24423
|
menu_name?: string | undefined;
|
|
24468
24424
|
background?: string | undefined;
|
|
24469
24425
|
action_msg?: string | undefined;
|
|
24426
|
+
menu_type?: number | undefined;
|
|
24470
24427
|
} & { [K_1 in Exclude<keyof I_1, keyof QuickMenuAccess>]: never; }>(object: I_1): QuickMenuAccess;
|
|
24471
24428
|
};
|
|
24472
24429
|
export declare const ListQuickMenuAccessRequest: {
|
|
@@ -24477,16 +24434,20 @@ export declare const ListQuickMenuAccessRequest: {
|
|
|
24477
24434
|
create<I extends {
|
|
24478
24435
|
bot_id?: string | undefined;
|
|
24479
24436
|
channel_id?: string | undefined;
|
|
24437
|
+
menu_type?: number | undefined;
|
|
24480
24438
|
} & {
|
|
24481
24439
|
bot_id?: string | undefined;
|
|
24482
24440
|
channel_id?: string | undefined;
|
|
24441
|
+
menu_type?: number | undefined;
|
|
24483
24442
|
} & { [K in Exclude<keyof I, keyof ListQuickMenuAccessRequest>]: never; }>(base?: I | undefined): ListQuickMenuAccessRequest;
|
|
24484
24443
|
fromPartial<I_1 extends {
|
|
24485
24444
|
bot_id?: string | undefined;
|
|
24486
24445
|
channel_id?: string | undefined;
|
|
24446
|
+
menu_type?: number | undefined;
|
|
24487
24447
|
} & {
|
|
24488
24448
|
bot_id?: string | undefined;
|
|
24489
24449
|
channel_id?: string | undefined;
|
|
24450
|
+
menu_type?: number | undefined;
|
|
24490
24451
|
} & { [K_1 in Exclude<keyof I_1, keyof ListQuickMenuAccessRequest>]: never; }>(object: I_1): ListQuickMenuAccessRequest;
|
|
24491
24452
|
};
|
|
24492
24453
|
export declare const QuickMenuAccessList: {
|
|
@@ -24503,6 +24464,7 @@ export declare const QuickMenuAccessList: {
|
|
|
24503
24464
|
menu_name?: string | undefined;
|
|
24504
24465
|
background?: string | undefined;
|
|
24505
24466
|
action_msg?: string | undefined;
|
|
24467
|
+
menu_type?: number | undefined;
|
|
24506
24468
|
}[] | undefined;
|
|
24507
24469
|
} & {
|
|
24508
24470
|
list_menus?: ({
|
|
@@ -24513,6 +24475,7 @@ export declare const QuickMenuAccessList: {
|
|
|
24513
24475
|
menu_name?: string | undefined;
|
|
24514
24476
|
background?: string | undefined;
|
|
24515
24477
|
action_msg?: string | undefined;
|
|
24478
|
+
menu_type?: number | undefined;
|
|
24516
24479
|
}[] & ({
|
|
24517
24480
|
id?: string | undefined;
|
|
24518
24481
|
bot_id?: string | undefined;
|
|
@@ -24521,6 +24484,7 @@ export declare const QuickMenuAccessList: {
|
|
|
24521
24484
|
menu_name?: string | undefined;
|
|
24522
24485
|
background?: string | undefined;
|
|
24523
24486
|
action_msg?: string | undefined;
|
|
24487
|
+
menu_type?: number | undefined;
|
|
24524
24488
|
} & {
|
|
24525
24489
|
id?: string | undefined;
|
|
24526
24490
|
bot_id?: string | undefined;
|
|
@@ -24529,6 +24493,7 @@ export declare const QuickMenuAccessList: {
|
|
|
24529
24493
|
menu_name?: string | undefined;
|
|
24530
24494
|
background?: string | undefined;
|
|
24531
24495
|
action_msg?: string | undefined;
|
|
24496
|
+
menu_type?: number | undefined;
|
|
24532
24497
|
} & { [K in Exclude<keyof I["list_menus"][number], keyof QuickMenuAccess>]: never; })[] & { [K_1 in Exclude<keyof I["list_menus"], keyof {
|
|
24533
24498
|
id?: string | undefined;
|
|
24534
24499
|
bot_id?: string | undefined;
|
|
@@ -24537,6 +24502,7 @@ export declare const QuickMenuAccessList: {
|
|
|
24537
24502
|
menu_name?: string | undefined;
|
|
24538
24503
|
background?: string | undefined;
|
|
24539
24504
|
action_msg?: string | undefined;
|
|
24505
|
+
menu_type?: number | undefined;
|
|
24540
24506
|
}[]>]: never; }) | undefined;
|
|
24541
24507
|
} & { [K_2 in Exclude<keyof I, "list_menus">]: never; }>(base?: I | undefined): QuickMenuAccessList;
|
|
24542
24508
|
fromPartial<I_1 extends {
|
|
@@ -24548,6 +24514,7 @@ export declare const QuickMenuAccessList: {
|
|
|
24548
24514
|
menu_name?: string | undefined;
|
|
24549
24515
|
background?: string | undefined;
|
|
24550
24516
|
action_msg?: string | undefined;
|
|
24517
|
+
menu_type?: number | undefined;
|
|
24551
24518
|
}[] | undefined;
|
|
24552
24519
|
} & {
|
|
24553
24520
|
list_menus?: ({
|
|
@@ -24558,6 +24525,7 @@ export declare const QuickMenuAccessList: {
|
|
|
24558
24525
|
menu_name?: string | undefined;
|
|
24559
24526
|
background?: string | undefined;
|
|
24560
24527
|
action_msg?: string | undefined;
|
|
24528
|
+
menu_type?: number | undefined;
|
|
24561
24529
|
}[] & ({
|
|
24562
24530
|
id?: string | undefined;
|
|
24563
24531
|
bot_id?: string | undefined;
|
|
@@ -24566,6 +24534,7 @@ export declare const QuickMenuAccessList: {
|
|
|
24566
24534
|
menu_name?: string | undefined;
|
|
24567
24535
|
background?: string | undefined;
|
|
24568
24536
|
action_msg?: string | undefined;
|
|
24537
|
+
menu_type?: number | undefined;
|
|
24569
24538
|
} & {
|
|
24570
24539
|
id?: string | undefined;
|
|
24571
24540
|
bot_id?: string | undefined;
|
|
@@ -24574,6 +24543,7 @@ export declare const QuickMenuAccessList: {
|
|
|
24574
24543
|
menu_name?: string | undefined;
|
|
24575
24544
|
background?: string | undefined;
|
|
24576
24545
|
action_msg?: string | undefined;
|
|
24546
|
+
menu_type?: number | undefined;
|
|
24577
24547
|
} & { [K_3 in Exclude<keyof I_1["list_menus"][number], keyof QuickMenuAccess>]: never; })[] & { [K_4 in Exclude<keyof I_1["list_menus"], keyof {
|
|
24578
24548
|
id?: string | undefined;
|
|
24579
24549
|
bot_id?: string | undefined;
|
|
@@ -24582,6 +24552,7 @@ export declare const QuickMenuAccessList: {
|
|
|
24582
24552
|
menu_name?: string | undefined;
|
|
24583
24553
|
background?: string | undefined;
|
|
24584
24554
|
action_msg?: string | undefined;
|
|
24555
|
+
menu_type?: number | undefined;
|
|
24585
24556
|
}[]>]: never; }) | undefined;
|
|
24586
24557
|
} & { [K_5 in Exclude<keyof I_1, "list_menus">]: never; }>(object: I_1): QuickMenuAccessList;
|
|
24587
24558
|
};
|