mezon-js-protobuf 1.8.55 → 1.8.57
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
CHANGED
|
@@ -261,6 +261,7 @@ export interface SessionLogoutRequest {
|
|
|
261
261
|
|
|
262
262
|
export interface IsBannedResponse {
|
|
263
263
|
is_banned: boolean;
|
|
264
|
+
expired_ban_time: number;
|
|
264
265
|
}
|
|
265
266
|
|
|
266
267
|
export interface IsBannedRequest {
|
|
@@ -664,6 +665,8 @@ export interface ChannelUserList_ChannelUser {
|
|
|
664
665
|
added_by: string;
|
|
665
666
|
/** is banned */
|
|
666
667
|
is_banned: boolean;
|
|
668
|
+
/** expired time */
|
|
669
|
+
expired_ban_time: number;
|
|
667
670
|
}
|
|
668
671
|
|
|
669
672
|
/** A list of users belonging to a channel, along with their role. */
|
|
@@ -1244,7 +1247,9 @@ export interface UpdateClanDescRequest {
|
|
|
1244
1247
|
/** Clan name */
|
|
1245
1248
|
clan_name: string;
|
|
1246
1249
|
/** Clan logo */
|
|
1247
|
-
logo:
|
|
1250
|
+
logo:
|
|
1251
|
+
| string
|
|
1252
|
+
| undefined;
|
|
1248
1253
|
/** Clan banner */
|
|
1249
1254
|
banner:
|
|
1250
1255
|
| string
|
|
@@ -1270,9 +1275,13 @@ export interface UpdateClanDescRequest {
|
|
|
1270
1275
|
| string
|
|
1271
1276
|
| undefined;
|
|
1272
1277
|
/** string description */
|
|
1273
|
-
description:
|
|
1278
|
+
description:
|
|
1279
|
+
| string
|
|
1280
|
+
| undefined;
|
|
1274
1281
|
/** About */
|
|
1275
|
-
about:
|
|
1282
|
+
about:
|
|
1283
|
+
| string
|
|
1284
|
+
| undefined;
|
|
1276
1285
|
/** Short url for community */
|
|
1277
1286
|
short_url:
|
|
1278
1287
|
| string
|
|
@@ -4642,7 +4651,7 @@ export const SessionLogoutRequest = {
|
|
|
4642
4651
|
};
|
|
4643
4652
|
|
|
4644
4653
|
function createBaseIsBannedResponse(): IsBannedResponse {
|
|
4645
|
-
return { is_banned: false };
|
|
4654
|
+
return { is_banned: false, expired_ban_time: 0 };
|
|
4646
4655
|
}
|
|
4647
4656
|
|
|
4648
4657
|
export const IsBannedResponse = {
|
|
@@ -4650,6 +4659,9 @@ export const IsBannedResponse = {
|
|
|
4650
4659
|
if (message.is_banned !== false) {
|
|
4651
4660
|
writer.uint32(8).bool(message.is_banned);
|
|
4652
4661
|
}
|
|
4662
|
+
if (message.expired_ban_time !== 0) {
|
|
4663
|
+
writer.uint32(16).int32(message.expired_ban_time);
|
|
4664
|
+
}
|
|
4653
4665
|
return writer;
|
|
4654
4666
|
},
|
|
4655
4667
|
|
|
@@ -4667,6 +4679,13 @@ export const IsBannedResponse = {
|
|
|
4667
4679
|
|
|
4668
4680
|
message.is_banned = reader.bool();
|
|
4669
4681
|
continue;
|
|
4682
|
+
case 2:
|
|
4683
|
+
if (tag !== 16) {
|
|
4684
|
+
break;
|
|
4685
|
+
}
|
|
4686
|
+
|
|
4687
|
+
message.expired_ban_time = reader.int32();
|
|
4688
|
+
continue;
|
|
4670
4689
|
}
|
|
4671
4690
|
if ((tag & 7) === 4 || tag === 0) {
|
|
4672
4691
|
break;
|
|
@@ -4677,7 +4696,10 @@ export const IsBannedResponse = {
|
|
|
4677
4696
|
},
|
|
4678
4697
|
|
|
4679
4698
|
fromJSON(object: any): IsBannedResponse {
|
|
4680
|
-
return {
|
|
4699
|
+
return {
|
|
4700
|
+
is_banned: isSet(object.is_banned) ? globalThis.Boolean(object.is_banned) : false,
|
|
4701
|
+
expired_ban_time: isSet(object.expired_ban_time) ? globalThis.Number(object.expired_ban_time) : 0,
|
|
4702
|
+
};
|
|
4681
4703
|
},
|
|
4682
4704
|
|
|
4683
4705
|
toJSON(message: IsBannedResponse): unknown {
|
|
@@ -4685,6 +4707,9 @@ export const IsBannedResponse = {
|
|
|
4685
4707
|
if (message.is_banned !== false) {
|
|
4686
4708
|
obj.is_banned = message.is_banned;
|
|
4687
4709
|
}
|
|
4710
|
+
if (message.expired_ban_time !== 0) {
|
|
4711
|
+
obj.expired_ban_time = Math.round(message.expired_ban_time);
|
|
4712
|
+
}
|
|
4688
4713
|
return obj;
|
|
4689
4714
|
},
|
|
4690
4715
|
|
|
@@ -4694,6 +4719,7 @@ export const IsBannedResponse = {
|
|
|
4694
4719
|
fromPartial<I extends Exact<DeepPartial<IsBannedResponse>, I>>(object: I): IsBannedResponse {
|
|
4695
4720
|
const message = createBaseIsBannedResponse();
|
|
4696
4721
|
message.is_banned = object.is_banned ?? false;
|
|
4722
|
+
message.expired_ban_time = object.expired_ban_time ?? 0;
|
|
4697
4723
|
return message;
|
|
4698
4724
|
},
|
|
4699
4725
|
};
|
|
@@ -7498,6 +7524,7 @@ function createBaseChannelUserList_ChannelUser(): ChannelUserList_ChannelUser {
|
|
|
7498
7524
|
clan_id: "",
|
|
7499
7525
|
added_by: "",
|
|
7500
7526
|
is_banned: false,
|
|
7527
|
+
expired_ban_time: 0,
|
|
7501
7528
|
};
|
|
7502
7529
|
}
|
|
7503
7530
|
|
|
@@ -7530,6 +7557,9 @@ export const ChannelUserList_ChannelUser = {
|
|
|
7530
7557
|
if (message.is_banned !== false) {
|
|
7531
7558
|
writer.uint32(72).bool(message.is_banned);
|
|
7532
7559
|
}
|
|
7560
|
+
if (message.expired_ban_time !== 0) {
|
|
7561
|
+
writer.uint32(80).int32(message.expired_ban_time);
|
|
7562
|
+
}
|
|
7533
7563
|
return writer;
|
|
7534
7564
|
},
|
|
7535
7565
|
|
|
@@ -7603,6 +7633,13 @@ export const ChannelUserList_ChannelUser = {
|
|
|
7603
7633
|
|
|
7604
7634
|
message.is_banned = reader.bool();
|
|
7605
7635
|
continue;
|
|
7636
|
+
case 10:
|
|
7637
|
+
if (tag !== 80) {
|
|
7638
|
+
break;
|
|
7639
|
+
}
|
|
7640
|
+
|
|
7641
|
+
message.expired_ban_time = reader.int32();
|
|
7642
|
+
continue;
|
|
7606
7643
|
}
|
|
7607
7644
|
if ((tag & 7) === 4 || tag === 0) {
|
|
7608
7645
|
break;
|
|
@@ -7623,6 +7660,7 @@ export const ChannelUserList_ChannelUser = {
|
|
|
7623
7660
|
clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
7624
7661
|
added_by: isSet(object.added_by) ? globalThis.String(object.added_by) : "",
|
|
7625
7662
|
is_banned: isSet(object.is_banned) ? globalThis.Boolean(object.is_banned) : false,
|
|
7663
|
+
expired_ban_time: isSet(object.expired_ban_time) ? globalThis.Number(object.expired_ban_time) : 0,
|
|
7626
7664
|
};
|
|
7627
7665
|
},
|
|
7628
7666
|
|
|
@@ -7655,6 +7693,9 @@ export const ChannelUserList_ChannelUser = {
|
|
|
7655
7693
|
if (message.is_banned !== false) {
|
|
7656
7694
|
obj.is_banned = message.is_banned;
|
|
7657
7695
|
}
|
|
7696
|
+
if (message.expired_ban_time !== 0) {
|
|
7697
|
+
obj.expired_ban_time = Math.round(message.expired_ban_time);
|
|
7698
|
+
}
|
|
7658
7699
|
return obj;
|
|
7659
7700
|
},
|
|
7660
7701
|
|
|
@@ -7672,6 +7713,7 @@ export const ChannelUserList_ChannelUser = {
|
|
|
7672
7713
|
message.clan_id = object.clan_id ?? "";
|
|
7673
7714
|
message.added_by = object.added_by ?? "";
|
|
7674
7715
|
message.is_banned = object.is_banned ?? false;
|
|
7716
|
+
message.expired_ban_time = object.expired_ban_time ?? 0;
|
|
7675
7717
|
return message;
|
|
7676
7718
|
},
|
|
7677
7719
|
};
|
|
@@ -12079,7 +12121,7 @@ function createBaseUpdateClanDescRequest(): UpdateClanDescRequest {
|
|
|
12079
12121
|
return {
|
|
12080
12122
|
clan_id: "",
|
|
12081
12123
|
clan_name: "",
|
|
12082
|
-
logo:
|
|
12124
|
+
logo: undefined,
|
|
12083
12125
|
banner: undefined,
|
|
12084
12126
|
status: 0,
|
|
12085
12127
|
is_onboarding: undefined,
|
|
@@ -12087,8 +12129,8 @@ function createBaseUpdateClanDescRequest(): UpdateClanDescRequest {
|
|
|
12087
12129
|
onboarding_banner: undefined,
|
|
12088
12130
|
is_community: undefined,
|
|
12089
12131
|
community_banner: undefined,
|
|
12090
|
-
description:
|
|
12091
|
-
about:
|
|
12132
|
+
description: undefined,
|
|
12133
|
+
about: undefined,
|
|
12092
12134
|
short_url: undefined,
|
|
12093
12135
|
prevent_anonymous: false,
|
|
12094
12136
|
};
|
|
@@ -12102,8 +12144,8 @@ export const UpdateClanDescRequest = {
|
|
|
12102
12144
|
if (message.clan_name !== "") {
|
|
12103
12145
|
writer.uint32(18).string(message.clan_name);
|
|
12104
12146
|
}
|
|
12105
|
-
if (message.logo !==
|
|
12106
|
-
writer.uint32(26).
|
|
12147
|
+
if (message.logo !== undefined) {
|
|
12148
|
+
StringValue.encode({ value: message.logo! }, writer.uint32(26).fork()).ldelim();
|
|
12107
12149
|
}
|
|
12108
12150
|
if (message.banner !== undefined) {
|
|
12109
12151
|
StringValue.encode({ value: message.banner! }, writer.uint32(34).fork()).ldelim();
|
|
@@ -12126,11 +12168,11 @@ export const UpdateClanDescRequest = {
|
|
|
12126
12168
|
if (message.community_banner !== undefined) {
|
|
12127
12169
|
StringValue.encode({ value: message.community_banner! }, writer.uint32(82).fork()).ldelim();
|
|
12128
12170
|
}
|
|
12129
|
-
if (message.description !==
|
|
12130
|
-
writer.uint32(90).
|
|
12171
|
+
if (message.description !== undefined) {
|
|
12172
|
+
StringValue.encode({ value: message.description! }, writer.uint32(90).fork()).ldelim();
|
|
12131
12173
|
}
|
|
12132
|
-
if (message.about !==
|
|
12133
|
-
writer.uint32(98).
|
|
12174
|
+
if (message.about !== undefined) {
|
|
12175
|
+
StringValue.encode({ value: message.about! }, writer.uint32(98).fork()).ldelim();
|
|
12134
12176
|
}
|
|
12135
12177
|
if (message.short_url !== undefined) {
|
|
12136
12178
|
StringValue.encode({ value: message.short_url! }, writer.uint32(106).fork()).ldelim();
|
|
@@ -12167,7 +12209,7 @@ export const UpdateClanDescRequest = {
|
|
|
12167
12209
|
break;
|
|
12168
12210
|
}
|
|
12169
12211
|
|
|
12170
|
-
message.logo = reader.
|
|
12212
|
+
message.logo = StringValue.decode(reader, reader.uint32()).value;
|
|
12171
12213
|
continue;
|
|
12172
12214
|
case 4:
|
|
12173
12215
|
if (tag !== 34) {
|
|
@@ -12223,14 +12265,14 @@ export const UpdateClanDescRequest = {
|
|
|
12223
12265
|
break;
|
|
12224
12266
|
}
|
|
12225
12267
|
|
|
12226
|
-
message.description = reader.
|
|
12268
|
+
message.description = StringValue.decode(reader, reader.uint32()).value;
|
|
12227
12269
|
continue;
|
|
12228
12270
|
case 12:
|
|
12229
12271
|
if (tag !== 98) {
|
|
12230
12272
|
break;
|
|
12231
12273
|
}
|
|
12232
12274
|
|
|
12233
|
-
message.about = reader.
|
|
12275
|
+
message.about = StringValue.decode(reader, reader.uint32()).value;
|
|
12234
12276
|
continue;
|
|
12235
12277
|
case 13:
|
|
12236
12278
|
if (tag !== 106) {
|
|
@@ -12259,7 +12301,7 @@ export const UpdateClanDescRequest = {
|
|
|
12259
12301
|
return {
|
|
12260
12302
|
clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
12261
12303
|
clan_name: isSet(object.clan_name) ? globalThis.String(object.clan_name) : "",
|
|
12262
|
-
logo: isSet(object.logo) ?
|
|
12304
|
+
logo: isSet(object.logo) ? String(object.logo) : undefined,
|
|
12263
12305
|
banner: isSet(object.banner) ? String(object.banner) : undefined,
|
|
12264
12306
|
status: isSet(object.status) ? globalThis.Number(object.status) : 0,
|
|
12265
12307
|
is_onboarding: isSet(object.is_onboarding) ? Boolean(object.is_onboarding) : undefined,
|
|
@@ -12267,8 +12309,8 @@ export const UpdateClanDescRequest = {
|
|
|
12267
12309
|
onboarding_banner: isSet(object.onboarding_banner) ? String(object.onboarding_banner) : undefined,
|
|
12268
12310
|
is_community: isSet(object.is_community) ? Boolean(object.is_community) : undefined,
|
|
12269
12311
|
community_banner: isSet(object.community_banner) ? String(object.community_banner) : undefined,
|
|
12270
|
-
description: isSet(object.description) ?
|
|
12271
|
-
about: isSet(object.about) ?
|
|
12312
|
+
description: isSet(object.description) ? String(object.description) : undefined,
|
|
12313
|
+
about: isSet(object.about) ? String(object.about) : undefined,
|
|
12272
12314
|
short_url: isSet(object.short_url) ? String(object.short_url) : undefined,
|
|
12273
12315
|
prevent_anonymous: isSet(object.prevent_anonymous) ? globalThis.Boolean(object.prevent_anonymous) : false,
|
|
12274
12316
|
};
|
|
@@ -12282,7 +12324,7 @@ export const UpdateClanDescRequest = {
|
|
|
12282
12324
|
if (message.clan_name !== "") {
|
|
12283
12325
|
obj.clan_name = message.clan_name;
|
|
12284
12326
|
}
|
|
12285
|
-
if (message.logo !==
|
|
12327
|
+
if (message.logo !== undefined) {
|
|
12286
12328
|
obj.logo = message.logo;
|
|
12287
12329
|
}
|
|
12288
12330
|
if (message.banner !== undefined) {
|
|
@@ -12306,10 +12348,10 @@ export const UpdateClanDescRequest = {
|
|
|
12306
12348
|
if (message.community_banner !== undefined) {
|
|
12307
12349
|
obj.community_banner = message.community_banner;
|
|
12308
12350
|
}
|
|
12309
|
-
if (message.description !==
|
|
12351
|
+
if (message.description !== undefined) {
|
|
12310
12352
|
obj.description = message.description;
|
|
12311
12353
|
}
|
|
12312
|
-
if (message.about !==
|
|
12354
|
+
if (message.about !== undefined) {
|
|
12313
12355
|
obj.about = message.about;
|
|
12314
12356
|
}
|
|
12315
12357
|
if (message.short_url !== undefined) {
|
|
@@ -12328,7 +12370,7 @@ export const UpdateClanDescRequest = {
|
|
|
12328
12370
|
const message = createBaseUpdateClanDescRequest();
|
|
12329
12371
|
message.clan_id = object.clan_id ?? "";
|
|
12330
12372
|
message.clan_name = object.clan_name ?? "";
|
|
12331
|
-
message.logo = object.logo ??
|
|
12373
|
+
message.logo = object.logo ?? undefined;
|
|
12332
12374
|
message.banner = object.banner ?? undefined;
|
|
12333
12375
|
message.status = object.status ?? 0;
|
|
12334
12376
|
message.is_onboarding = object.is_onboarding ?? undefined;
|
|
@@ -12336,8 +12378,8 @@ export const UpdateClanDescRequest = {
|
|
|
12336
12378
|
message.onboarding_banner = object.onboarding_banner ?? undefined;
|
|
12337
12379
|
message.is_community = object.is_community ?? undefined;
|
|
12338
12380
|
message.community_banner = object.community_banner ?? undefined;
|
|
12339
|
-
message.description = object.description ??
|
|
12340
|
-
message.about = object.about ??
|
|
12381
|
+
message.description = object.description ?? undefined;
|
|
12382
|
+
message.about = object.about ?? undefined;
|
|
12341
12383
|
message.short_url = object.short_url ?? undefined;
|
|
12342
12384
|
message.prevent_anonymous = object.prevent_anonymous ?? false;
|
|
12343
12385
|
return message;
|
|
@@ -128,6 +128,7 @@ export interface SessionLogoutRequest {
|
|
|
128
128
|
}
|
|
129
129
|
export interface IsBannedResponse {
|
|
130
130
|
is_banned: boolean;
|
|
131
|
+
expired_ban_time: number;
|
|
131
132
|
}
|
|
132
133
|
export interface IsBannedRequest {
|
|
133
134
|
channel_id: string;
|
|
@@ -457,6 +458,8 @@ export interface ChannelUserList_ChannelUser {
|
|
|
457
458
|
added_by: string;
|
|
458
459
|
/** is banned */
|
|
459
460
|
is_banned: boolean;
|
|
461
|
+
/** expired time */
|
|
462
|
+
expired_ban_time: number;
|
|
460
463
|
}
|
|
461
464
|
/** A list of users belonging to a channel, along with their role. */
|
|
462
465
|
export interface VoiceChannelUser {
|
|
@@ -928,7 +931,7 @@ export interface UpdateClanDescRequest {
|
|
|
928
931
|
/** Clan name */
|
|
929
932
|
clan_name: string;
|
|
930
933
|
/** Clan logo */
|
|
931
|
-
logo: string;
|
|
934
|
+
logo: string | undefined;
|
|
932
935
|
/** Clan banner */
|
|
933
936
|
banner: string | undefined;
|
|
934
937
|
/** Clan status */
|
|
@@ -944,9 +947,9 @@ export interface UpdateClanDescRequest {
|
|
|
944
947
|
/** Community banner. */
|
|
945
948
|
community_banner: string | undefined;
|
|
946
949
|
/** string description */
|
|
947
|
-
description: string;
|
|
950
|
+
description: string | undefined;
|
|
948
951
|
/** About */
|
|
949
|
-
about: string;
|
|
952
|
+
about: string | undefined;
|
|
950
953
|
/** Short url for community */
|
|
951
954
|
short_url: string | undefined;
|
|
952
955
|
/** Prevent anonymous */
|
|
@@ -3479,14 +3482,18 @@ export declare const IsBannedResponse: {
|
|
|
3479
3482
|
toJSON(message: IsBannedResponse): unknown;
|
|
3480
3483
|
create<I extends {
|
|
3481
3484
|
is_banned?: boolean | undefined;
|
|
3485
|
+
expired_ban_time?: number | undefined;
|
|
3482
3486
|
} & {
|
|
3483
3487
|
is_banned?: boolean | undefined;
|
|
3484
|
-
|
|
3488
|
+
expired_ban_time?: number | undefined;
|
|
3489
|
+
} & { [K in Exclude<keyof I, keyof IsBannedResponse>]: never; }>(base?: I | undefined): IsBannedResponse;
|
|
3485
3490
|
fromPartial<I_1 extends {
|
|
3486
3491
|
is_banned?: boolean | undefined;
|
|
3492
|
+
expired_ban_time?: number | undefined;
|
|
3487
3493
|
} & {
|
|
3488
3494
|
is_banned?: boolean | undefined;
|
|
3489
|
-
|
|
3495
|
+
expired_ban_time?: number | undefined;
|
|
3496
|
+
} & { [K_1 in Exclude<keyof I_1, keyof IsBannedResponse>]: never; }>(object: I_1): IsBannedResponse;
|
|
3490
3497
|
};
|
|
3491
3498
|
export declare const IsBannedRequest: {
|
|
3492
3499
|
encode(message: IsBannedRequest, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -5392,6 +5399,7 @@ export declare const ChannelUserList: {
|
|
|
5392
5399
|
clan_id?: string | undefined;
|
|
5393
5400
|
added_by?: string | undefined;
|
|
5394
5401
|
is_banned?: boolean | undefined;
|
|
5402
|
+
expired_ban_time?: number | undefined;
|
|
5395
5403
|
}[] | undefined;
|
|
5396
5404
|
cursor?: string | undefined;
|
|
5397
5405
|
channel_id?: string | undefined;
|
|
@@ -5406,6 +5414,7 @@ export declare const ChannelUserList: {
|
|
|
5406
5414
|
clan_id?: string | undefined;
|
|
5407
5415
|
added_by?: string | undefined;
|
|
5408
5416
|
is_banned?: boolean | undefined;
|
|
5417
|
+
expired_ban_time?: number | undefined;
|
|
5409
5418
|
}[] & ({
|
|
5410
5419
|
user_id?: string | undefined;
|
|
5411
5420
|
role_id?: string[] | undefined;
|
|
@@ -5416,6 +5425,7 @@ export declare const ChannelUserList: {
|
|
|
5416
5425
|
clan_id?: string | undefined;
|
|
5417
5426
|
added_by?: string | undefined;
|
|
5418
5427
|
is_banned?: boolean | undefined;
|
|
5428
|
+
expired_ban_time?: number | undefined;
|
|
5419
5429
|
} & {
|
|
5420
5430
|
user_id?: string | undefined;
|
|
5421
5431
|
role_id?: (string[] & string[] & { [K in Exclude<keyof I["channel_users"][number]["role_id"], keyof string[]>]: never; }) | undefined;
|
|
@@ -5426,6 +5436,7 @@ export declare const ChannelUserList: {
|
|
|
5426
5436
|
clan_id?: string | undefined;
|
|
5427
5437
|
added_by?: string | undefined;
|
|
5428
5438
|
is_banned?: boolean | undefined;
|
|
5439
|
+
expired_ban_time?: number | undefined;
|
|
5429
5440
|
} & { [K_1 in Exclude<keyof I["channel_users"][number], keyof ChannelUserList_ChannelUser>]: never; })[] & { [K_2 in Exclude<keyof I["channel_users"], keyof {
|
|
5430
5441
|
user_id?: string | undefined;
|
|
5431
5442
|
role_id?: string[] | undefined;
|
|
@@ -5436,6 +5447,7 @@ export declare const ChannelUserList: {
|
|
|
5436
5447
|
clan_id?: string | undefined;
|
|
5437
5448
|
added_by?: string | undefined;
|
|
5438
5449
|
is_banned?: boolean | undefined;
|
|
5450
|
+
expired_ban_time?: number | undefined;
|
|
5439
5451
|
}[]>]: never; }) | undefined;
|
|
5440
5452
|
cursor?: string | undefined;
|
|
5441
5453
|
channel_id?: string | undefined;
|
|
@@ -5451,6 +5463,7 @@ export declare const ChannelUserList: {
|
|
|
5451
5463
|
clan_id?: string | undefined;
|
|
5452
5464
|
added_by?: string | undefined;
|
|
5453
5465
|
is_banned?: boolean | undefined;
|
|
5466
|
+
expired_ban_time?: number | undefined;
|
|
5454
5467
|
}[] | undefined;
|
|
5455
5468
|
cursor?: string | undefined;
|
|
5456
5469
|
channel_id?: string | undefined;
|
|
@@ -5465,6 +5478,7 @@ export declare const ChannelUserList: {
|
|
|
5465
5478
|
clan_id?: string | undefined;
|
|
5466
5479
|
added_by?: string | undefined;
|
|
5467
5480
|
is_banned?: boolean | undefined;
|
|
5481
|
+
expired_ban_time?: number | undefined;
|
|
5468
5482
|
}[] & ({
|
|
5469
5483
|
user_id?: string | undefined;
|
|
5470
5484
|
role_id?: string[] | undefined;
|
|
@@ -5475,6 +5489,7 @@ export declare const ChannelUserList: {
|
|
|
5475
5489
|
clan_id?: string | undefined;
|
|
5476
5490
|
added_by?: string | undefined;
|
|
5477
5491
|
is_banned?: boolean | undefined;
|
|
5492
|
+
expired_ban_time?: number | undefined;
|
|
5478
5493
|
} & {
|
|
5479
5494
|
user_id?: string | undefined;
|
|
5480
5495
|
role_id?: (string[] & string[] & { [K_4 in Exclude<keyof I_1["channel_users"][number]["role_id"], keyof string[]>]: never; }) | undefined;
|
|
@@ -5485,6 +5500,7 @@ export declare const ChannelUserList: {
|
|
|
5485
5500
|
clan_id?: string | undefined;
|
|
5486
5501
|
added_by?: string | undefined;
|
|
5487
5502
|
is_banned?: boolean | undefined;
|
|
5503
|
+
expired_ban_time?: number | undefined;
|
|
5488
5504
|
} & { [K_5 in Exclude<keyof I_1["channel_users"][number], keyof ChannelUserList_ChannelUser>]: never; })[] & { [K_6 in Exclude<keyof I_1["channel_users"], keyof {
|
|
5489
5505
|
user_id?: string | undefined;
|
|
5490
5506
|
role_id?: string[] | undefined;
|
|
@@ -5495,6 +5511,7 @@ export declare const ChannelUserList: {
|
|
|
5495
5511
|
clan_id?: string | undefined;
|
|
5496
5512
|
added_by?: string | undefined;
|
|
5497
5513
|
is_banned?: boolean | undefined;
|
|
5514
|
+
expired_ban_time?: number | undefined;
|
|
5498
5515
|
}[]>]: never; }) | undefined;
|
|
5499
5516
|
cursor?: string | undefined;
|
|
5500
5517
|
channel_id?: string | undefined;
|
|
@@ -5515,6 +5532,7 @@ export declare const ChannelUserList_ChannelUser: {
|
|
|
5515
5532
|
clan_id?: string | undefined;
|
|
5516
5533
|
added_by?: string | undefined;
|
|
5517
5534
|
is_banned?: boolean | undefined;
|
|
5535
|
+
expired_ban_time?: number | undefined;
|
|
5518
5536
|
} & {
|
|
5519
5537
|
user_id?: string | undefined;
|
|
5520
5538
|
role_id?: (string[] & string[] & { [K in Exclude<keyof I["role_id"], keyof string[]>]: never; }) | undefined;
|
|
@@ -5525,6 +5543,7 @@ export declare const ChannelUserList_ChannelUser: {
|
|
|
5525
5543
|
clan_id?: string | undefined;
|
|
5526
5544
|
added_by?: string | undefined;
|
|
5527
5545
|
is_banned?: boolean | undefined;
|
|
5546
|
+
expired_ban_time?: number | undefined;
|
|
5528
5547
|
} & { [K_1 in Exclude<keyof I, keyof ChannelUserList_ChannelUser>]: never; }>(base?: I | undefined): ChannelUserList_ChannelUser;
|
|
5529
5548
|
fromPartial<I_1 extends {
|
|
5530
5549
|
user_id?: string | undefined;
|
|
@@ -5536,6 +5555,7 @@ export declare const ChannelUserList_ChannelUser: {
|
|
|
5536
5555
|
clan_id?: string | undefined;
|
|
5537
5556
|
added_by?: string | undefined;
|
|
5538
5557
|
is_banned?: boolean | undefined;
|
|
5558
|
+
expired_ban_time?: number | undefined;
|
|
5539
5559
|
} & {
|
|
5540
5560
|
user_id?: string | undefined;
|
|
5541
5561
|
role_id?: (string[] & string[] & { [K_2 in Exclude<keyof I_1["role_id"], keyof string[]>]: never; }) | undefined;
|
|
@@ -5546,6 +5566,7 @@ export declare const ChannelUserList_ChannelUser: {
|
|
|
5546
5566
|
clan_id?: string | undefined;
|
|
5547
5567
|
added_by?: string | undefined;
|
|
5548
5568
|
is_banned?: boolean | undefined;
|
|
5569
|
+
expired_ban_time?: number | undefined;
|
|
5549
5570
|
} & { [K_3 in Exclude<keyof I_1, keyof ChannelUserList_ChannelUser>]: never; }>(object: I_1): ChannelUserList_ChannelUser;
|
|
5550
5571
|
};
|
|
5551
5572
|
export declare const VoiceChannelUser: {
|
|
@@ -426,8 +426,10 @@ export interface ChannelMessageSend {
|
|
|
426
426
|
is_public: boolean;
|
|
427
427
|
/** code */
|
|
428
428
|
code: number;
|
|
429
|
-
/**
|
|
429
|
+
/** topic id */
|
|
430
430
|
topic_id: string;
|
|
431
|
+
/** message id */
|
|
432
|
+
message_id: string;
|
|
431
433
|
}
|
|
432
434
|
/** Update a message previously sent to a realtime channel. */
|
|
433
435
|
export interface ChannelMessageUpdate {
|
|
@@ -1427,6 +1429,7 @@ export declare const Envelope: {
|
|
|
1427
1429
|
is_public?: boolean | undefined;
|
|
1428
1430
|
code?: number | undefined;
|
|
1429
1431
|
topic_id?: string | undefined;
|
|
1432
|
+
message_id?: string | undefined;
|
|
1430
1433
|
} | undefined;
|
|
1431
1434
|
channel_message_update?: {
|
|
1432
1435
|
clan_id?: string | undefined;
|
|
@@ -2362,6 +2365,7 @@ export declare const Envelope: {
|
|
|
2362
2365
|
is_public?: boolean | undefined;
|
|
2363
2366
|
code?: number | undefined;
|
|
2364
2367
|
topic_id?: string | undefined;
|
|
2368
|
+
message_id?: string | undefined;
|
|
2365
2369
|
} | undefined;
|
|
2366
2370
|
receiver_id?: string | undefined;
|
|
2367
2371
|
} | undefined;
|
|
@@ -2640,6 +2644,7 @@ export declare const Envelope: {
|
|
|
2640
2644
|
clan_id?: string | undefined;
|
|
2641
2645
|
added_by?: string | undefined;
|
|
2642
2646
|
is_banned?: boolean | undefined;
|
|
2647
|
+
expired_ban_time?: number | undefined;
|
|
2643
2648
|
}[] | undefined;
|
|
2644
2649
|
cursor?: string | undefined;
|
|
2645
2650
|
channel_id?: string | undefined;
|
|
@@ -3290,6 +3295,7 @@ export declare const Envelope: {
|
|
|
3290
3295
|
is_public?: boolean | undefined;
|
|
3291
3296
|
code?: number | undefined;
|
|
3292
3297
|
topic_id?: string | undefined;
|
|
3298
|
+
message_id?: string | undefined;
|
|
3293
3299
|
} | undefined;
|
|
3294
3300
|
} | undefined;
|
|
3295
3301
|
un_block_friend?: {
|
|
@@ -3545,6 +3551,7 @@ export declare const Envelope: {
|
|
|
3545
3551
|
is_public?: boolean | undefined;
|
|
3546
3552
|
code?: number | undefined;
|
|
3547
3553
|
topic_id?: string | undefined;
|
|
3554
|
+
message_id?: string | undefined;
|
|
3548
3555
|
} & {
|
|
3549
3556
|
clan_id?: string | undefined;
|
|
3550
3557
|
channel_id?: string | undefined;
|
|
@@ -3671,6 +3678,7 @@ export declare const Envelope: {
|
|
|
3671
3678
|
is_public?: boolean | undefined;
|
|
3672
3679
|
code?: number | undefined;
|
|
3673
3680
|
topic_id?: string | undefined;
|
|
3681
|
+
message_id?: string | undefined;
|
|
3674
3682
|
} & { [K_15 in Exclude<keyof I["channel_message_send"], keyof ChannelMessageSend>]: never; }) | undefined;
|
|
3675
3683
|
channel_message_update?: ({
|
|
3676
3684
|
clan_id?: string | undefined;
|
|
@@ -6369,6 +6377,7 @@ export declare const Envelope: {
|
|
|
6369
6377
|
is_public?: boolean | undefined;
|
|
6370
6378
|
code?: number | undefined;
|
|
6371
6379
|
topic_id?: string | undefined;
|
|
6380
|
+
message_id?: string | undefined;
|
|
6372
6381
|
} | undefined;
|
|
6373
6382
|
receiver_id?: string | undefined;
|
|
6374
6383
|
} & {
|
|
@@ -6414,6 +6423,7 @@ export declare const Envelope: {
|
|
|
6414
6423
|
is_public?: boolean | undefined;
|
|
6415
6424
|
code?: number | undefined;
|
|
6416
6425
|
topic_id?: string | undefined;
|
|
6426
|
+
message_id?: string | undefined;
|
|
6417
6427
|
} & {
|
|
6418
6428
|
clan_id?: string | undefined;
|
|
6419
6429
|
channel_id?: string | undefined;
|
|
@@ -6540,6 +6550,7 @@ export declare const Envelope: {
|
|
|
6540
6550
|
is_public?: boolean | undefined;
|
|
6541
6551
|
code?: number | undefined;
|
|
6542
6552
|
topic_id?: string | undefined;
|
|
6553
|
+
message_id?: string | undefined;
|
|
6543
6554
|
} & { [K_186 in Exclude<keyof I["ephemeral_message_send"]["message"], keyof ChannelMessageSend>]: never; }) | undefined;
|
|
6544
6555
|
receiver_id?: string | undefined;
|
|
6545
6556
|
} & { [K_187 in Exclude<keyof I["ephemeral_message_send"], keyof EphemeralMessageSend>]: never; }) | undefined;
|
|
@@ -6829,6 +6840,7 @@ export declare const Envelope: {
|
|
|
6829
6840
|
clan_id?: string | undefined;
|
|
6830
6841
|
added_by?: string | undefined;
|
|
6831
6842
|
is_banned?: boolean | undefined;
|
|
6843
|
+
expired_ban_time?: number | undefined;
|
|
6832
6844
|
}[] | undefined;
|
|
6833
6845
|
cursor?: string | undefined;
|
|
6834
6846
|
channel_id?: string | undefined;
|
|
@@ -8302,6 +8314,7 @@ export declare const Envelope: {
|
|
|
8302
8314
|
clan_id?: string | undefined;
|
|
8303
8315
|
added_by?: string | undefined;
|
|
8304
8316
|
is_banned?: boolean | undefined;
|
|
8317
|
+
expired_ban_time?: number | undefined;
|
|
8305
8318
|
}[] | undefined;
|
|
8306
8319
|
cursor?: string | undefined;
|
|
8307
8320
|
channel_id?: string | undefined;
|
|
@@ -8316,6 +8329,7 @@ export declare const Envelope: {
|
|
|
8316
8329
|
clan_id?: string | undefined;
|
|
8317
8330
|
added_by?: string | undefined;
|
|
8318
8331
|
is_banned?: boolean | undefined;
|
|
8332
|
+
expired_ban_time?: number | undefined;
|
|
8319
8333
|
}[] & ({
|
|
8320
8334
|
user_id?: string | undefined;
|
|
8321
8335
|
role_id?: string[] | undefined;
|
|
@@ -8326,6 +8340,7 @@ export declare const Envelope: {
|
|
|
8326
8340
|
clan_id?: string | undefined;
|
|
8327
8341
|
added_by?: string | undefined;
|
|
8328
8342
|
is_banned?: boolean | undefined;
|
|
8343
|
+
expired_ban_time?: number | undefined;
|
|
8329
8344
|
} & {
|
|
8330
8345
|
user_id?: string | undefined;
|
|
8331
8346
|
role_id?: (string[] & string[] & { [K_240 in Exclude<keyof I["list_data_socket"]["channel_user_list"]["channel_users"][number]["role_id"], keyof string[]>]: never; }) | undefined;
|
|
@@ -8336,6 +8351,7 @@ export declare const Envelope: {
|
|
|
8336
8351
|
clan_id?: string | undefined;
|
|
8337
8352
|
added_by?: string | undefined;
|
|
8338
8353
|
is_banned?: boolean | undefined;
|
|
8354
|
+
expired_ban_time?: number | undefined;
|
|
8339
8355
|
} & { [K_241 in Exclude<keyof I["list_data_socket"]["channel_user_list"]["channel_users"][number], keyof import("../api/api").ChannelUserList_ChannelUser>]: never; })[] & { [K_242 in Exclude<keyof I["list_data_socket"]["channel_user_list"]["channel_users"], keyof {
|
|
8340
8356
|
user_id?: string | undefined;
|
|
8341
8357
|
role_id?: string[] | undefined;
|
|
@@ -8346,6 +8362,7 @@ export declare const Envelope: {
|
|
|
8346
8362
|
clan_id?: string | undefined;
|
|
8347
8363
|
added_by?: string | undefined;
|
|
8348
8364
|
is_banned?: boolean | undefined;
|
|
8365
|
+
expired_ban_time?: number | undefined;
|
|
8349
8366
|
}[]>]: never; }) | undefined;
|
|
8350
8367
|
cursor?: string | undefined;
|
|
8351
8368
|
channel_id?: string | undefined;
|
|
@@ -11001,6 +11018,7 @@ export declare const Envelope: {
|
|
|
11001
11018
|
is_public?: boolean | undefined;
|
|
11002
11019
|
code?: number | undefined;
|
|
11003
11020
|
topic_id?: string | undefined;
|
|
11021
|
+
message_id?: string | undefined;
|
|
11004
11022
|
} | undefined;
|
|
11005
11023
|
} & {
|
|
11006
11024
|
menu_name?: string | undefined;
|
|
@@ -11046,6 +11064,7 @@ export declare const Envelope: {
|
|
|
11046
11064
|
is_public?: boolean | undefined;
|
|
11047
11065
|
code?: number | undefined;
|
|
11048
11066
|
topic_id?: string | undefined;
|
|
11067
|
+
message_id?: string | undefined;
|
|
11049
11068
|
} & {
|
|
11050
11069
|
clan_id?: string | undefined;
|
|
11051
11070
|
channel_id?: string | undefined;
|
|
@@ -11172,6 +11191,7 @@ export declare const Envelope: {
|
|
|
11172
11191
|
is_public?: boolean | undefined;
|
|
11173
11192
|
code?: number | undefined;
|
|
11174
11193
|
topic_id?: string | undefined;
|
|
11194
|
+
message_id?: string | undefined;
|
|
11175
11195
|
} & { [K_386 in Exclude<keyof I["quick_menu_event"]["message"], keyof ChannelMessageSend>]: never; }) | undefined;
|
|
11176
11196
|
} & { [K_387 in Exclude<keyof I["quick_menu_event"], keyof QuickMenuDataEvent>]: never; }) | undefined;
|
|
11177
11197
|
un_block_friend?: ({
|
|
@@ -11357,6 +11377,7 @@ export declare const Envelope: {
|
|
|
11357
11377
|
is_public?: boolean | undefined;
|
|
11358
11378
|
code?: number | undefined;
|
|
11359
11379
|
topic_id?: string | undefined;
|
|
11380
|
+
message_id?: string | undefined;
|
|
11360
11381
|
} | undefined;
|
|
11361
11382
|
channel_message_update?: {
|
|
11362
11383
|
clan_id?: string | undefined;
|
|
@@ -12292,6 +12313,7 @@ export declare const Envelope: {
|
|
|
12292
12313
|
is_public?: boolean | undefined;
|
|
12293
12314
|
code?: number | undefined;
|
|
12294
12315
|
topic_id?: string | undefined;
|
|
12316
|
+
message_id?: string | undefined;
|
|
12295
12317
|
} | undefined;
|
|
12296
12318
|
receiver_id?: string | undefined;
|
|
12297
12319
|
} | undefined;
|
|
@@ -12570,6 +12592,7 @@ export declare const Envelope: {
|
|
|
12570
12592
|
clan_id?: string | undefined;
|
|
12571
12593
|
added_by?: string | undefined;
|
|
12572
12594
|
is_banned?: boolean | undefined;
|
|
12595
|
+
expired_ban_time?: number | undefined;
|
|
12573
12596
|
}[] | undefined;
|
|
12574
12597
|
cursor?: string | undefined;
|
|
12575
12598
|
channel_id?: string | undefined;
|
|
@@ -13220,6 +13243,7 @@ export declare const Envelope: {
|
|
|
13220
13243
|
is_public?: boolean | undefined;
|
|
13221
13244
|
code?: number | undefined;
|
|
13222
13245
|
topic_id?: string | undefined;
|
|
13246
|
+
message_id?: string | undefined;
|
|
13223
13247
|
} | undefined;
|
|
13224
13248
|
} | undefined;
|
|
13225
13249
|
un_block_friend?: {
|
|
@@ -13475,6 +13499,7 @@ export declare const Envelope: {
|
|
|
13475
13499
|
is_public?: boolean | undefined;
|
|
13476
13500
|
code?: number | undefined;
|
|
13477
13501
|
topic_id?: string | undefined;
|
|
13502
|
+
message_id?: string | undefined;
|
|
13478
13503
|
} & {
|
|
13479
13504
|
clan_id?: string | undefined;
|
|
13480
13505
|
channel_id?: string | undefined;
|
|
@@ -13601,6 +13626,7 @@ export declare const Envelope: {
|
|
|
13601
13626
|
is_public?: boolean | undefined;
|
|
13602
13627
|
code?: number | undefined;
|
|
13603
13628
|
topic_id?: string | undefined;
|
|
13629
|
+
message_id?: string | undefined;
|
|
13604
13630
|
} & { [K_410 in Exclude<keyof I_1["channel_message_send"], keyof ChannelMessageSend>]: never; }) | undefined;
|
|
13605
13631
|
channel_message_update?: ({
|
|
13606
13632
|
clan_id?: string | undefined;
|
|
@@ -16299,6 +16325,7 @@ export declare const Envelope: {
|
|
|
16299
16325
|
is_public?: boolean | undefined;
|
|
16300
16326
|
code?: number | undefined;
|
|
16301
16327
|
topic_id?: string | undefined;
|
|
16328
|
+
message_id?: string | undefined;
|
|
16302
16329
|
} | undefined;
|
|
16303
16330
|
receiver_id?: string | undefined;
|
|
16304
16331
|
} & {
|
|
@@ -16344,6 +16371,7 @@ export declare const Envelope: {
|
|
|
16344
16371
|
is_public?: boolean | undefined;
|
|
16345
16372
|
code?: number | undefined;
|
|
16346
16373
|
topic_id?: string | undefined;
|
|
16374
|
+
message_id?: string | undefined;
|
|
16347
16375
|
} & {
|
|
16348
16376
|
clan_id?: string | undefined;
|
|
16349
16377
|
channel_id?: string | undefined;
|
|
@@ -16470,6 +16498,7 @@ export declare const Envelope: {
|
|
|
16470
16498
|
is_public?: boolean | undefined;
|
|
16471
16499
|
code?: number | undefined;
|
|
16472
16500
|
topic_id?: string | undefined;
|
|
16501
|
+
message_id?: string | undefined;
|
|
16473
16502
|
} & { [K_581 in Exclude<keyof I_1["ephemeral_message_send"]["message"], keyof ChannelMessageSend>]: never; }) | undefined;
|
|
16474
16503
|
receiver_id?: string | undefined;
|
|
16475
16504
|
} & { [K_582 in Exclude<keyof I_1["ephemeral_message_send"], keyof EphemeralMessageSend>]: never; }) | undefined;
|
|
@@ -16759,6 +16788,7 @@ export declare const Envelope: {
|
|
|
16759
16788
|
clan_id?: string | undefined;
|
|
16760
16789
|
added_by?: string | undefined;
|
|
16761
16790
|
is_banned?: boolean | undefined;
|
|
16791
|
+
expired_ban_time?: number | undefined;
|
|
16762
16792
|
}[] | undefined;
|
|
16763
16793
|
cursor?: string | undefined;
|
|
16764
16794
|
channel_id?: string | undefined;
|
|
@@ -18232,6 +18262,7 @@ export declare const Envelope: {
|
|
|
18232
18262
|
clan_id?: string | undefined;
|
|
18233
18263
|
added_by?: string | undefined;
|
|
18234
18264
|
is_banned?: boolean | undefined;
|
|
18265
|
+
expired_ban_time?: number | undefined;
|
|
18235
18266
|
}[] | undefined;
|
|
18236
18267
|
cursor?: string | undefined;
|
|
18237
18268
|
channel_id?: string | undefined;
|
|
@@ -18246,6 +18277,7 @@ export declare const Envelope: {
|
|
|
18246
18277
|
clan_id?: string | undefined;
|
|
18247
18278
|
added_by?: string | undefined;
|
|
18248
18279
|
is_banned?: boolean | undefined;
|
|
18280
|
+
expired_ban_time?: number | undefined;
|
|
18249
18281
|
}[] & ({
|
|
18250
18282
|
user_id?: string | undefined;
|
|
18251
18283
|
role_id?: string[] | undefined;
|
|
@@ -18256,6 +18288,7 @@ export declare const Envelope: {
|
|
|
18256
18288
|
clan_id?: string | undefined;
|
|
18257
18289
|
added_by?: string | undefined;
|
|
18258
18290
|
is_banned?: boolean | undefined;
|
|
18291
|
+
expired_ban_time?: number | undefined;
|
|
18259
18292
|
} & {
|
|
18260
18293
|
user_id?: string | undefined;
|
|
18261
18294
|
role_id?: (string[] & string[] & { [K_635 in Exclude<keyof I_1["list_data_socket"]["channel_user_list"]["channel_users"][number]["role_id"], keyof string[]>]: never; }) | undefined;
|
|
@@ -18266,6 +18299,7 @@ export declare const Envelope: {
|
|
|
18266
18299
|
clan_id?: string | undefined;
|
|
18267
18300
|
added_by?: string | undefined;
|
|
18268
18301
|
is_banned?: boolean | undefined;
|
|
18302
|
+
expired_ban_time?: number | undefined;
|
|
18269
18303
|
} & { [K_636 in Exclude<keyof I_1["list_data_socket"]["channel_user_list"]["channel_users"][number], keyof import("../api/api").ChannelUserList_ChannelUser>]: never; })[] & { [K_637 in Exclude<keyof I_1["list_data_socket"]["channel_user_list"]["channel_users"], keyof {
|
|
18270
18304
|
user_id?: string | undefined;
|
|
18271
18305
|
role_id?: string[] | undefined;
|
|
@@ -18276,6 +18310,7 @@ export declare const Envelope: {
|
|
|
18276
18310
|
clan_id?: string | undefined;
|
|
18277
18311
|
added_by?: string | undefined;
|
|
18278
18312
|
is_banned?: boolean | undefined;
|
|
18313
|
+
expired_ban_time?: number | undefined;
|
|
18279
18314
|
}[]>]: never; }) | undefined;
|
|
18280
18315
|
cursor?: string | undefined;
|
|
18281
18316
|
channel_id?: string | undefined;
|
|
@@ -20931,6 +20966,7 @@ export declare const Envelope: {
|
|
|
20931
20966
|
is_public?: boolean | undefined;
|
|
20932
20967
|
code?: number | undefined;
|
|
20933
20968
|
topic_id?: string | undefined;
|
|
20969
|
+
message_id?: string | undefined;
|
|
20934
20970
|
} | undefined;
|
|
20935
20971
|
} & {
|
|
20936
20972
|
menu_name?: string | undefined;
|
|
@@ -20976,6 +21012,7 @@ export declare const Envelope: {
|
|
|
20976
21012
|
is_public?: boolean | undefined;
|
|
20977
21013
|
code?: number | undefined;
|
|
20978
21014
|
topic_id?: string | undefined;
|
|
21015
|
+
message_id?: string | undefined;
|
|
20979
21016
|
} & {
|
|
20980
21017
|
clan_id?: string | undefined;
|
|
20981
21018
|
channel_id?: string | undefined;
|
|
@@ -21102,6 +21139,7 @@ export declare const Envelope: {
|
|
|
21102
21139
|
is_public?: boolean | undefined;
|
|
21103
21140
|
code?: number | undefined;
|
|
21104
21141
|
topic_id?: string | undefined;
|
|
21142
|
+
message_id?: string | undefined;
|
|
21105
21143
|
} & { [K_781 in Exclude<keyof I_1["quick_menu_event"]["message"], keyof ChannelMessageSend>]: never; }) | undefined;
|
|
21106
21144
|
} & { [K_782 in Exclude<keyof I_1["quick_menu_event"], keyof QuickMenuDataEvent>]: never; }) | undefined;
|
|
21107
21145
|
un_block_friend?: ({
|
|
@@ -22089,6 +22127,7 @@ export declare const EphemeralMessageSend: {
|
|
|
22089
22127
|
is_public?: boolean | undefined;
|
|
22090
22128
|
code?: number | undefined;
|
|
22091
22129
|
topic_id?: string | undefined;
|
|
22130
|
+
message_id?: string | undefined;
|
|
22092
22131
|
} | undefined;
|
|
22093
22132
|
receiver_id?: string | undefined;
|
|
22094
22133
|
} & {
|
|
@@ -22134,6 +22173,7 @@ export declare const EphemeralMessageSend: {
|
|
|
22134
22173
|
is_public?: boolean | undefined;
|
|
22135
22174
|
code?: number | undefined;
|
|
22136
22175
|
topic_id?: string | undefined;
|
|
22176
|
+
message_id?: string | undefined;
|
|
22137
22177
|
} & {
|
|
22138
22178
|
clan_id?: string | undefined;
|
|
22139
22179
|
channel_id?: string | undefined;
|
|
@@ -22260,6 +22300,7 @@ export declare const EphemeralMessageSend: {
|
|
|
22260
22300
|
is_public?: boolean | undefined;
|
|
22261
22301
|
code?: number | undefined;
|
|
22262
22302
|
topic_id?: string | undefined;
|
|
22303
|
+
message_id?: string | undefined;
|
|
22263
22304
|
} & { [K_6 in Exclude<keyof I["message"], keyof ChannelMessageSend>]: never; }) | undefined;
|
|
22264
22305
|
receiver_id?: string | undefined;
|
|
22265
22306
|
} & { [K_7 in Exclude<keyof I, keyof EphemeralMessageSend>]: never; }>(base?: I | undefined): EphemeralMessageSend;
|
|
@@ -22306,6 +22347,7 @@ export declare const EphemeralMessageSend: {
|
|
|
22306
22347
|
is_public?: boolean | undefined;
|
|
22307
22348
|
code?: number | undefined;
|
|
22308
22349
|
topic_id?: string | undefined;
|
|
22350
|
+
message_id?: string | undefined;
|
|
22309
22351
|
} | undefined;
|
|
22310
22352
|
receiver_id?: string | undefined;
|
|
22311
22353
|
} & {
|
|
@@ -22351,6 +22393,7 @@ export declare const EphemeralMessageSend: {
|
|
|
22351
22393
|
is_public?: boolean | undefined;
|
|
22352
22394
|
code?: number | undefined;
|
|
22353
22395
|
topic_id?: string | undefined;
|
|
22396
|
+
message_id?: string | undefined;
|
|
22354
22397
|
} & {
|
|
22355
22398
|
clan_id?: string | undefined;
|
|
22356
22399
|
channel_id?: string | undefined;
|
|
@@ -22477,6 +22520,7 @@ export declare const EphemeralMessageSend: {
|
|
|
22477
22520
|
is_public?: boolean | undefined;
|
|
22478
22521
|
code?: number | undefined;
|
|
22479
22522
|
topic_id?: string | undefined;
|
|
22523
|
+
message_id?: string | undefined;
|
|
22480
22524
|
} & { [K_14 in Exclude<keyof I_1["message"], keyof ChannelMessageSend>]: never; }) | undefined;
|
|
22481
22525
|
receiver_id?: string | undefined;
|
|
22482
22526
|
} & { [K_15 in Exclude<keyof I_1, keyof EphemeralMessageSend>]: never; }>(object: I_1): EphemeralMessageSend;
|
|
@@ -22530,6 +22574,7 @@ export declare const QuickMenuDataEvent: {
|
|
|
22530
22574
|
is_public?: boolean | undefined;
|
|
22531
22575
|
code?: number | undefined;
|
|
22532
22576
|
topic_id?: string | undefined;
|
|
22577
|
+
message_id?: string | undefined;
|
|
22533
22578
|
} | undefined;
|
|
22534
22579
|
} & {
|
|
22535
22580
|
menu_name?: string | undefined;
|
|
@@ -22575,6 +22620,7 @@ export declare const QuickMenuDataEvent: {
|
|
|
22575
22620
|
is_public?: boolean | undefined;
|
|
22576
22621
|
code?: number | undefined;
|
|
22577
22622
|
topic_id?: string | undefined;
|
|
22623
|
+
message_id?: string | undefined;
|
|
22578
22624
|
} & {
|
|
22579
22625
|
clan_id?: string | undefined;
|
|
22580
22626
|
channel_id?: string | undefined;
|
|
@@ -22701,6 +22747,7 @@ export declare const QuickMenuDataEvent: {
|
|
|
22701
22747
|
is_public?: boolean | undefined;
|
|
22702
22748
|
code?: number | undefined;
|
|
22703
22749
|
topic_id?: string | undefined;
|
|
22750
|
+
message_id?: string | undefined;
|
|
22704
22751
|
} & { [K_6 in Exclude<keyof I["message"], keyof ChannelMessageSend>]: never; }) | undefined;
|
|
22705
22752
|
} & { [K_7 in Exclude<keyof I, keyof QuickMenuDataEvent>]: never; }>(base?: I | undefined): QuickMenuDataEvent;
|
|
22706
22753
|
fromPartial<I_1 extends {
|
|
@@ -22747,6 +22794,7 @@ export declare const QuickMenuDataEvent: {
|
|
|
22747
22794
|
is_public?: boolean | undefined;
|
|
22748
22795
|
code?: number | undefined;
|
|
22749
22796
|
topic_id?: string | undefined;
|
|
22797
|
+
message_id?: string | undefined;
|
|
22750
22798
|
} | undefined;
|
|
22751
22799
|
} & {
|
|
22752
22800
|
menu_name?: string | undefined;
|
|
@@ -22792,6 +22840,7 @@ export declare const QuickMenuDataEvent: {
|
|
|
22792
22840
|
is_public?: boolean | undefined;
|
|
22793
22841
|
code?: number | undefined;
|
|
22794
22842
|
topic_id?: string | undefined;
|
|
22843
|
+
message_id?: string | undefined;
|
|
22795
22844
|
} & {
|
|
22796
22845
|
clan_id?: string | undefined;
|
|
22797
22846
|
channel_id?: string | undefined;
|
|
@@ -22918,6 +22967,7 @@ export declare const QuickMenuDataEvent: {
|
|
|
22918
22967
|
is_public?: boolean | undefined;
|
|
22919
22968
|
code?: number | undefined;
|
|
22920
22969
|
topic_id?: string | undefined;
|
|
22970
|
+
message_id?: string | undefined;
|
|
22921
22971
|
} & { [K_14 in Exclude<keyof I_1["message"], keyof ChannelMessageSend>]: never; }) | undefined;
|
|
22922
22972
|
} & { [K_15 in Exclude<keyof I_1, keyof QuickMenuDataEvent>]: never; }>(object: I_1): QuickMenuDataEvent;
|
|
22923
22973
|
};
|
|
@@ -23020,6 +23070,7 @@ export declare const ChannelMessageSend: {
|
|
|
23020
23070
|
is_public?: boolean | undefined;
|
|
23021
23071
|
code?: number | undefined;
|
|
23022
23072
|
topic_id?: string | undefined;
|
|
23073
|
+
message_id?: string | undefined;
|
|
23023
23074
|
} & {
|
|
23024
23075
|
clan_id?: string | undefined;
|
|
23025
23076
|
channel_id?: string | undefined;
|
|
@@ -23146,6 +23197,7 @@ export declare const ChannelMessageSend: {
|
|
|
23146
23197
|
is_public?: boolean | undefined;
|
|
23147
23198
|
code?: number | undefined;
|
|
23148
23199
|
topic_id?: string | undefined;
|
|
23200
|
+
message_id?: string | undefined;
|
|
23149
23201
|
} & { [K_6 in Exclude<keyof I, keyof ChannelMessageSend>]: never; }>(base?: I | undefined): ChannelMessageSend;
|
|
23150
23202
|
fromPartial<I_1 extends {
|
|
23151
23203
|
clan_id?: string | undefined;
|
|
@@ -23189,6 +23241,7 @@ export declare const ChannelMessageSend: {
|
|
|
23189
23241
|
is_public?: boolean | undefined;
|
|
23190
23242
|
code?: number | undefined;
|
|
23191
23243
|
topic_id?: string | undefined;
|
|
23244
|
+
message_id?: string | undefined;
|
|
23192
23245
|
} & {
|
|
23193
23246
|
clan_id?: string | undefined;
|
|
23194
23247
|
channel_id?: string | undefined;
|
|
@@ -23315,6 +23368,7 @@ export declare const ChannelMessageSend: {
|
|
|
23315
23368
|
is_public?: boolean | undefined;
|
|
23316
23369
|
code?: number | undefined;
|
|
23317
23370
|
topic_id?: string | undefined;
|
|
23371
|
+
message_id?: string | undefined;
|
|
23318
23372
|
} & { [K_13 in Exclude<keyof I_1, keyof ChannelMessageSend>]: never; }>(object: I_1): ChannelMessageSend;
|
|
23319
23373
|
};
|
|
23320
23374
|
export declare const ChannelMessageUpdate: {
|
|
@@ -28949,6 +29003,7 @@ export declare const ListDataSocket: {
|
|
|
28949
29003
|
clan_id?: string | undefined;
|
|
28950
29004
|
added_by?: string | undefined;
|
|
28951
29005
|
is_banned?: boolean | undefined;
|
|
29006
|
+
expired_ban_time?: number | undefined;
|
|
28952
29007
|
}[] | undefined;
|
|
28953
29008
|
cursor?: string | undefined;
|
|
28954
29009
|
channel_id?: string | undefined;
|
|
@@ -30422,6 +30477,7 @@ export declare const ListDataSocket: {
|
|
|
30422
30477
|
clan_id?: string | undefined;
|
|
30423
30478
|
added_by?: string | undefined;
|
|
30424
30479
|
is_banned?: boolean | undefined;
|
|
30480
|
+
expired_ban_time?: number | undefined;
|
|
30425
30481
|
}[] | undefined;
|
|
30426
30482
|
cursor?: string | undefined;
|
|
30427
30483
|
channel_id?: string | undefined;
|
|
@@ -30436,6 +30492,7 @@ export declare const ListDataSocket: {
|
|
|
30436
30492
|
clan_id?: string | undefined;
|
|
30437
30493
|
added_by?: string | undefined;
|
|
30438
30494
|
is_banned?: boolean | undefined;
|
|
30495
|
+
expired_ban_time?: number | undefined;
|
|
30439
30496
|
}[] & ({
|
|
30440
30497
|
user_id?: string | undefined;
|
|
30441
30498
|
role_id?: string[] | undefined;
|
|
@@ -30446,6 +30503,7 @@ export declare const ListDataSocket: {
|
|
|
30446
30503
|
clan_id?: string | undefined;
|
|
30447
30504
|
added_by?: string | undefined;
|
|
30448
30505
|
is_banned?: boolean | undefined;
|
|
30506
|
+
expired_ban_time?: number | undefined;
|
|
30449
30507
|
} & {
|
|
30450
30508
|
user_id?: string | undefined;
|
|
30451
30509
|
role_id?: (string[] & string[] & { [K_48 in Exclude<keyof I["channel_user_list"]["channel_users"][number]["role_id"], keyof string[]>]: never; }) | undefined;
|
|
@@ -30456,6 +30514,7 @@ export declare const ListDataSocket: {
|
|
|
30456
30514
|
clan_id?: string | undefined;
|
|
30457
30515
|
added_by?: string | undefined;
|
|
30458
30516
|
is_banned?: boolean | undefined;
|
|
30517
|
+
expired_ban_time?: number | undefined;
|
|
30459
30518
|
} & { [K_49 in Exclude<keyof I["channel_user_list"]["channel_users"][number], keyof import("../api/api").ChannelUserList_ChannelUser>]: never; })[] & { [K_50 in Exclude<keyof I["channel_user_list"]["channel_users"], keyof {
|
|
30460
30519
|
user_id?: string | undefined;
|
|
30461
30520
|
role_id?: string[] | undefined;
|
|
@@ -30466,6 +30525,7 @@ export declare const ListDataSocket: {
|
|
|
30466
30525
|
clan_id?: string | undefined;
|
|
30467
30526
|
added_by?: string | undefined;
|
|
30468
30527
|
is_banned?: boolean | undefined;
|
|
30528
|
+
expired_ban_time?: number | undefined;
|
|
30469
30529
|
}[]>]: never; }) | undefined;
|
|
30470
30530
|
cursor?: string | undefined;
|
|
30471
30531
|
channel_id?: string | undefined;
|
|
@@ -33338,6 +33398,7 @@ export declare const ListDataSocket: {
|
|
|
33338
33398
|
clan_id?: string | undefined;
|
|
33339
33399
|
added_by?: string | undefined;
|
|
33340
33400
|
is_banned?: boolean | undefined;
|
|
33401
|
+
expired_ban_time?: number | undefined;
|
|
33341
33402
|
}[] | undefined;
|
|
33342
33403
|
cursor?: string | undefined;
|
|
33343
33404
|
channel_id?: string | undefined;
|
|
@@ -34811,6 +34872,7 @@ export declare const ListDataSocket: {
|
|
|
34811
34872
|
clan_id?: string | undefined;
|
|
34812
34873
|
added_by?: string | undefined;
|
|
34813
34874
|
is_banned?: boolean | undefined;
|
|
34875
|
+
expired_ban_time?: number | undefined;
|
|
34814
34876
|
}[] | undefined;
|
|
34815
34877
|
cursor?: string | undefined;
|
|
34816
34878
|
channel_id?: string | undefined;
|
|
@@ -34825,6 +34887,7 @@ export declare const ListDataSocket: {
|
|
|
34825
34887
|
clan_id?: string | undefined;
|
|
34826
34888
|
added_by?: string | undefined;
|
|
34827
34889
|
is_banned?: boolean | undefined;
|
|
34890
|
+
expired_ban_time?: number | undefined;
|
|
34828
34891
|
}[] & ({
|
|
34829
34892
|
user_id?: string | undefined;
|
|
34830
34893
|
role_id?: string[] | undefined;
|
|
@@ -34835,6 +34898,7 @@ export declare const ListDataSocket: {
|
|
|
34835
34898
|
clan_id?: string | undefined;
|
|
34836
34899
|
added_by?: string | undefined;
|
|
34837
34900
|
is_banned?: boolean | undefined;
|
|
34901
|
+
expired_ban_time?: number | undefined;
|
|
34838
34902
|
} & {
|
|
34839
34903
|
user_id?: string | undefined;
|
|
34840
34904
|
role_id?: (string[] & string[] & { [K_236 in Exclude<keyof I_1["channel_user_list"]["channel_users"][number]["role_id"], keyof string[]>]: never; }) | undefined;
|
|
@@ -34845,6 +34909,7 @@ export declare const ListDataSocket: {
|
|
|
34845
34909
|
clan_id?: string | undefined;
|
|
34846
34910
|
added_by?: string | undefined;
|
|
34847
34911
|
is_banned?: boolean | undefined;
|
|
34912
|
+
expired_ban_time?: number | undefined;
|
|
34848
34913
|
} & { [K_237 in Exclude<keyof I_1["channel_user_list"]["channel_users"][number], keyof import("../api/api").ChannelUserList_ChannelUser>]: never; })[] & { [K_238 in Exclude<keyof I_1["channel_user_list"]["channel_users"], keyof {
|
|
34849
34914
|
user_id?: string | undefined;
|
|
34850
34915
|
role_id?: string[] | undefined;
|
|
@@ -34855,6 +34920,7 @@ export declare const ListDataSocket: {
|
|
|
34855
34920
|
clan_id?: string | undefined;
|
|
34856
34921
|
added_by?: string | undefined;
|
|
34857
34922
|
is_banned?: boolean | undefined;
|
|
34923
|
+
expired_ban_time?: number | undefined;
|
|
34858
34924
|
}[]>]: never; }) | undefined;
|
|
34859
34925
|
cursor?: string | undefined;
|
|
34860
34926
|
channel_id?: string | undefined;
|
|
@@ -4070,7 +4070,8 @@ function createBaseChannelUserList_ChannelUser() {
|
|
|
4070
4070
|
clan_avatar: "",
|
|
4071
4071
|
clan_id: "",
|
|
4072
4072
|
added_by: "",
|
|
4073
|
-
is_banned: false
|
|
4073
|
+
is_banned: false,
|
|
4074
|
+
expired_ban_time: 0
|
|
4074
4075
|
};
|
|
4075
4076
|
}
|
|
4076
4077
|
var ChannelUserList_ChannelUser = {
|
|
@@ -4102,6 +4103,9 @@ var ChannelUserList_ChannelUser = {
|
|
|
4102
4103
|
if (message.is_banned !== false) {
|
|
4103
4104
|
writer.uint32(72).bool(message.is_banned);
|
|
4104
4105
|
}
|
|
4106
|
+
if (message.expired_ban_time !== 0) {
|
|
4107
|
+
writer.uint32(80).int32(message.expired_ban_time);
|
|
4108
|
+
}
|
|
4105
4109
|
return writer;
|
|
4106
4110
|
},
|
|
4107
4111
|
decode(input, length) {
|
|
@@ -4165,6 +4169,12 @@ var ChannelUserList_ChannelUser = {
|
|
|
4165
4169
|
}
|
|
4166
4170
|
message.is_banned = reader.bool();
|
|
4167
4171
|
continue;
|
|
4172
|
+
case 10:
|
|
4173
|
+
if (tag !== 80) {
|
|
4174
|
+
break;
|
|
4175
|
+
}
|
|
4176
|
+
message.expired_ban_time = reader.int32();
|
|
4177
|
+
continue;
|
|
4168
4178
|
}
|
|
4169
4179
|
if ((tag & 7) === 4 || tag === 0) {
|
|
4170
4180
|
break;
|
|
@@ -4183,7 +4193,8 @@ var ChannelUserList_ChannelUser = {
|
|
|
4183
4193
|
clan_avatar: isSet3(object.clan_avatar) ? globalThis.String(object.clan_avatar) : "",
|
|
4184
4194
|
clan_id: isSet3(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
4185
4195
|
added_by: isSet3(object.added_by) ? globalThis.String(object.added_by) : "",
|
|
4186
|
-
is_banned: isSet3(object.is_banned) ? globalThis.Boolean(object.is_banned) : false
|
|
4196
|
+
is_banned: isSet3(object.is_banned) ? globalThis.Boolean(object.is_banned) : false,
|
|
4197
|
+
expired_ban_time: isSet3(object.expired_ban_time) ? globalThis.Number(object.expired_ban_time) : 0
|
|
4187
4198
|
};
|
|
4188
4199
|
},
|
|
4189
4200
|
toJSON(message) {
|
|
@@ -4216,13 +4227,16 @@ var ChannelUserList_ChannelUser = {
|
|
|
4216
4227
|
if (message.is_banned !== false) {
|
|
4217
4228
|
obj.is_banned = message.is_banned;
|
|
4218
4229
|
}
|
|
4230
|
+
if (message.expired_ban_time !== 0) {
|
|
4231
|
+
obj.expired_ban_time = Math.round(message.expired_ban_time);
|
|
4232
|
+
}
|
|
4219
4233
|
return obj;
|
|
4220
4234
|
},
|
|
4221
4235
|
create(base) {
|
|
4222
4236
|
return ChannelUserList_ChannelUser.fromPartial(base != null ? base : {});
|
|
4223
4237
|
},
|
|
4224
4238
|
fromPartial(object) {
|
|
4225
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
4239
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
|
|
4226
4240
|
const message = createBaseChannelUserList_ChannelUser();
|
|
4227
4241
|
message.user_id = (_a = object.user_id) != null ? _a : "";
|
|
4228
4242
|
message.role_id = ((_b = object.role_id) == null ? void 0 : _b.map((e) => e)) || [];
|
|
@@ -4233,6 +4247,7 @@ var ChannelUserList_ChannelUser = {
|
|
|
4233
4247
|
message.clan_id = (_g = object.clan_id) != null ? _g : "";
|
|
4234
4248
|
message.added_by = (_h = object.added_by) != null ? _h : "";
|
|
4235
4249
|
message.is_banned = (_i = object.is_banned) != null ? _i : false;
|
|
4250
|
+
message.expired_ban_time = (_j = object.expired_ban_time) != null ? _j : 0;
|
|
4236
4251
|
return message;
|
|
4237
4252
|
}
|
|
4238
4253
|
};
|
|
@@ -17329,7 +17344,8 @@ function createBaseChannelMessageSend() {
|
|
|
17329
17344
|
avatar: "",
|
|
17330
17345
|
is_public: false,
|
|
17331
17346
|
code: 0,
|
|
17332
|
-
topic_id: ""
|
|
17347
|
+
topic_id: "",
|
|
17348
|
+
message_id: ""
|
|
17333
17349
|
};
|
|
17334
17350
|
}
|
|
17335
17351
|
var ChannelMessageSend = {
|
|
@@ -17373,6 +17389,9 @@ var ChannelMessageSend = {
|
|
|
17373
17389
|
if (message.topic_id !== "") {
|
|
17374
17390
|
writer.uint32(106).string(message.topic_id);
|
|
17375
17391
|
}
|
|
17392
|
+
if (message.message_id !== "") {
|
|
17393
|
+
writer.uint32(114).string(message.message_id);
|
|
17394
|
+
}
|
|
17376
17395
|
return writer;
|
|
17377
17396
|
},
|
|
17378
17397
|
decode(input, length) {
|
|
@@ -17460,6 +17479,12 @@ var ChannelMessageSend = {
|
|
|
17460
17479
|
}
|
|
17461
17480
|
message.topic_id = reader.string();
|
|
17462
17481
|
continue;
|
|
17482
|
+
case 14:
|
|
17483
|
+
if (tag !== 114) {
|
|
17484
|
+
break;
|
|
17485
|
+
}
|
|
17486
|
+
message.message_id = reader.string();
|
|
17487
|
+
continue;
|
|
17463
17488
|
}
|
|
17464
17489
|
if ((tag & 7) === 4 || tag === 0) {
|
|
17465
17490
|
break;
|
|
@@ -17482,7 +17507,8 @@ var ChannelMessageSend = {
|
|
|
17482
17507
|
avatar: isSet4(object.avatar) ? globalThis.String(object.avatar) : "",
|
|
17483
17508
|
is_public: isSet4(object.is_public) ? globalThis.Boolean(object.is_public) : false,
|
|
17484
17509
|
code: isSet4(object.code) ? globalThis.Number(object.code) : 0,
|
|
17485
|
-
topic_id: isSet4(object.topic_id) ? globalThis.String(object.topic_id) : ""
|
|
17510
|
+
topic_id: isSet4(object.topic_id) ? globalThis.String(object.topic_id) : "",
|
|
17511
|
+
message_id: isSet4(object.message_id) ? globalThis.String(object.message_id) : ""
|
|
17486
17512
|
};
|
|
17487
17513
|
},
|
|
17488
17514
|
toJSON(message) {
|
|
@@ -17527,13 +17553,16 @@ var ChannelMessageSend = {
|
|
|
17527
17553
|
if (message.topic_id !== "") {
|
|
17528
17554
|
obj.topic_id = message.topic_id;
|
|
17529
17555
|
}
|
|
17556
|
+
if (message.message_id !== "") {
|
|
17557
|
+
obj.message_id = message.message_id;
|
|
17558
|
+
}
|
|
17530
17559
|
return obj;
|
|
17531
17560
|
},
|
|
17532
17561
|
create(base) {
|
|
17533
17562
|
return ChannelMessageSend.fromPartial(base != null ? base : {});
|
|
17534
17563
|
},
|
|
17535
17564
|
fromPartial(object) {
|
|
17536
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
|
|
17565
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
|
|
17537
17566
|
const message = createBaseChannelMessageSend();
|
|
17538
17567
|
message.clan_id = (_a = object.clan_id) != null ? _a : "";
|
|
17539
17568
|
message.channel_id = (_b = object.channel_id) != null ? _b : "";
|
|
@@ -17548,6 +17577,7 @@ var ChannelMessageSend = {
|
|
|
17548
17577
|
message.is_public = (_k = object.is_public) != null ? _k : false;
|
|
17549
17578
|
message.code = (_l = object.code) != null ? _l : 0;
|
|
17550
17579
|
message.topic_id = (_m = object.topic_id) != null ? _m : "";
|
|
17580
|
+
message.message_id = (_n = object.message_id) != null ? _n : "";
|
|
17551
17581
|
return message;
|
|
17552
17582
|
}
|
|
17553
17583
|
};
|
|
@@ -4057,7 +4057,8 @@ function createBaseChannelUserList_ChannelUser() {
|
|
|
4057
4057
|
clan_avatar: "",
|
|
4058
4058
|
clan_id: "",
|
|
4059
4059
|
added_by: "",
|
|
4060
|
-
is_banned: false
|
|
4060
|
+
is_banned: false,
|
|
4061
|
+
expired_ban_time: 0
|
|
4061
4062
|
};
|
|
4062
4063
|
}
|
|
4063
4064
|
var ChannelUserList_ChannelUser = {
|
|
@@ -4089,6 +4090,9 @@ var ChannelUserList_ChannelUser = {
|
|
|
4089
4090
|
if (message.is_banned !== false) {
|
|
4090
4091
|
writer.uint32(72).bool(message.is_banned);
|
|
4091
4092
|
}
|
|
4093
|
+
if (message.expired_ban_time !== 0) {
|
|
4094
|
+
writer.uint32(80).int32(message.expired_ban_time);
|
|
4095
|
+
}
|
|
4092
4096
|
return writer;
|
|
4093
4097
|
},
|
|
4094
4098
|
decode(input, length) {
|
|
@@ -4152,6 +4156,12 @@ var ChannelUserList_ChannelUser = {
|
|
|
4152
4156
|
}
|
|
4153
4157
|
message.is_banned = reader.bool();
|
|
4154
4158
|
continue;
|
|
4159
|
+
case 10:
|
|
4160
|
+
if (tag !== 80) {
|
|
4161
|
+
break;
|
|
4162
|
+
}
|
|
4163
|
+
message.expired_ban_time = reader.int32();
|
|
4164
|
+
continue;
|
|
4155
4165
|
}
|
|
4156
4166
|
if ((tag & 7) === 4 || tag === 0) {
|
|
4157
4167
|
break;
|
|
@@ -4170,7 +4180,8 @@ var ChannelUserList_ChannelUser = {
|
|
|
4170
4180
|
clan_avatar: isSet3(object.clan_avatar) ? globalThis.String(object.clan_avatar) : "",
|
|
4171
4181
|
clan_id: isSet3(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
4172
4182
|
added_by: isSet3(object.added_by) ? globalThis.String(object.added_by) : "",
|
|
4173
|
-
is_banned: isSet3(object.is_banned) ? globalThis.Boolean(object.is_banned) : false
|
|
4183
|
+
is_banned: isSet3(object.is_banned) ? globalThis.Boolean(object.is_banned) : false,
|
|
4184
|
+
expired_ban_time: isSet3(object.expired_ban_time) ? globalThis.Number(object.expired_ban_time) : 0
|
|
4174
4185
|
};
|
|
4175
4186
|
},
|
|
4176
4187
|
toJSON(message) {
|
|
@@ -4203,13 +4214,16 @@ var ChannelUserList_ChannelUser = {
|
|
|
4203
4214
|
if (message.is_banned !== false) {
|
|
4204
4215
|
obj.is_banned = message.is_banned;
|
|
4205
4216
|
}
|
|
4217
|
+
if (message.expired_ban_time !== 0) {
|
|
4218
|
+
obj.expired_ban_time = Math.round(message.expired_ban_time);
|
|
4219
|
+
}
|
|
4206
4220
|
return obj;
|
|
4207
4221
|
},
|
|
4208
4222
|
create(base) {
|
|
4209
4223
|
return ChannelUserList_ChannelUser.fromPartial(base != null ? base : {});
|
|
4210
4224
|
},
|
|
4211
4225
|
fromPartial(object) {
|
|
4212
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
4226
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
|
|
4213
4227
|
const message = createBaseChannelUserList_ChannelUser();
|
|
4214
4228
|
message.user_id = (_a = object.user_id) != null ? _a : "";
|
|
4215
4229
|
message.role_id = ((_b = object.role_id) == null ? void 0 : _b.map((e) => e)) || [];
|
|
@@ -4220,6 +4234,7 @@ var ChannelUserList_ChannelUser = {
|
|
|
4220
4234
|
message.clan_id = (_g = object.clan_id) != null ? _g : "";
|
|
4221
4235
|
message.added_by = (_h = object.added_by) != null ? _h : "";
|
|
4222
4236
|
message.is_banned = (_i = object.is_banned) != null ? _i : false;
|
|
4237
|
+
message.expired_ban_time = (_j = object.expired_ban_time) != null ? _j : 0;
|
|
4223
4238
|
return message;
|
|
4224
4239
|
}
|
|
4225
4240
|
};
|
|
@@ -17316,7 +17331,8 @@ function createBaseChannelMessageSend() {
|
|
|
17316
17331
|
avatar: "",
|
|
17317
17332
|
is_public: false,
|
|
17318
17333
|
code: 0,
|
|
17319
|
-
topic_id: ""
|
|
17334
|
+
topic_id: "",
|
|
17335
|
+
message_id: ""
|
|
17320
17336
|
};
|
|
17321
17337
|
}
|
|
17322
17338
|
var ChannelMessageSend = {
|
|
@@ -17360,6 +17376,9 @@ var ChannelMessageSend = {
|
|
|
17360
17376
|
if (message.topic_id !== "") {
|
|
17361
17377
|
writer.uint32(106).string(message.topic_id);
|
|
17362
17378
|
}
|
|
17379
|
+
if (message.message_id !== "") {
|
|
17380
|
+
writer.uint32(114).string(message.message_id);
|
|
17381
|
+
}
|
|
17363
17382
|
return writer;
|
|
17364
17383
|
},
|
|
17365
17384
|
decode(input, length) {
|
|
@@ -17447,6 +17466,12 @@ var ChannelMessageSend = {
|
|
|
17447
17466
|
}
|
|
17448
17467
|
message.topic_id = reader.string();
|
|
17449
17468
|
continue;
|
|
17469
|
+
case 14:
|
|
17470
|
+
if (tag !== 114) {
|
|
17471
|
+
break;
|
|
17472
|
+
}
|
|
17473
|
+
message.message_id = reader.string();
|
|
17474
|
+
continue;
|
|
17450
17475
|
}
|
|
17451
17476
|
if ((tag & 7) === 4 || tag === 0) {
|
|
17452
17477
|
break;
|
|
@@ -17469,7 +17494,8 @@ var ChannelMessageSend = {
|
|
|
17469
17494
|
avatar: isSet4(object.avatar) ? globalThis.String(object.avatar) : "",
|
|
17470
17495
|
is_public: isSet4(object.is_public) ? globalThis.Boolean(object.is_public) : false,
|
|
17471
17496
|
code: isSet4(object.code) ? globalThis.Number(object.code) : 0,
|
|
17472
|
-
topic_id: isSet4(object.topic_id) ? globalThis.String(object.topic_id) : ""
|
|
17497
|
+
topic_id: isSet4(object.topic_id) ? globalThis.String(object.topic_id) : "",
|
|
17498
|
+
message_id: isSet4(object.message_id) ? globalThis.String(object.message_id) : ""
|
|
17473
17499
|
};
|
|
17474
17500
|
},
|
|
17475
17501
|
toJSON(message) {
|
|
@@ -17514,13 +17540,16 @@ var ChannelMessageSend = {
|
|
|
17514
17540
|
if (message.topic_id !== "") {
|
|
17515
17541
|
obj.topic_id = message.topic_id;
|
|
17516
17542
|
}
|
|
17543
|
+
if (message.message_id !== "") {
|
|
17544
|
+
obj.message_id = message.message_id;
|
|
17545
|
+
}
|
|
17517
17546
|
return obj;
|
|
17518
17547
|
},
|
|
17519
17548
|
create(base) {
|
|
17520
17549
|
return ChannelMessageSend.fromPartial(base != null ? base : {});
|
|
17521
17550
|
},
|
|
17522
17551
|
fromPartial(object) {
|
|
17523
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
|
|
17552
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
|
|
17524
17553
|
const message = createBaseChannelMessageSend();
|
|
17525
17554
|
message.clan_id = (_a = object.clan_id) != null ? _a : "";
|
|
17526
17555
|
message.channel_id = (_b = object.channel_id) != null ? _b : "";
|
|
@@ -17535,6 +17564,7 @@ var ChannelMessageSend = {
|
|
|
17535
17564
|
message.is_public = (_k = object.is_public) != null ? _k : false;
|
|
17536
17565
|
message.code = (_l = object.code) != null ? _l : 0;
|
|
17537
17566
|
message.topic_id = (_m = object.topic_id) != null ? _m : "";
|
|
17567
|
+
message.message_id = (_n = object.message_id) != null ? _n : "";
|
|
17538
17568
|
return message;
|
|
17539
17569
|
}
|
|
17540
17570
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mezon-js-protobuf",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.57",
|
|
4
4
|
"description": "Websocket adapter adding protocol buffer support to the Mezon Javascript client.",
|
|
5
5
|
"main": "dist/mezon-js-protobuf.cjs.js",
|
|
6
6
|
"module": "dist/mezon-js-protobuf.esm.mjs",
|
package/rtapi/realtime.ts
CHANGED
|
@@ -727,8 +727,10 @@ export interface ChannelMessageSend {
|
|
|
727
727
|
is_public: boolean;
|
|
728
728
|
/** code */
|
|
729
729
|
code: number;
|
|
730
|
-
/**
|
|
730
|
+
/** topic id */
|
|
731
731
|
topic_id: string;
|
|
732
|
+
/** message id */
|
|
733
|
+
message_id: string;
|
|
732
734
|
}
|
|
733
735
|
|
|
734
736
|
/** Update a message previously sent to a realtime channel. */
|
|
@@ -5955,6 +5957,7 @@ function createBaseChannelMessageSend(): ChannelMessageSend {
|
|
|
5955
5957
|
is_public: false,
|
|
5956
5958
|
code: 0,
|
|
5957
5959
|
topic_id: "",
|
|
5960
|
+
message_id: "",
|
|
5958
5961
|
};
|
|
5959
5962
|
}
|
|
5960
5963
|
|
|
@@ -5999,6 +6002,9 @@ export const ChannelMessageSend = {
|
|
|
5999
6002
|
if (message.topic_id !== "") {
|
|
6000
6003
|
writer.uint32(106).string(message.topic_id);
|
|
6001
6004
|
}
|
|
6005
|
+
if (message.message_id !== "") {
|
|
6006
|
+
writer.uint32(114).string(message.message_id);
|
|
6007
|
+
}
|
|
6002
6008
|
return writer;
|
|
6003
6009
|
},
|
|
6004
6010
|
|
|
@@ -6100,6 +6106,13 @@ export const ChannelMessageSend = {
|
|
|
6100
6106
|
|
|
6101
6107
|
message.topic_id = reader.string();
|
|
6102
6108
|
continue;
|
|
6109
|
+
case 14:
|
|
6110
|
+
if (tag !== 114) {
|
|
6111
|
+
break;
|
|
6112
|
+
}
|
|
6113
|
+
|
|
6114
|
+
message.message_id = reader.string();
|
|
6115
|
+
continue;
|
|
6103
6116
|
}
|
|
6104
6117
|
if ((tag & 7) === 4 || tag === 0) {
|
|
6105
6118
|
break;
|
|
@@ -6130,6 +6143,7 @@ export const ChannelMessageSend = {
|
|
|
6130
6143
|
is_public: isSet(object.is_public) ? globalThis.Boolean(object.is_public) : false,
|
|
6131
6144
|
code: isSet(object.code) ? globalThis.Number(object.code) : 0,
|
|
6132
6145
|
topic_id: isSet(object.topic_id) ? globalThis.String(object.topic_id) : "",
|
|
6146
|
+
message_id: isSet(object.message_id) ? globalThis.String(object.message_id) : "",
|
|
6133
6147
|
};
|
|
6134
6148
|
},
|
|
6135
6149
|
|
|
@@ -6174,6 +6188,9 @@ export const ChannelMessageSend = {
|
|
|
6174
6188
|
if (message.topic_id !== "") {
|
|
6175
6189
|
obj.topic_id = message.topic_id;
|
|
6176
6190
|
}
|
|
6191
|
+
if (message.message_id !== "") {
|
|
6192
|
+
obj.message_id = message.message_id;
|
|
6193
|
+
}
|
|
6177
6194
|
return obj;
|
|
6178
6195
|
},
|
|
6179
6196
|
|
|
@@ -6195,6 +6212,7 @@ export const ChannelMessageSend = {
|
|
|
6195
6212
|
message.is_public = object.is_public ?? false;
|
|
6196
6213
|
message.code = object.code ?? 0;
|
|
6197
6214
|
message.topic_id = object.topic_id ?? "";
|
|
6215
|
+
message.message_id = object.message_id ?? "";
|
|
6198
6216
|
return message;
|
|
6199
6217
|
},
|
|
6200
6218
|
};
|