mezon-js-protobuf 1.8.24 → 1.8.25
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
|
@@ -1421,7 +1421,13 @@ export interface UpdateClanDescRequest {
|
|
|
1421
1421
|
| boolean
|
|
1422
1422
|
| undefined;
|
|
1423
1423
|
/** Community banner. */
|
|
1424
|
-
community_banner:
|
|
1424
|
+
community_banner:
|
|
1425
|
+
| string
|
|
1426
|
+
| undefined;
|
|
1427
|
+
/** string description */
|
|
1428
|
+
description: string;
|
|
1429
|
+
/** about */
|
|
1430
|
+
about: string;
|
|
1425
1431
|
}
|
|
1426
1432
|
|
|
1427
1433
|
/** Delete a clan the user has access to. */
|
|
@@ -12586,6 +12592,8 @@ function createBaseUpdateClanDescRequest(): UpdateClanDescRequest {
|
|
|
12586
12592
|
onboarding_banner: undefined,
|
|
12587
12593
|
is_community: undefined,
|
|
12588
12594
|
community_banner: undefined,
|
|
12595
|
+
description: "",
|
|
12596
|
+
about: "",
|
|
12589
12597
|
};
|
|
12590
12598
|
}
|
|
12591
12599
|
|
|
@@ -12621,6 +12629,12 @@ export const UpdateClanDescRequest = {
|
|
|
12621
12629
|
if (message.community_banner !== undefined) {
|
|
12622
12630
|
StringValue.encode({ value: message.community_banner! }, writer.uint32(82).fork()).ldelim();
|
|
12623
12631
|
}
|
|
12632
|
+
if (message.description !== "") {
|
|
12633
|
+
writer.uint32(90).string(message.description);
|
|
12634
|
+
}
|
|
12635
|
+
if (message.about !== "") {
|
|
12636
|
+
writer.uint32(98).string(message.about);
|
|
12637
|
+
}
|
|
12624
12638
|
return writer;
|
|
12625
12639
|
},
|
|
12626
12640
|
|
|
@@ -12701,6 +12715,20 @@ export const UpdateClanDescRequest = {
|
|
|
12701
12715
|
|
|
12702
12716
|
message.community_banner = StringValue.decode(reader, reader.uint32()).value;
|
|
12703
12717
|
continue;
|
|
12718
|
+
case 11:
|
|
12719
|
+
if (tag !== 90) {
|
|
12720
|
+
break;
|
|
12721
|
+
}
|
|
12722
|
+
|
|
12723
|
+
message.description = reader.string();
|
|
12724
|
+
continue;
|
|
12725
|
+
case 12:
|
|
12726
|
+
if (tag !== 98) {
|
|
12727
|
+
break;
|
|
12728
|
+
}
|
|
12729
|
+
|
|
12730
|
+
message.about = reader.string();
|
|
12731
|
+
continue;
|
|
12704
12732
|
}
|
|
12705
12733
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12706
12734
|
break;
|
|
@@ -12722,6 +12750,8 @@ export const UpdateClanDescRequest = {
|
|
|
12722
12750
|
onboarding_banner: isSet(object.onboarding_banner) ? String(object.onboarding_banner) : undefined,
|
|
12723
12751
|
is_community: isSet(object.is_community) ? Boolean(object.is_community) : undefined,
|
|
12724
12752
|
community_banner: isSet(object.community_banner) ? String(object.community_banner) : undefined,
|
|
12753
|
+
description: isSet(object.description) ? globalThis.String(object.description) : "",
|
|
12754
|
+
about: isSet(object.about) ? globalThis.String(object.about) : "",
|
|
12725
12755
|
};
|
|
12726
12756
|
},
|
|
12727
12757
|
|
|
@@ -12757,6 +12787,12 @@ export const UpdateClanDescRequest = {
|
|
|
12757
12787
|
if (message.community_banner !== undefined) {
|
|
12758
12788
|
obj.community_banner = message.community_banner;
|
|
12759
12789
|
}
|
|
12790
|
+
if (message.description !== "") {
|
|
12791
|
+
obj.description = message.description;
|
|
12792
|
+
}
|
|
12793
|
+
if (message.about !== "") {
|
|
12794
|
+
obj.about = message.about;
|
|
12795
|
+
}
|
|
12760
12796
|
return obj;
|
|
12761
12797
|
},
|
|
12762
12798
|
|
|
@@ -12775,6 +12811,8 @@ export const UpdateClanDescRequest = {
|
|
|
12775
12811
|
message.onboarding_banner = object.onboarding_banner ?? undefined;
|
|
12776
12812
|
message.is_community = object.is_community ?? undefined;
|
|
12777
12813
|
message.community_banner = object.community_banner ?? undefined;
|
|
12814
|
+
message.description = object.description ?? "";
|
|
12815
|
+
message.about = object.about ?? "";
|
|
12778
12816
|
return message;
|
|
12779
12817
|
},
|
|
12780
12818
|
};
|
|
@@ -1019,6 +1019,10 @@ export interface UpdateClanDescRequest {
|
|
|
1019
1019
|
is_community: boolean | undefined;
|
|
1020
1020
|
/** Community banner. */
|
|
1021
1021
|
community_banner: string | undefined;
|
|
1022
|
+
/** string description */
|
|
1023
|
+
description: string;
|
|
1024
|
+
/** about */
|
|
1025
|
+
about: string;
|
|
1022
1026
|
}
|
|
1023
1027
|
/** Delete a clan the user has access to. */
|
|
1024
1028
|
export interface DeleteClanDescRequest {
|
|
@@ -9866,6 +9870,8 @@ export declare const UpdateClanDescRequest: {
|
|
|
9866
9870
|
onboarding_banner?: string | undefined;
|
|
9867
9871
|
is_community?: boolean | undefined;
|
|
9868
9872
|
community_banner?: string | undefined;
|
|
9873
|
+
description?: string | undefined;
|
|
9874
|
+
about?: string | undefined;
|
|
9869
9875
|
} & {
|
|
9870
9876
|
clan_id?: string | undefined;
|
|
9871
9877
|
clan_name?: string | undefined;
|
|
@@ -9877,6 +9883,8 @@ export declare const UpdateClanDescRequest: {
|
|
|
9877
9883
|
onboarding_banner?: string | undefined;
|
|
9878
9884
|
is_community?: boolean | undefined;
|
|
9879
9885
|
community_banner?: string | undefined;
|
|
9886
|
+
description?: string | undefined;
|
|
9887
|
+
about?: string | undefined;
|
|
9880
9888
|
} & { [K in Exclude<keyof I, keyof UpdateClanDescRequest>]: never; }>(base?: I | undefined): UpdateClanDescRequest;
|
|
9881
9889
|
fromPartial<I_1 extends {
|
|
9882
9890
|
clan_id?: string | undefined;
|
|
@@ -9889,6 +9897,8 @@ export declare const UpdateClanDescRequest: {
|
|
|
9889
9897
|
onboarding_banner?: string | undefined;
|
|
9890
9898
|
is_community?: boolean | undefined;
|
|
9891
9899
|
community_banner?: string | undefined;
|
|
9900
|
+
description?: string | undefined;
|
|
9901
|
+
about?: string | undefined;
|
|
9892
9902
|
} & {
|
|
9893
9903
|
clan_id?: string | undefined;
|
|
9894
9904
|
clan_name?: string | undefined;
|
|
@@ -9900,6 +9910,8 @@ export declare const UpdateClanDescRequest: {
|
|
|
9900
9910
|
onboarding_banner?: string | undefined;
|
|
9901
9911
|
is_community?: boolean | undefined;
|
|
9902
9912
|
community_banner?: string | undefined;
|
|
9913
|
+
description?: string | undefined;
|
|
9914
|
+
about?: string | undefined;
|
|
9903
9915
|
} & { [K_1 in Exclude<keyof I_1, keyof UpdateClanDescRequest>]: never; }>(object: I_1): UpdateClanDescRequest;
|
|
9904
9916
|
};
|
|
9905
9917
|
export declare const DeleteClanDescRequest: {
|
|
@@ -453,6 +453,10 @@ export interface ChannelMessageRemove {
|
|
|
453
453
|
has_attachment: boolean;
|
|
454
454
|
/** */
|
|
455
455
|
topic_id: string;
|
|
456
|
+
/** Message mention */
|
|
457
|
+
mentions: string;
|
|
458
|
+
/** Message reference */
|
|
459
|
+
references: string;
|
|
456
460
|
}
|
|
457
461
|
/** A set of joins and leaves on a particular channel. */
|
|
458
462
|
export interface ChannelPresenceEvent {
|
|
@@ -1393,6 +1397,8 @@ export declare const Envelope: {
|
|
|
1393
1397
|
is_public?: boolean | undefined;
|
|
1394
1398
|
has_attachment?: boolean | undefined;
|
|
1395
1399
|
topic_id?: string | undefined;
|
|
1400
|
+
mentions?: string | undefined;
|
|
1401
|
+
references?: string | undefined;
|
|
1396
1402
|
} | undefined;
|
|
1397
1403
|
channel_presence_event?: {
|
|
1398
1404
|
channel_id?: string | undefined;
|
|
@@ -3680,6 +3686,8 @@ export declare const Envelope: {
|
|
|
3680
3686
|
is_public?: boolean | undefined;
|
|
3681
3687
|
has_attachment?: boolean | undefined;
|
|
3682
3688
|
topic_id?: string | undefined;
|
|
3689
|
+
mentions?: string | undefined;
|
|
3690
|
+
references?: string | undefined;
|
|
3683
3691
|
} & {
|
|
3684
3692
|
clan_id?: string | undefined;
|
|
3685
3693
|
channel_id?: string | undefined;
|
|
@@ -3688,6 +3696,8 @@ export declare const Envelope: {
|
|
|
3688
3696
|
is_public?: boolean | undefined;
|
|
3689
3697
|
has_attachment?: boolean | undefined;
|
|
3690
3698
|
topic_id?: string | undefined;
|
|
3699
|
+
mentions?: string | undefined;
|
|
3700
|
+
references?: string | undefined;
|
|
3691
3701
|
} & { [K_21 in Exclude<keyof I["channel_message_remove"], keyof ChannelMessageRemove>]: never; }) | undefined;
|
|
3692
3702
|
channel_presence_event?: ({
|
|
3693
3703
|
channel_id?: string | undefined;
|
|
@@ -11224,6 +11234,8 @@ export declare const Envelope: {
|
|
|
11224
11234
|
is_public?: boolean | undefined;
|
|
11225
11235
|
has_attachment?: boolean | undefined;
|
|
11226
11236
|
topic_id?: string | undefined;
|
|
11237
|
+
mentions?: string | undefined;
|
|
11238
|
+
references?: string | undefined;
|
|
11227
11239
|
} | undefined;
|
|
11228
11240
|
channel_presence_event?: {
|
|
11229
11241
|
channel_id?: string | undefined;
|
|
@@ -13511,6 +13523,8 @@ export declare const Envelope: {
|
|
|
13511
13523
|
is_public?: boolean | undefined;
|
|
13512
13524
|
has_attachment?: boolean | undefined;
|
|
13513
13525
|
topic_id?: string | undefined;
|
|
13526
|
+
mentions?: string | undefined;
|
|
13527
|
+
references?: string | undefined;
|
|
13514
13528
|
} & {
|
|
13515
13529
|
clan_id?: string | undefined;
|
|
13516
13530
|
channel_id?: string | undefined;
|
|
@@ -13519,6 +13533,8 @@ export declare const Envelope: {
|
|
|
13519
13533
|
is_public?: boolean | undefined;
|
|
13520
13534
|
has_attachment?: boolean | undefined;
|
|
13521
13535
|
topic_id?: string | undefined;
|
|
13536
|
+
mentions?: string | undefined;
|
|
13537
|
+
references?: string | undefined;
|
|
13522
13538
|
} & { [K_414 in Exclude<keyof I_1["channel_message_remove"], keyof ChannelMessageRemove>]: never; }) | undefined;
|
|
13523
13539
|
channel_presence_event?: ({
|
|
13524
13540
|
channel_id?: string | undefined;
|
|
@@ -23267,6 +23283,8 @@ export declare const ChannelMessageRemove: {
|
|
|
23267
23283
|
is_public?: boolean | undefined;
|
|
23268
23284
|
has_attachment?: boolean | undefined;
|
|
23269
23285
|
topic_id?: string | undefined;
|
|
23286
|
+
mentions?: string | undefined;
|
|
23287
|
+
references?: string | undefined;
|
|
23270
23288
|
} & {
|
|
23271
23289
|
clan_id?: string | undefined;
|
|
23272
23290
|
channel_id?: string | undefined;
|
|
@@ -23275,6 +23293,8 @@ export declare const ChannelMessageRemove: {
|
|
|
23275
23293
|
is_public?: boolean | undefined;
|
|
23276
23294
|
has_attachment?: boolean | undefined;
|
|
23277
23295
|
topic_id?: string | undefined;
|
|
23296
|
+
mentions?: string | undefined;
|
|
23297
|
+
references?: string | undefined;
|
|
23278
23298
|
} & { [K in Exclude<keyof I, keyof ChannelMessageRemove>]: never; }>(base?: I | undefined): ChannelMessageRemove;
|
|
23279
23299
|
fromPartial<I_1 extends {
|
|
23280
23300
|
clan_id?: string | undefined;
|
|
@@ -23284,6 +23304,8 @@ export declare const ChannelMessageRemove: {
|
|
|
23284
23304
|
is_public?: boolean | undefined;
|
|
23285
23305
|
has_attachment?: boolean | undefined;
|
|
23286
23306
|
topic_id?: string | undefined;
|
|
23307
|
+
mentions?: string | undefined;
|
|
23308
|
+
references?: string | undefined;
|
|
23287
23309
|
} & {
|
|
23288
23310
|
clan_id?: string | undefined;
|
|
23289
23311
|
channel_id?: string | undefined;
|
|
@@ -23292,6 +23314,8 @@ export declare const ChannelMessageRemove: {
|
|
|
23292
23314
|
is_public?: boolean | undefined;
|
|
23293
23315
|
has_attachment?: boolean | undefined;
|
|
23294
23316
|
topic_id?: string | undefined;
|
|
23317
|
+
mentions?: string | undefined;
|
|
23318
|
+
references?: string | undefined;
|
|
23295
23319
|
} & { [K_1 in Exclude<keyof I_1, keyof ChannelMessageRemove>]: never; }>(object: I_1): ChannelMessageRemove;
|
|
23296
23320
|
};
|
|
23297
23321
|
export declare const ChannelPresenceEvent: {
|
|
@@ -17356,7 +17356,9 @@ function createBaseChannelMessageRemove() {
|
|
|
17356
17356
|
mode: 0,
|
|
17357
17357
|
is_public: false,
|
|
17358
17358
|
has_attachment: false,
|
|
17359
|
-
topic_id: ""
|
|
17359
|
+
topic_id: "",
|
|
17360
|
+
mentions: "",
|
|
17361
|
+
references: ""
|
|
17360
17362
|
};
|
|
17361
17363
|
}
|
|
17362
17364
|
var ChannelMessageRemove = {
|
|
@@ -17382,6 +17384,12 @@ var ChannelMessageRemove = {
|
|
|
17382
17384
|
if (message.topic_id !== "") {
|
|
17383
17385
|
writer.uint32(58).string(message.topic_id);
|
|
17384
17386
|
}
|
|
17387
|
+
if (message.mentions !== "") {
|
|
17388
|
+
writer.uint32(66).string(message.mentions);
|
|
17389
|
+
}
|
|
17390
|
+
if (message.references !== "") {
|
|
17391
|
+
writer.uint32(74).string(message.references);
|
|
17392
|
+
}
|
|
17385
17393
|
return writer;
|
|
17386
17394
|
},
|
|
17387
17395
|
decode(input, length) {
|
|
@@ -17433,6 +17441,18 @@ var ChannelMessageRemove = {
|
|
|
17433
17441
|
}
|
|
17434
17442
|
message.topic_id = reader.string();
|
|
17435
17443
|
continue;
|
|
17444
|
+
case 8:
|
|
17445
|
+
if (tag !== 66) {
|
|
17446
|
+
break;
|
|
17447
|
+
}
|
|
17448
|
+
message.mentions = reader.string();
|
|
17449
|
+
continue;
|
|
17450
|
+
case 9:
|
|
17451
|
+
if (tag !== 74) {
|
|
17452
|
+
break;
|
|
17453
|
+
}
|
|
17454
|
+
message.references = reader.string();
|
|
17455
|
+
continue;
|
|
17436
17456
|
}
|
|
17437
17457
|
if ((tag & 7) === 4 || tag === 0) {
|
|
17438
17458
|
break;
|
|
@@ -17449,7 +17469,9 @@ var ChannelMessageRemove = {
|
|
|
17449
17469
|
mode: isSet4(object.mode) ? globalThis.Number(object.mode) : 0,
|
|
17450
17470
|
is_public: isSet4(object.is_public) ? globalThis.Boolean(object.is_public) : false,
|
|
17451
17471
|
has_attachment: isSet4(object.has_attachment) ? globalThis.Boolean(object.has_attachment) : false,
|
|
17452
|
-
topic_id: isSet4(object.topic_id) ? globalThis.String(object.topic_id) : ""
|
|
17472
|
+
topic_id: isSet4(object.topic_id) ? globalThis.String(object.topic_id) : "",
|
|
17473
|
+
mentions: isSet4(object.mentions) ? globalThis.String(object.mentions) : "",
|
|
17474
|
+
references: isSet4(object.references) ? globalThis.String(object.references) : ""
|
|
17453
17475
|
};
|
|
17454
17476
|
},
|
|
17455
17477
|
toJSON(message) {
|
|
@@ -17475,13 +17497,19 @@ var ChannelMessageRemove = {
|
|
|
17475
17497
|
if (message.topic_id !== "") {
|
|
17476
17498
|
obj.topic_id = message.topic_id;
|
|
17477
17499
|
}
|
|
17500
|
+
if (message.mentions !== "") {
|
|
17501
|
+
obj.mentions = message.mentions;
|
|
17502
|
+
}
|
|
17503
|
+
if (message.references !== "") {
|
|
17504
|
+
obj.references = message.references;
|
|
17505
|
+
}
|
|
17478
17506
|
return obj;
|
|
17479
17507
|
},
|
|
17480
17508
|
create(base) {
|
|
17481
17509
|
return ChannelMessageRemove.fromPartial(base != null ? base : {});
|
|
17482
17510
|
},
|
|
17483
17511
|
fromPartial(object) {
|
|
17484
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
17512
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
17485
17513
|
const message = createBaseChannelMessageRemove();
|
|
17486
17514
|
message.clan_id = (_a = object.clan_id) != null ? _a : "";
|
|
17487
17515
|
message.channel_id = (_b = object.channel_id) != null ? _b : "";
|
|
@@ -17490,6 +17518,8 @@ var ChannelMessageRemove = {
|
|
|
17490
17518
|
message.is_public = (_e = object.is_public) != null ? _e : false;
|
|
17491
17519
|
message.has_attachment = (_f = object.has_attachment) != null ? _f : false;
|
|
17492
17520
|
message.topic_id = (_g = object.topic_id) != null ? _g : "";
|
|
17521
|
+
message.mentions = (_h = object.mentions) != null ? _h : "";
|
|
17522
|
+
message.references = (_i = object.references) != null ? _i : "";
|
|
17493
17523
|
return message;
|
|
17494
17524
|
}
|
|
17495
17525
|
};
|
|
@@ -17343,7 +17343,9 @@ function createBaseChannelMessageRemove() {
|
|
|
17343
17343
|
mode: 0,
|
|
17344
17344
|
is_public: false,
|
|
17345
17345
|
has_attachment: false,
|
|
17346
|
-
topic_id: ""
|
|
17346
|
+
topic_id: "",
|
|
17347
|
+
mentions: "",
|
|
17348
|
+
references: ""
|
|
17347
17349
|
};
|
|
17348
17350
|
}
|
|
17349
17351
|
var ChannelMessageRemove = {
|
|
@@ -17369,6 +17371,12 @@ var ChannelMessageRemove = {
|
|
|
17369
17371
|
if (message.topic_id !== "") {
|
|
17370
17372
|
writer.uint32(58).string(message.topic_id);
|
|
17371
17373
|
}
|
|
17374
|
+
if (message.mentions !== "") {
|
|
17375
|
+
writer.uint32(66).string(message.mentions);
|
|
17376
|
+
}
|
|
17377
|
+
if (message.references !== "") {
|
|
17378
|
+
writer.uint32(74).string(message.references);
|
|
17379
|
+
}
|
|
17372
17380
|
return writer;
|
|
17373
17381
|
},
|
|
17374
17382
|
decode(input, length) {
|
|
@@ -17420,6 +17428,18 @@ var ChannelMessageRemove = {
|
|
|
17420
17428
|
}
|
|
17421
17429
|
message.topic_id = reader.string();
|
|
17422
17430
|
continue;
|
|
17431
|
+
case 8:
|
|
17432
|
+
if (tag !== 66) {
|
|
17433
|
+
break;
|
|
17434
|
+
}
|
|
17435
|
+
message.mentions = reader.string();
|
|
17436
|
+
continue;
|
|
17437
|
+
case 9:
|
|
17438
|
+
if (tag !== 74) {
|
|
17439
|
+
break;
|
|
17440
|
+
}
|
|
17441
|
+
message.references = reader.string();
|
|
17442
|
+
continue;
|
|
17423
17443
|
}
|
|
17424
17444
|
if ((tag & 7) === 4 || tag === 0) {
|
|
17425
17445
|
break;
|
|
@@ -17436,7 +17456,9 @@ var ChannelMessageRemove = {
|
|
|
17436
17456
|
mode: isSet4(object.mode) ? globalThis.Number(object.mode) : 0,
|
|
17437
17457
|
is_public: isSet4(object.is_public) ? globalThis.Boolean(object.is_public) : false,
|
|
17438
17458
|
has_attachment: isSet4(object.has_attachment) ? globalThis.Boolean(object.has_attachment) : false,
|
|
17439
|
-
topic_id: isSet4(object.topic_id) ? globalThis.String(object.topic_id) : ""
|
|
17459
|
+
topic_id: isSet4(object.topic_id) ? globalThis.String(object.topic_id) : "",
|
|
17460
|
+
mentions: isSet4(object.mentions) ? globalThis.String(object.mentions) : "",
|
|
17461
|
+
references: isSet4(object.references) ? globalThis.String(object.references) : ""
|
|
17440
17462
|
};
|
|
17441
17463
|
},
|
|
17442
17464
|
toJSON(message) {
|
|
@@ -17462,13 +17484,19 @@ var ChannelMessageRemove = {
|
|
|
17462
17484
|
if (message.topic_id !== "") {
|
|
17463
17485
|
obj.topic_id = message.topic_id;
|
|
17464
17486
|
}
|
|
17487
|
+
if (message.mentions !== "") {
|
|
17488
|
+
obj.mentions = message.mentions;
|
|
17489
|
+
}
|
|
17490
|
+
if (message.references !== "") {
|
|
17491
|
+
obj.references = message.references;
|
|
17492
|
+
}
|
|
17465
17493
|
return obj;
|
|
17466
17494
|
},
|
|
17467
17495
|
create(base) {
|
|
17468
17496
|
return ChannelMessageRemove.fromPartial(base != null ? base : {});
|
|
17469
17497
|
},
|
|
17470
17498
|
fromPartial(object) {
|
|
17471
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
17499
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
17472
17500
|
const message = createBaseChannelMessageRemove();
|
|
17473
17501
|
message.clan_id = (_a = object.clan_id) != null ? _a : "";
|
|
17474
17502
|
message.channel_id = (_b = object.channel_id) != null ? _b : "";
|
|
@@ -17477,6 +17505,8 @@ var ChannelMessageRemove = {
|
|
|
17477
17505
|
message.is_public = (_e = object.is_public) != null ? _e : false;
|
|
17478
17506
|
message.has_attachment = (_f = object.has_attachment) != null ? _f : false;
|
|
17479
17507
|
message.topic_id = (_g = object.topic_id) != null ? _g : "";
|
|
17508
|
+
message.mentions = (_h = object.mentions) != null ? _h : "";
|
|
17509
|
+
message.references = (_i = object.references) != null ? _i : "";
|
|
17480
17510
|
return message;
|
|
17481
17511
|
}
|
|
17482
17512
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mezon-js-protobuf",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.25",
|
|
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
|
@@ -743,6 +743,10 @@ export interface ChannelMessageRemove {
|
|
|
743
743
|
has_attachment: boolean;
|
|
744
744
|
/** */
|
|
745
745
|
topic_id: string;
|
|
746
|
+
/** Message mention */
|
|
747
|
+
mentions: string;
|
|
748
|
+
/** Message reference */
|
|
749
|
+
references: string;
|
|
746
750
|
}
|
|
747
751
|
|
|
748
752
|
/** A set of joins and leaves on a particular channel. */
|
|
@@ -6126,6 +6130,8 @@ function createBaseChannelMessageRemove(): ChannelMessageRemove {
|
|
|
6126
6130
|
is_public: false,
|
|
6127
6131
|
has_attachment: false,
|
|
6128
6132
|
topic_id: "",
|
|
6133
|
+
mentions: "",
|
|
6134
|
+
references: "",
|
|
6129
6135
|
};
|
|
6130
6136
|
}
|
|
6131
6137
|
|
|
@@ -6152,6 +6158,12 @@ export const ChannelMessageRemove = {
|
|
|
6152
6158
|
if (message.topic_id !== "") {
|
|
6153
6159
|
writer.uint32(58).string(message.topic_id);
|
|
6154
6160
|
}
|
|
6161
|
+
if (message.mentions !== "") {
|
|
6162
|
+
writer.uint32(66).string(message.mentions);
|
|
6163
|
+
}
|
|
6164
|
+
if (message.references !== "") {
|
|
6165
|
+
writer.uint32(74).string(message.references);
|
|
6166
|
+
}
|
|
6155
6167
|
return writer;
|
|
6156
6168
|
},
|
|
6157
6169
|
|
|
@@ -6211,6 +6223,20 @@ export const ChannelMessageRemove = {
|
|
|
6211
6223
|
|
|
6212
6224
|
message.topic_id = reader.string();
|
|
6213
6225
|
continue;
|
|
6226
|
+
case 8:
|
|
6227
|
+
if (tag !== 66) {
|
|
6228
|
+
break;
|
|
6229
|
+
}
|
|
6230
|
+
|
|
6231
|
+
message.mentions = reader.string();
|
|
6232
|
+
continue;
|
|
6233
|
+
case 9:
|
|
6234
|
+
if (tag !== 74) {
|
|
6235
|
+
break;
|
|
6236
|
+
}
|
|
6237
|
+
|
|
6238
|
+
message.references = reader.string();
|
|
6239
|
+
continue;
|
|
6214
6240
|
}
|
|
6215
6241
|
if ((tag & 7) === 4 || tag === 0) {
|
|
6216
6242
|
break;
|
|
@@ -6229,6 +6255,8 @@ export const ChannelMessageRemove = {
|
|
|
6229
6255
|
is_public: isSet(object.is_public) ? globalThis.Boolean(object.is_public) : false,
|
|
6230
6256
|
has_attachment: isSet(object.has_attachment) ? globalThis.Boolean(object.has_attachment) : false,
|
|
6231
6257
|
topic_id: isSet(object.topic_id) ? globalThis.String(object.topic_id) : "",
|
|
6258
|
+
mentions: isSet(object.mentions) ? globalThis.String(object.mentions) : "",
|
|
6259
|
+
references: isSet(object.references) ? globalThis.String(object.references) : "",
|
|
6232
6260
|
};
|
|
6233
6261
|
},
|
|
6234
6262
|
|
|
@@ -6255,6 +6283,12 @@ export const ChannelMessageRemove = {
|
|
|
6255
6283
|
if (message.topic_id !== "") {
|
|
6256
6284
|
obj.topic_id = message.topic_id;
|
|
6257
6285
|
}
|
|
6286
|
+
if (message.mentions !== "") {
|
|
6287
|
+
obj.mentions = message.mentions;
|
|
6288
|
+
}
|
|
6289
|
+
if (message.references !== "") {
|
|
6290
|
+
obj.references = message.references;
|
|
6291
|
+
}
|
|
6258
6292
|
return obj;
|
|
6259
6293
|
},
|
|
6260
6294
|
|
|
@@ -6270,6 +6304,8 @@ export const ChannelMessageRemove = {
|
|
|
6270
6304
|
message.is_public = object.is_public ?? false;
|
|
6271
6305
|
message.has_attachment = object.has_attachment ?? false;
|
|
6272
6306
|
message.topic_id = object.topic_id ?? "";
|
|
6307
|
+
message.mentions = object.mentions ?? "";
|
|
6308
|
+
message.references = object.references ?? "";
|
|
6273
6309
|
return message;
|
|
6274
6310
|
},
|
|
6275
6311
|
};
|