mezon-js-protobuf 1.8.18 → 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 +61 -161
- package/dist/mezon-js-protobuf/api/api.d.ts +26 -49
- package/dist/mezon-js-protobuf/rtapi/realtime.d.ts +1555 -511
- package/dist/mezon-js-protobuf.cjs.js +177 -5
- package/dist/mezon-js-protobuf.esm.mjs +177 -5
- package/package.json +1 -1
- package/rtapi/realtime.ts +216 -1
package/api/api.ts
CHANGED
|
@@ -2729,6 +2729,8 @@ export interface UpdateAppRequest {
|
|
|
2729
2729
|
about: string;
|
|
2730
2730
|
/** App url. */
|
|
2731
2731
|
app_url: string;
|
|
2732
|
+
/** need update or not */
|
|
2733
|
+
is_shadow: string;
|
|
2732
2734
|
}
|
|
2733
2735
|
|
|
2734
2736
|
/** The identifier for an app. */
|
|
@@ -3797,16 +3799,6 @@ export interface AccountMezon_VarsEntry {
|
|
|
3797
3799
|
value: string;
|
|
3798
3800
|
}
|
|
3799
3801
|
|
|
3800
|
-
export interface QuickMenuAccessRequest {
|
|
3801
|
-
id: string;
|
|
3802
|
-
bot_id: string;
|
|
3803
|
-
clan_id: string;
|
|
3804
|
-
channel_id: string;
|
|
3805
|
-
menu_name: string;
|
|
3806
|
-
background: string;
|
|
3807
|
-
action_msg: string;
|
|
3808
|
-
}
|
|
3809
|
-
|
|
3810
3802
|
export interface QuickMenuAccess {
|
|
3811
3803
|
id: string;
|
|
3812
3804
|
bot_id: string;
|
|
@@ -3815,11 +3807,13 @@ export interface QuickMenuAccess {
|
|
|
3815
3807
|
menu_name: string;
|
|
3816
3808
|
background: string;
|
|
3817
3809
|
action_msg: string;
|
|
3810
|
+
menu_type: number;
|
|
3818
3811
|
}
|
|
3819
3812
|
|
|
3820
3813
|
export interface ListQuickMenuAccessRequest {
|
|
3821
3814
|
bot_id: string;
|
|
3822
3815
|
channel_id: string;
|
|
3816
|
+
menu_type: number;
|
|
3823
3817
|
}
|
|
3824
3818
|
|
|
3825
3819
|
export interface QuickMenuAccessList {
|
|
@@ -25979,6 +25973,7 @@ function createBaseUpdateAppRequest(): UpdateAppRequest {
|
|
|
25979
25973
|
token: undefined,
|
|
25980
25974
|
about: "",
|
|
25981
25975
|
app_url: "",
|
|
25976
|
+
is_shadow: "",
|
|
25982
25977
|
};
|
|
25983
25978
|
}
|
|
25984
25979
|
|
|
@@ -26005,6 +26000,9 @@ export const UpdateAppRequest = {
|
|
|
26005
26000
|
if (message.app_url !== "") {
|
|
26006
26001
|
writer.uint32(58).string(message.app_url);
|
|
26007
26002
|
}
|
|
26003
|
+
if (message.is_shadow !== "") {
|
|
26004
|
+
writer.uint32(74).string(message.is_shadow);
|
|
26005
|
+
}
|
|
26008
26006
|
return writer;
|
|
26009
26007
|
},
|
|
26010
26008
|
|
|
@@ -26064,6 +26062,13 @@ export const UpdateAppRequest = {
|
|
|
26064
26062
|
|
|
26065
26063
|
message.app_url = reader.string();
|
|
26066
26064
|
continue;
|
|
26065
|
+
case 9:
|
|
26066
|
+
if (tag !== 74) {
|
|
26067
|
+
break;
|
|
26068
|
+
}
|
|
26069
|
+
|
|
26070
|
+
message.is_shadow = reader.string();
|
|
26071
|
+
continue;
|
|
26067
26072
|
}
|
|
26068
26073
|
if ((tag & 7) === 4 || tag === 0) {
|
|
26069
26074
|
break;
|
|
@@ -26082,6 +26087,7 @@ export const UpdateAppRequest = {
|
|
|
26082
26087
|
token: isSet(object.token) ? String(object.token) : undefined,
|
|
26083
26088
|
about: isSet(object.about) ? globalThis.String(object.about) : "",
|
|
26084
26089
|
app_url: isSet(object.app_url) ? globalThis.String(object.app_url) : "",
|
|
26090
|
+
is_shadow: isSet(object.is_shadow) ? globalThis.String(object.is_shadow) : "",
|
|
26085
26091
|
};
|
|
26086
26092
|
},
|
|
26087
26093
|
|
|
@@ -26108,6 +26114,9 @@ export const UpdateAppRequest = {
|
|
|
26108
26114
|
if (message.app_url !== "") {
|
|
26109
26115
|
obj.app_url = message.app_url;
|
|
26110
26116
|
}
|
|
26117
|
+
if (message.is_shadow !== "") {
|
|
26118
|
+
obj.is_shadow = message.is_shadow;
|
|
26119
|
+
}
|
|
26111
26120
|
return obj;
|
|
26112
26121
|
},
|
|
26113
26122
|
|
|
@@ -26123,6 +26132,7 @@ export const UpdateAppRequest = {
|
|
|
26123
26132
|
message.token = object.token ?? undefined;
|
|
26124
26133
|
message.about = object.about ?? "";
|
|
26125
26134
|
message.app_url = object.app_url ?? "";
|
|
26135
|
+
message.is_shadow = object.is_shadow ?? "";
|
|
26126
26136
|
return message;
|
|
26127
26137
|
},
|
|
26128
26138
|
};
|
|
@@ -37790,157 +37800,17 @@ export const AccountMezon_VarsEntry = {
|
|
|
37790
37800
|
},
|
|
37791
37801
|
};
|
|
37792
37802
|
|
|
37793
|
-
function createBaseQuickMenuAccessRequest(): QuickMenuAccessRequest {
|
|
37794
|
-
return { id: "", bot_id: "", clan_id: "", channel_id: "", menu_name: "", background: "", action_msg: "" };
|
|
37795
|
-
}
|
|
37796
|
-
|
|
37797
|
-
export const QuickMenuAccessRequest = {
|
|
37798
|
-
encode(message: QuickMenuAccessRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
37799
|
-
if (message.id !== "") {
|
|
37800
|
-
writer.uint32(10).string(message.id);
|
|
37801
|
-
}
|
|
37802
|
-
if (message.bot_id !== "") {
|
|
37803
|
-
writer.uint32(18).string(message.bot_id);
|
|
37804
|
-
}
|
|
37805
|
-
if (message.clan_id !== "") {
|
|
37806
|
-
writer.uint32(26).string(message.clan_id);
|
|
37807
|
-
}
|
|
37808
|
-
if (message.channel_id !== "") {
|
|
37809
|
-
writer.uint32(34).string(message.channel_id);
|
|
37810
|
-
}
|
|
37811
|
-
if (message.menu_name !== "") {
|
|
37812
|
-
writer.uint32(42).string(message.menu_name);
|
|
37813
|
-
}
|
|
37814
|
-
if (message.background !== "") {
|
|
37815
|
-
writer.uint32(50).string(message.background);
|
|
37816
|
-
}
|
|
37817
|
-
if (message.action_msg !== "") {
|
|
37818
|
-
writer.uint32(58).string(message.action_msg);
|
|
37819
|
-
}
|
|
37820
|
-
return writer;
|
|
37821
|
-
},
|
|
37822
|
-
|
|
37823
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QuickMenuAccessRequest {
|
|
37824
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
37825
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
37826
|
-
const message = createBaseQuickMenuAccessRequest();
|
|
37827
|
-
while (reader.pos < end) {
|
|
37828
|
-
const tag = reader.uint32();
|
|
37829
|
-
switch (tag >>> 3) {
|
|
37830
|
-
case 1:
|
|
37831
|
-
if (tag !== 10) {
|
|
37832
|
-
break;
|
|
37833
|
-
}
|
|
37834
|
-
|
|
37835
|
-
message.id = reader.string();
|
|
37836
|
-
continue;
|
|
37837
|
-
case 2:
|
|
37838
|
-
if (tag !== 18) {
|
|
37839
|
-
break;
|
|
37840
|
-
}
|
|
37841
|
-
|
|
37842
|
-
message.bot_id = reader.string();
|
|
37843
|
-
continue;
|
|
37844
|
-
case 3:
|
|
37845
|
-
if (tag !== 26) {
|
|
37846
|
-
break;
|
|
37847
|
-
}
|
|
37848
|
-
|
|
37849
|
-
message.clan_id = reader.string();
|
|
37850
|
-
continue;
|
|
37851
|
-
case 4:
|
|
37852
|
-
if (tag !== 34) {
|
|
37853
|
-
break;
|
|
37854
|
-
}
|
|
37855
|
-
|
|
37856
|
-
message.channel_id = reader.string();
|
|
37857
|
-
continue;
|
|
37858
|
-
case 5:
|
|
37859
|
-
if (tag !== 42) {
|
|
37860
|
-
break;
|
|
37861
|
-
}
|
|
37862
|
-
|
|
37863
|
-
message.menu_name = reader.string();
|
|
37864
|
-
continue;
|
|
37865
|
-
case 6:
|
|
37866
|
-
if (tag !== 50) {
|
|
37867
|
-
break;
|
|
37868
|
-
}
|
|
37869
|
-
|
|
37870
|
-
message.background = reader.string();
|
|
37871
|
-
continue;
|
|
37872
|
-
case 7:
|
|
37873
|
-
if (tag !== 58) {
|
|
37874
|
-
break;
|
|
37875
|
-
}
|
|
37876
|
-
|
|
37877
|
-
message.action_msg = reader.string();
|
|
37878
|
-
continue;
|
|
37879
|
-
}
|
|
37880
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
37881
|
-
break;
|
|
37882
|
-
}
|
|
37883
|
-
reader.skipType(tag & 7);
|
|
37884
|
-
}
|
|
37885
|
-
return message;
|
|
37886
|
-
},
|
|
37887
|
-
|
|
37888
|
-
fromJSON(object: any): QuickMenuAccessRequest {
|
|
37889
|
-
return {
|
|
37890
|
-
id: isSet(object.id) ? globalThis.String(object.id) : "",
|
|
37891
|
-
bot_id: isSet(object.bot_id) ? globalThis.String(object.bot_id) : "",
|
|
37892
|
-
clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
37893
|
-
channel_id: isSet(object.channel_id) ? globalThis.String(object.channel_id) : "",
|
|
37894
|
-
menu_name: isSet(object.menu_name) ? globalThis.String(object.menu_name) : "",
|
|
37895
|
-
background: isSet(object.background) ? globalThis.String(object.background) : "",
|
|
37896
|
-
action_msg: isSet(object.action_msg) ? globalThis.String(object.action_msg) : "",
|
|
37897
|
-
};
|
|
37898
|
-
},
|
|
37899
|
-
|
|
37900
|
-
toJSON(message: QuickMenuAccessRequest): unknown {
|
|
37901
|
-
const obj: any = {};
|
|
37902
|
-
if (message.id !== "") {
|
|
37903
|
-
obj.id = message.id;
|
|
37904
|
-
}
|
|
37905
|
-
if (message.bot_id !== "") {
|
|
37906
|
-
obj.bot_id = message.bot_id;
|
|
37907
|
-
}
|
|
37908
|
-
if (message.clan_id !== "") {
|
|
37909
|
-
obj.clan_id = message.clan_id;
|
|
37910
|
-
}
|
|
37911
|
-
if (message.channel_id !== "") {
|
|
37912
|
-
obj.channel_id = message.channel_id;
|
|
37913
|
-
}
|
|
37914
|
-
if (message.menu_name !== "") {
|
|
37915
|
-
obj.menu_name = message.menu_name;
|
|
37916
|
-
}
|
|
37917
|
-
if (message.background !== "") {
|
|
37918
|
-
obj.background = message.background;
|
|
37919
|
-
}
|
|
37920
|
-
if (message.action_msg !== "") {
|
|
37921
|
-
obj.action_msg = message.action_msg;
|
|
37922
|
-
}
|
|
37923
|
-
return obj;
|
|
37924
|
-
},
|
|
37925
|
-
|
|
37926
|
-
create<I extends Exact<DeepPartial<QuickMenuAccessRequest>, I>>(base?: I): QuickMenuAccessRequest {
|
|
37927
|
-
return QuickMenuAccessRequest.fromPartial(base ?? ({} as any));
|
|
37928
|
-
},
|
|
37929
|
-
fromPartial<I extends Exact<DeepPartial<QuickMenuAccessRequest>, I>>(object: I): QuickMenuAccessRequest {
|
|
37930
|
-
const message = createBaseQuickMenuAccessRequest();
|
|
37931
|
-
message.id = object.id ?? "";
|
|
37932
|
-
message.bot_id = object.bot_id ?? "";
|
|
37933
|
-
message.clan_id = object.clan_id ?? "";
|
|
37934
|
-
message.channel_id = object.channel_id ?? "";
|
|
37935
|
-
message.menu_name = object.menu_name ?? "";
|
|
37936
|
-
message.background = object.background ?? "";
|
|
37937
|
-
message.action_msg = object.action_msg ?? "";
|
|
37938
|
-
return message;
|
|
37939
|
-
},
|
|
37940
|
-
};
|
|
37941
|
-
|
|
37942
37803
|
function createBaseQuickMenuAccess(): QuickMenuAccess {
|
|
37943
|
-
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
|
+
};
|
|
37944
37814
|
}
|
|
37945
37815
|
|
|
37946
37816
|
export const QuickMenuAccess = {
|
|
@@ -37966,6 +37836,9 @@ export const QuickMenuAccess = {
|
|
|
37966
37836
|
if (message.action_msg !== "") {
|
|
37967
37837
|
writer.uint32(58).string(message.action_msg);
|
|
37968
37838
|
}
|
|
37839
|
+
if (message.menu_type !== 0) {
|
|
37840
|
+
writer.uint32(64).int32(message.menu_type);
|
|
37841
|
+
}
|
|
37969
37842
|
return writer;
|
|
37970
37843
|
},
|
|
37971
37844
|
|
|
@@ -38025,6 +37898,13 @@ export const QuickMenuAccess = {
|
|
|
38025
37898
|
|
|
38026
37899
|
message.action_msg = reader.string();
|
|
38027
37900
|
continue;
|
|
37901
|
+
case 8:
|
|
37902
|
+
if (tag !== 64) {
|
|
37903
|
+
break;
|
|
37904
|
+
}
|
|
37905
|
+
|
|
37906
|
+
message.menu_type = reader.int32();
|
|
37907
|
+
continue;
|
|
38028
37908
|
}
|
|
38029
37909
|
if ((tag & 7) === 4 || tag === 0) {
|
|
38030
37910
|
break;
|
|
@@ -38043,6 +37923,7 @@ export const QuickMenuAccess = {
|
|
|
38043
37923
|
menu_name: isSet(object.menu_name) ? globalThis.String(object.menu_name) : "",
|
|
38044
37924
|
background: isSet(object.background) ? globalThis.String(object.background) : "",
|
|
38045
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,
|
|
38046
37927
|
};
|
|
38047
37928
|
},
|
|
38048
37929
|
|
|
@@ -38069,6 +37950,9 @@ export const QuickMenuAccess = {
|
|
|
38069
37950
|
if (message.action_msg !== "") {
|
|
38070
37951
|
obj.action_msg = message.action_msg;
|
|
38071
37952
|
}
|
|
37953
|
+
if (message.menu_type !== 0) {
|
|
37954
|
+
obj.menu_type = Math.round(message.menu_type);
|
|
37955
|
+
}
|
|
38072
37956
|
return obj;
|
|
38073
37957
|
},
|
|
38074
37958
|
|
|
@@ -38084,12 +37968,13 @@ export const QuickMenuAccess = {
|
|
|
38084
37968
|
message.menu_name = object.menu_name ?? "";
|
|
38085
37969
|
message.background = object.background ?? "";
|
|
38086
37970
|
message.action_msg = object.action_msg ?? "";
|
|
37971
|
+
message.menu_type = object.menu_type ?? 0;
|
|
38087
37972
|
return message;
|
|
38088
37973
|
},
|
|
38089
37974
|
};
|
|
38090
37975
|
|
|
38091
37976
|
function createBaseListQuickMenuAccessRequest(): ListQuickMenuAccessRequest {
|
|
38092
|
-
return { bot_id: "", channel_id: "" };
|
|
37977
|
+
return { bot_id: "", channel_id: "", menu_type: 0 };
|
|
38093
37978
|
}
|
|
38094
37979
|
|
|
38095
37980
|
export const ListQuickMenuAccessRequest = {
|
|
@@ -38100,6 +37985,9 @@ export const ListQuickMenuAccessRequest = {
|
|
|
38100
37985
|
if (message.channel_id !== "") {
|
|
38101
37986
|
writer.uint32(18).string(message.channel_id);
|
|
38102
37987
|
}
|
|
37988
|
+
if (message.menu_type !== 0) {
|
|
37989
|
+
writer.uint32(24).int32(message.menu_type);
|
|
37990
|
+
}
|
|
38103
37991
|
return writer;
|
|
38104
37992
|
},
|
|
38105
37993
|
|
|
@@ -38124,6 +38012,13 @@ export const ListQuickMenuAccessRequest = {
|
|
|
38124
38012
|
|
|
38125
38013
|
message.channel_id = reader.string();
|
|
38126
38014
|
continue;
|
|
38015
|
+
case 3:
|
|
38016
|
+
if (tag !== 24) {
|
|
38017
|
+
break;
|
|
38018
|
+
}
|
|
38019
|
+
|
|
38020
|
+
message.menu_type = reader.int32();
|
|
38021
|
+
continue;
|
|
38127
38022
|
}
|
|
38128
38023
|
if ((tag & 7) === 4 || tag === 0) {
|
|
38129
38024
|
break;
|
|
@@ -38137,6 +38032,7 @@ export const ListQuickMenuAccessRequest = {
|
|
|
38137
38032
|
return {
|
|
38138
38033
|
bot_id: isSet(object.bot_id) ? globalThis.String(object.bot_id) : "",
|
|
38139
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,
|
|
38140
38036
|
};
|
|
38141
38037
|
},
|
|
38142
38038
|
|
|
@@ -38148,6 +38044,9 @@ export const ListQuickMenuAccessRequest = {
|
|
|
38148
38044
|
if (message.channel_id !== "") {
|
|
38149
38045
|
obj.channel_id = message.channel_id;
|
|
38150
38046
|
}
|
|
38047
|
+
if (message.menu_type !== 0) {
|
|
38048
|
+
obj.menu_type = Math.round(message.menu_type);
|
|
38049
|
+
}
|
|
38151
38050
|
return obj;
|
|
38152
38051
|
},
|
|
38153
38052
|
|
|
@@ -38158,6 +38057,7 @@ export const ListQuickMenuAccessRequest = {
|
|
|
38158
38057
|
const message = createBaseListQuickMenuAccessRequest();
|
|
38159
38058
|
message.bot_id = object.bot_id ?? "";
|
|
38160
38059
|
message.channel_id = object.channel_id ?? "";
|
|
38060
|
+
message.menu_type = object.menu_type ?? 0;
|
|
38161
38061
|
return message;
|
|
38162
38062
|
},
|
|
38163
38063
|
};
|
|
@@ -2156,6 +2156,8 @@ export interface UpdateAppRequest {
|
|
|
2156
2156
|
about: string;
|
|
2157
2157
|
/** App url. */
|
|
2158
2158
|
app_url: string;
|
|
2159
|
+
/** need update or not */
|
|
2160
|
+
is_shadow: string;
|
|
2159
2161
|
}
|
|
2160
2162
|
/** The identifier for an app. */
|
|
2161
2163
|
export interface AppId {
|
|
@@ -3078,15 +3080,6 @@ export interface AccountMezon_VarsEntry {
|
|
|
3078
3080
|
key: string;
|
|
3079
3081
|
value: string;
|
|
3080
3082
|
}
|
|
3081
|
-
export interface QuickMenuAccessRequest {
|
|
3082
|
-
id: string;
|
|
3083
|
-
bot_id: string;
|
|
3084
|
-
clan_id: string;
|
|
3085
|
-
channel_id: string;
|
|
3086
|
-
menu_name: string;
|
|
3087
|
-
background: string;
|
|
3088
|
-
action_msg: string;
|
|
3089
|
-
}
|
|
3090
3083
|
export interface QuickMenuAccess {
|
|
3091
3084
|
id: string;
|
|
3092
3085
|
bot_id: string;
|
|
@@ -3095,10 +3088,12 @@ export interface QuickMenuAccess {
|
|
|
3095
3088
|
menu_name: string;
|
|
3096
3089
|
background: string;
|
|
3097
3090
|
action_msg: string;
|
|
3091
|
+
menu_type: number;
|
|
3098
3092
|
}
|
|
3099
3093
|
export interface ListQuickMenuAccessRequest {
|
|
3100
3094
|
bot_id: string;
|
|
3101
3095
|
channel_id: string;
|
|
3096
|
+
menu_type: number;
|
|
3102
3097
|
}
|
|
3103
3098
|
export interface QuickMenuAccessList {
|
|
3104
3099
|
list_menus: QuickMenuAccess[];
|
|
@@ -17176,6 +17171,7 @@ export declare const UpdateAppRequest: {
|
|
|
17176
17171
|
token?: string | undefined;
|
|
17177
17172
|
about?: string | undefined;
|
|
17178
17173
|
app_url?: string | undefined;
|
|
17174
|
+
is_shadow?: string | undefined;
|
|
17179
17175
|
} & {
|
|
17180
17176
|
id?: string | undefined;
|
|
17181
17177
|
appname?: string | undefined;
|
|
@@ -17184,6 +17180,7 @@ export declare const UpdateAppRequest: {
|
|
|
17184
17180
|
token?: string | undefined;
|
|
17185
17181
|
about?: string | undefined;
|
|
17186
17182
|
app_url?: string | undefined;
|
|
17183
|
+
is_shadow?: string | undefined;
|
|
17187
17184
|
} & { [K in Exclude<keyof I, keyof UpdateAppRequest>]: never; }>(base?: I | undefined): UpdateAppRequest;
|
|
17188
17185
|
fromPartial<I_1 extends {
|
|
17189
17186
|
id?: string | undefined;
|
|
@@ -17193,6 +17190,7 @@ export declare const UpdateAppRequest: {
|
|
|
17193
17190
|
token?: string | undefined;
|
|
17194
17191
|
about?: string | undefined;
|
|
17195
17192
|
app_url?: string | undefined;
|
|
17193
|
+
is_shadow?: string | undefined;
|
|
17196
17194
|
} & {
|
|
17197
17195
|
id?: string | undefined;
|
|
17198
17196
|
appname?: string | undefined;
|
|
@@ -17201,6 +17199,7 @@ export declare const UpdateAppRequest: {
|
|
|
17201
17199
|
token?: string | undefined;
|
|
17202
17200
|
about?: string | undefined;
|
|
17203
17201
|
app_url?: string | undefined;
|
|
17202
|
+
is_shadow?: string | undefined;
|
|
17204
17203
|
} & { [K_1 in Exclude<keyof I_1, keyof UpdateAppRequest>]: never; }>(object: I_1): UpdateAppRequest;
|
|
17205
17204
|
};
|
|
17206
17205
|
export declare const AppId: {
|
|
@@ -24383,46 +24382,6 @@ export declare const AccountMezon_VarsEntry: {
|
|
|
24383
24382
|
value?: string | undefined;
|
|
24384
24383
|
} & { [K_1 in Exclude<keyof I_1, keyof AccountMezon_VarsEntry>]: never; }>(object: I_1): AccountMezon_VarsEntry;
|
|
24385
24384
|
};
|
|
24386
|
-
export declare const QuickMenuAccessRequest: {
|
|
24387
|
-
encode(message: QuickMenuAccessRequest, writer?: _m0.Writer): _m0.Writer;
|
|
24388
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): QuickMenuAccessRequest;
|
|
24389
|
-
fromJSON(object: any): QuickMenuAccessRequest;
|
|
24390
|
-
toJSON(message: QuickMenuAccessRequest): unknown;
|
|
24391
|
-
create<I extends {
|
|
24392
|
-
id?: string | undefined;
|
|
24393
|
-
bot_id?: string | undefined;
|
|
24394
|
-
clan_id?: string | undefined;
|
|
24395
|
-
channel_id?: string | undefined;
|
|
24396
|
-
menu_name?: string | undefined;
|
|
24397
|
-
background?: string | undefined;
|
|
24398
|
-
action_msg?: string | undefined;
|
|
24399
|
-
} & {
|
|
24400
|
-
id?: string | undefined;
|
|
24401
|
-
bot_id?: string | undefined;
|
|
24402
|
-
clan_id?: string | undefined;
|
|
24403
|
-
channel_id?: string | undefined;
|
|
24404
|
-
menu_name?: string | undefined;
|
|
24405
|
-
background?: string | undefined;
|
|
24406
|
-
action_msg?: string | undefined;
|
|
24407
|
-
} & { [K in Exclude<keyof I, keyof QuickMenuAccessRequest>]: never; }>(base?: I | undefined): QuickMenuAccessRequest;
|
|
24408
|
-
fromPartial<I_1 extends {
|
|
24409
|
-
id?: string | undefined;
|
|
24410
|
-
bot_id?: string | undefined;
|
|
24411
|
-
clan_id?: string | undefined;
|
|
24412
|
-
channel_id?: string | undefined;
|
|
24413
|
-
menu_name?: string | undefined;
|
|
24414
|
-
background?: string | undefined;
|
|
24415
|
-
action_msg?: string | undefined;
|
|
24416
|
-
} & {
|
|
24417
|
-
id?: string | undefined;
|
|
24418
|
-
bot_id?: string | undefined;
|
|
24419
|
-
clan_id?: string | undefined;
|
|
24420
|
-
channel_id?: string | undefined;
|
|
24421
|
-
menu_name?: string | undefined;
|
|
24422
|
-
background?: string | undefined;
|
|
24423
|
-
action_msg?: string | undefined;
|
|
24424
|
-
} & { [K_1 in Exclude<keyof I_1, keyof QuickMenuAccessRequest>]: never; }>(object: I_1): QuickMenuAccessRequest;
|
|
24425
|
-
};
|
|
24426
24385
|
export declare const QuickMenuAccess: {
|
|
24427
24386
|
encode(message: QuickMenuAccess, writer?: _m0.Writer): _m0.Writer;
|
|
24428
24387
|
decode(input: _m0.Reader | Uint8Array, length?: number): QuickMenuAccess;
|
|
@@ -24436,6 +24395,7 @@ export declare const QuickMenuAccess: {
|
|
|
24436
24395
|
menu_name?: string | undefined;
|
|
24437
24396
|
background?: string | undefined;
|
|
24438
24397
|
action_msg?: string | undefined;
|
|
24398
|
+
menu_type?: number | undefined;
|
|
24439
24399
|
} & {
|
|
24440
24400
|
id?: string | undefined;
|
|
24441
24401
|
bot_id?: string | undefined;
|
|
@@ -24444,6 +24404,7 @@ export declare const QuickMenuAccess: {
|
|
|
24444
24404
|
menu_name?: string | undefined;
|
|
24445
24405
|
background?: string | undefined;
|
|
24446
24406
|
action_msg?: string | undefined;
|
|
24407
|
+
menu_type?: number | undefined;
|
|
24447
24408
|
} & { [K in Exclude<keyof I, keyof QuickMenuAccess>]: never; }>(base?: I | undefined): QuickMenuAccess;
|
|
24448
24409
|
fromPartial<I_1 extends {
|
|
24449
24410
|
id?: string | undefined;
|
|
@@ -24453,6 +24414,7 @@ export declare const QuickMenuAccess: {
|
|
|
24453
24414
|
menu_name?: string | undefined;
|
|
24454
24415
|
background?: string | undefined;
|
|
24455
24416
|
action_msg?: string | undefined;
|
|
24417
|
+
menu_type?: number | undefined;
|
|
24456
24418
|
} & {
|
|
24457
24419
|
id?: string | undefined;
|
|
24458
24420
|
bot_id?: string | undefined;
|
|
@@ -24461,6 +24423,7 @@ export declare const QuickMenuAccess: {
|
|
|
24461
24423
|
menu_name?: string | undefined;
|
|
24462
24424
|
background?: string | undefined;
|
|
24463
24425
|
action_msg?: string | undefined;
|
|
24426
|
+
menu_type?: number | undefined;
|
|
24464
24427
|
} & { [K_1 in Exclude<keyof I_1, keyof QuickMenuAccess>]: never; }>(object: I_1): QuickMenuAccess;
|
|
24465
24428
|
};
|
|
24466
24429
|
export declare const ListQuickMenuAccessRequest: {
|
|
@@ -24471,16 +24434,20 @@ export declare const ListQuickMenuAccessRequest: {
|
|
|
24471
24434
|
create<I extends {
|
|
24472
24435
|
bot_id?: string | undefined;
|
|
24473
24436
|
channel_id?: string | undefined;
|
|
24437
|
+
menu_type?: number | undefined;
|
|
24474
24438
|
} & {
|
|
24475
24439
|
bot_id?: string | undefined;
|
|
24476
24440
|
channel_id?: string | undefined;
|
|
24441
|
+
menu_type?: number | undefined;
|
|
24477
24442
|
} & { [K in Exclude<keyof I, keyof ListQuickMenuAccessRequest>]: never; }>(base?: I | undefined): ListQuickMenuAccessRequest;
|
|
24478
24443
|
fromPartial<I_1 extends {
|
|
24479
24444
|
bot_id?: string | undefined;
|
|
24480
24445
|
channel_id?: string | undefined;
|
|
24446
|
+
menu_type?: number | undefined;
|
|
24481
24447
|
} & {
|
|
24482
24448
|
bot_id?: string | undefined;
|
|
24483
24449
|
channel_id?: string | undefined;
|
|
24450
|
+
menu_type?: number | undefined;
|
|
24484
24451
|
} & { [K_1 in Exclude<keyof I_1, keyof ListQuickMenuAccessRequest>]: never; }>(object: I_1): ListQuickMenuAccessRequest;
|
|
24485
24452
|
};
|
|
24486
24453
|
export declare const QuickMenuAccessList: {
|
|
@@ -24497,6 +24464,7 @@ export declare const QuickMenuAccessList: {
|
|
|
24497
24464
|
menu_name?: string | undefined;
|
|
24498
24465
|
background?: string | undefined;
|
|
24499
24466
|
action_msg?: string | undefined;
|
|
24467
|
+
menu_type?: number | undefined;
|
|
24500
24468
|
}[] | undefined;
|
|
24501
24469
|
} & {
|
|
24502
24470
|
list_menus?: ({
|
|
@@ -24507,6 +24475,7 @@ export declare const QuickMenuAccessList: {
|
|
|
24507
24475
|
menu_name?: string | undefined;
|
|
24508
24476
|
background?: string | undefined;
|
|
24509
24477
|
action_msg?: string | undefined;
|
|
24478
|
+
menu_type?: number | undefined;
|
|
24510
24479
|
}[] & ({
|
|
24511
24480
|
id?: string | undefined;
|
|
24512
24481
|
bot_id?: string | undefined;
|
|
@@ -24515,6 +24484,7 @@ export declare const QuickMenuAccessList: {
|
|
|
24515
24484
|
menu_name?: string | undefined;
|
|
24516
24485
|
background?: string | undefined;
|
|
24517
24486
|
action_msg?: string | undefined;
|
|
24487
|
+
menu_type?: number | undefined;
|
|
24518
24488
|
} & {
|
|
24519
24489
|
id?: string | undefined;
|
|
24520
24490
|
bot_id?: string | undefined;
|
|
@@ -24523,6 +24493,7 @@ export declare const QuickMenuAccessList: {
|
|
|
24523
24493
|
menu_name?: string | undefined;
|
|
24524
24494
|
background?: string | undefined;
|
|
24525
24495
|
action_msg?: string | undefined;
|
|
24496
|
+
menu_type?: number | undefined;
|
|
24526
24497
|
} & { [K in Exclude<keyof I["list_menus"][number], keyof QuickMenuAccess>]: never; })[] & { [K_1 in Exclude<keyof I["list_menus"], keyof {
|
|
24527
24498
|
id?: string | undefined;
|
|
24528
24499
|
bot_id?: string | undefined;
|
|
@@ -24531,6 +24502,7 @@ export declare const QuickMenuAccessList: {
|
|
|
24531
24502
|
menu_name?: string | undefined;
|
|
24532
24503
|
background?: string | undefined;
|
|
24533
24504
|
action_msg?: string | undefined;
|
|
24505
|
+
menu_type?: number | undefined;
|
|
24534
24506
|
}[]>]: never; }) | undefined;
|
|
24535
24507
|
} & { [K_2 in Exclude<keyof I, "list_menus">]: never; }>(base?: I | undefined): QuickMenuAccessList;
|
|
24536
24508
|
fromPartial<I_1 extends {
|
|
@@ -24542,6 +24514,7 @@ export declare const QuickMenuAccessList: {
|
|
|
24542
24514
|
menu_name?: string | undefined;
|
|
24543
24515
|
background?: string | undefined;
|
|
24544
24516
|
action_msg?: string | undefined;
|
|
24517
|
+
menu_type?: number | undefined;
|
|
24545
24518
|
}[] | undefined;
|
|
24546
24519
|
} & {
|
|
24547
24520
|
list_menus?: ({
|
|
@@ -24552,6 +24525,7 @@ export declare const QuickMenuAccessList: {
|
|
|
24552
24525
|
menu_name?: string | undefined;
|
|
24553
24526
|
background?: string | undefined;
|
|
24554
24527
|
action_msg?: string | undefined;
|
|
24528
|
+
menu_type?: number | undefined;
|
|
24555
24529
|
}[] & ({
|
|
24556
24530
|
id?: string | undefined;
|
|
24557
24531
|
bot_id?: string | undefined;
|
|
@@ -24560,6 +24534,7 @@ export declare const QuickMenuAccessList: {
|
|
|
24560
24534
|
menu_name?: string | undefined;
|
|
24561
24535
|
background?: string | undefined;
|
|
24562
24536
|
action_msg?: string | undefined;
|
|
24537
|
+
menu_type?: number | undefined;
|
|
24563
24538
|
} & {
|
|
24564
24539
|
id?: string | undefined;
|
|
24565
24540
|
bot_id?: string | undefined;
|
|
@@ -24568,6 +24543,7 @@ export declare const QuickMenuAccessList: {
|
|
|
24568
24543
|
menu_name?: string | undefined;
|
|
24569
24544
|
background?: string | undefined;
|
|
24570
24545
|
action_msg?: string | undefined;
|
|
24546
|
+
menu_type?: number | undefined;
|
|
24571
24547
|
} & { [K_3 in Exclude<keyof I_1["list_menus"][number], keyof QuickMenuAccess>]: never; })[] & { [K_4 in Exclude<keyof I_1["list_menus"], keyof {
|
|
24572
24548
|
id?: string | undefined;
|
|
24573
24549
|
bot_id?: string | undefined;
|
|
@@ -24576,6 +24552,7 @@ export declare const QuickMenuAccessList: {
|
|
|
24576
24552
|
menu_name?: string | undefined;
|
|
24577
24553
|
background?: string | undefined;
|
|
24578
24554
|
action_msg?: string | undefined;
|
|
24555
|
+
menu_type?: number | undefined;
|
|
24579
24556
|
}[]>]: never; }) | undefined;
|
|
24580
24557
|
} & { [K_5 in Exclude<keyof I_1, "list_menus">]: never; }>(object: I_1): QuickMenuAccessList;
|
|
24581
24558
|
};
|