mezon-js-protobuf 1.8.56 → 1.8.58

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.
@@ -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
+ 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
+ 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
+ id?: string | undefined;
2365
2369
  } | undefined;
2366
2370
  receiver_id?: string | undefined;
2367
2371
  } | undefined;
@@ -3291,6 +3295,7 @@ export declare const Envelope: {
3291
3295
  is_public?: boolean | undefined;
3292
3296
  code?: number | undefined;
3293
3297
  topic_id?: string | undefined;
3298
+ id?: string | undefined;
3294
3299
  } | undefined;
3295
3300
  } | undefined;
3296
3301
  un_block_friend?: {
@@ -3546,6 +3551,7 @@ export declare const Envelope: {
3546
3551
  is_public?: boolean | undefined;
3547
3552
  code?: number | undefined;
3548
3553
  topic_id?: string | undefined;
3554
+ id?: string | undefined;
3549
3555
  } & {
3550
3556
  clan_id?: string | undefined;
3551
3557
  channel_id?: string | undefined;
@@ -3672,6 +3678,7 @@ export declare const Envelope: {
3672
3678
  is_public?: boolean | undefined;
3673
3679
  code?: number | undefined;
3674
3680
  topic_id?: string | undefined;
3681
+ id?: string | undefined;
3675
3682
  } & { [K_15 in Exclude<keyof I["channel_message_send"], keyof ChannelMessageSend>]: never; }) | undefined;
3676
3683
  channel_message_update?: ({
3677
3684
  clan_id?: string | undefined;
@@ -6370,6 +6377,7 @@ export declare const Envelope: {
6370
6377
  is_public?: boolean | undefined;
6371
6378
  code?: number | undefined;
6372
6379
  topic_id?: string | undefined;
6380
+ id?: string | undefined;
6373
6381
  } | undefined;
6374
6382
  receiver_id?: string | undefined;
6375
6383
  } & {
@@ -6415,6 +6423,7 @@ export declare const Envelope: {
6415
6423
  is_public?: boolean | undefined;
6416
6424
  code?: number | undefined;
6417
6425
  topic_id?: string | undefined;
6426
+ id?: string | undefined;
6418
6427
  } & {
6419
6428
  clan_id?: string | undefined;
6420
6429
  channel_id?: string | undefined;
@@ -6541,6 +6550,7 @@ export declare const Envelope: {
6541
6550
  is_public?: boolean | undefined;
6542
6551
  code?: number | undefined;
6543
6552
  topic_id?: string | undefined;
6553
+ id?: string | undefined;
6544
6554
  } & { [K_186 in Exclude<keyof I["ephemeral_message_send"]["message"], keyof ChannelMessageSend>]: never; }) | undefined;
6545
6555
  receiver_id?: string | undefined;
6546
6556
  } & { [K_187 in Exclude<keyof I["ephemeral_message_send"], keyof EphemeralMessageSend>]: never; }) | undefined;
@@ -11008,6 +11018,7 @@ export declare const Envelope: {
11008
11018
  is_public?: boolean | undefined;
11009
11019
  code?: number | undefined;
11010
11020
  topic_id?: string | undefined;
11021
+ id?: string | undefined;
11011
11022
  } | undefined;
11012
11023
  } & {
11013
11024
  menu_name?: string | undefined;
@@ -11053,6 +11064,7 @@ export declare const Envelope: {
11053
11064
  is_public?: boolean | undefined;
11054
11065
  code?: number | undefined;
11055
11066
  topic_id?: string | undefined;
11067
+ id?: string | undefined;
11056
11068
  } & {
11057
11069
  clan_id?: string | undefined;
11058
11070
  channel_id?: string | undefined;
@@ -11179,6 +11191,7 @@ export declare const Envelope: {
11179
11191
  is_public?: boolean | undefined;
11180
11192
  code?: number | undefined;
11181
11193
  topic_id?: string | undefined;
11194
+ id?: string | undefined;
11182
11195
  } & { [K_386 in Exclude<keyof I["quick_menu_event"]["message"], keyof ChannelMessageSend>]: never; }) | undefined;
11183
11196
  } & { [K_387 in Exclude<keyof I["quick_menu_event"], keyof QuickMenuDataEvent>]: never; }) | undefined;
11184
11197
  un_block_friend?: ({
@@ -11364,6 +11377,7 @@ export declare const Envelope: {
11364
11377
  is_public?: boolean | undefined;
11365
11378
  code?: number | undefined;
11366
11379
  topic_id?: string | undefined;
11380
+ id?: string | undefined;
11367
11381
  } | undefined;
11368
11382
  channel_message_update?: {
11369
11383
  clan_id?: string | undefined;
@@ -12299,6 +12313,7 @@ export declare const Envelope: {
12299
12313
  is_public?: boolean | undefined;
12300
12314
  code?: number | undefined;
12301
12315
  topic_id?: string | undefined;
12316
+ id?: string | undefined;
12302
12317
  } | undefined;
12303
12318
  receiver_id?: string | undefined;
12304
12319
  } | undefined;
@@ -13228,6 +13243,7 @@ export declare const Envelope: {
13228
13243
  is_public?: boolean | undefined;
13229
13244
  code?: number | undefined;
13230
13245
  topic_id?: string | undefined;
13246
+ id?: string | undefined;
13231
13247
  } | undefined;
13232
13248
  } | undefined;
13233
13249
  un_block_friend?: {
@@ -13483,6 +13499,7 @@ export declare const Envelope: {
13483
13499
  is_public?: boolean | undefined;
13484
13500
  code?: number | undefined;
13485
13501
  topic_id?: string | undefined;
13502
+ id?: string | undefined;
13486
13503
  } & {
13487
13504
  clan_id?: string | undefined;
13488
13505
  channel_id?: string | undefined;
@@ -13609,6 +13626,7 @@ export declare const Envelope: {
13609
13626
  is_public?: boolean | undefined;
13610
13627
  code?: number | undefined;
13611
13628
  topic_id?: string | undefined;
13629
+ id?: string | undefined;
13612
13630
  } & { [K_410 in Exclude<keyof I_1["channel_message_send"], keyof ChannelMessageSend>]: never; }) | undefined;
13613
13631
  channel_message_update?: ({
13614
13632
  clan_id?: string | undefined;
@@ -16307,6 +16325,7 @@ export declare const Envelope: {
16307
16325
  is_public?: boolean | undefined;
16308
16326
  code?: number | undefined;
16309
16327
  topic_id?: string | undefined;
16328
+ id?: string | undefined;
16310
16329
  } | undefined;
16311
16330
  receiver_id?: string | undefined;
16312
16331
  } & {
@@ -16352,6 +16371,7 @@ export declare const Envelope: {
16352
16371
  is_public?: boolean | undefined;
16353
16372
  code?: number | undefined;
16354
16373
  topic_id?: string | undefined;
16374
+ id?: string | undefined;
16355
16375
  } & {
16356
16376
  clan_id?: string | undefined;
16357
16377
  channel_id?: string | undefined;
@@ -16478,6 +16498,7 @@ export declare const Envelope: {
16478
16498
  is_public?: boolean | undefined;
16479
16499
  code?: number | undefined;
16480
16500
  topic_id?: string | undefined;
16501
+ id?: string | undefined;
16481
16502
  } & { [K_581 in Exclude<keyof I_1["ephemeral_message_send"]["message"], keyof ChannelMessageSend>]: never; }) | undefined;
16482
16503
  receiver_id?: string | undefined;
16483
16504
  } & { [K_582 in Exclude<keyof I_1["ephemeral_message_send"], keyof EphemeralMessageSend>]: never; }) | undefined;
@@ -20945,6 +20966,7 @@ export declare const Envelope: {
20945
20966
  is_public?: boolean | undefined;
20946
20967
  code?: number | undefined;
20947
20968
  topic_id?: string | undefined;
20969
+ id?: string | undefined;
20948
20970
  } | undefined;
20949
20971
  } & {
20950
20972
  menu_name?: string | undefined;
@@ -20990,6 +21012,7 @@ export declare const Envelope: {
20990
21012
  is_public?: boolean | undefined;
20991
21013
  code?: number | undefined;
20992
21014
  topic_id?: string | undefined;
21015
+ id?: string | undefined;
20993
21016
  } & {
20994
21017
  clan_id?: string | undefined;
20995
21018
  channel_id?: string | undefined;
@@ -21116,6 +21139,7 @@ export declare const Envelope: {
21116
21139
  is_public?: boolean | undefined;
21117
21140
  code?: number | undefined;
21118
21141
  topic_id?: string | undefined;
21142
+ id?: string | undefined;
21119
21143
  } & { [K_781 in Exclude<keyof I_1["quick_menu_event"]["message"], keyof ChannelMessageSend>]: never; }) | undefined;
21120
21144
  } & { [K_782 in Exclude<keyof I_1["quick_menu_event"], keyof QuickMenuDataEvent>]: never; }) | undefined;
21121
21145
  un_block_friend?: ({
@@ -22103,6 +22127,7 @@ export declare const EphemeralMessageSend: {
22103
22127
  is_public?: boolean | undefined;
22104
22128
  code?: number | undefined;
22105
22129
  topic_id?: string | undefined;
22130
+ id?: string | undefined;
22106
22131
  } | undefined;
22107
22132
  receiver_id?: string | undefined;
22108
22133
  } & {
@@ -22148,6 +22173,7 @@ export declare const EphemeralMessageSend: {
22148
22173
  is_public?: boolean | undefined;
22149
22174
  code?: number | undefined;
22150
22175
  topic_id?: string | undefined;
22176
+ id?: string | undefined;
22151
22177
  } & {
22152
22178
  clan_id?: string | undefined;
22153
22179
  channel_id?: string | undefined;
@@ -22274,6 +22300,7 @@ export declare const EphemeralMessageSend: {
22274
22300
  is_public?: boolean | undefined;
22275
22301
  code?: number | undefined;
22276
22302
  topic_id?: string | undefined;
22303
+ id?: string | undefined;
22277
22304
  } & { [K_6 in Exclude<keyof I["message"], keyof ChannelMessageSend>]: never; }) | undefined;
22278
22305
  receiver_id?: string | undefined;
22279
22306
  } & { [K_7 in Exclude<keyof I, keyof EphemeralMessageSend>]: never; }>(base?: I | undefined): EphemeralMessageSend;
@@ -22320,6 +22347,7 @@ export declare const EphemeralMessageSend: {
22320
22347
  is_public?: boolean | undefined;
22321
22348
  code?: number | undefined;
22322
22349
  topic_id?: string | undefined;
22350
+ id?: string | undefined;
22323
22351
  } | undefined;
22324
22352
  receiver_id?: string | undefined;
22325
22353
  } & {
@@ -22365,6 +22393,7 @@ export declare const EphemeralMessageSend: {
22365
22393
  is_public?: boolean | undefined;
22366
22394
  code?: number | undefined;
22367
22395
  topic_id?: string | undefined;
22396
+ id?: string | undefined;
22368
22397
  } & {
22369
22398
  clan_id?: string | undefined;
22370
22399
  channel_id?: string | undefined;
@@ -22491,6 +22520,7 @@ export declare const EphemeralMessageSend: {
22491
22520
  is_public?: boolean | undefined;
22492
22521
  code?: number | undefined;
22493
22522
  topic_id?: string | undefined;
22523
+ id?: string | undefined;
22494
22524
  } & { [K_14 in Exclude<keyof I_1["message"], keyof ChannelMessageSend>]: never; }) | undefined;
22495
22525
  receiver_id?: string | undefined;
22496
22526
  } & { [K_15 in Exclude<keyof I_1, keyof EphemeralMessageSend>]: never; }>(object: I_1): EphemeralMessageSend;
@@ -22544,6 +22574,7 @@ export declare const QuickMenuDataEvent: {
22544
22574
  is_public?: boolean | undefined;
22545
22575
  code?: number | undefined;
22546
22576
  topic_id?: string | undefined;
22577
+ id?: string | undefined;
22547
22578
  } | undefined;
22548
22579
  } & {
22549
22580
  menu_name?: string | undefined;
@@ -22589,6 +22620,7 @@ export declare const QuickMenuDataEvent: {
22589
22620
  is_public?: boolean | undefined;
22590
22621
  code?: number | undefined;
22591
22622
  topic_id?: string | undefined;
22623
+ id?: string | undefined;
22592
22624
  } & {
22593
22625
  clan_id?: string | undefined;
22594
22626
  channel_id?: string | undefined;
@@ -22715,6 +22747,7 @@ export declare const QuickMenuDataEvent: {
22715
22747
  is_public?: boolean | undefined;
22716
22748
  code?: number | undefined;
22717
22749
  topic_id?: string | undefined;
22750
+ id?: string | undefined;
22718
22751
  } & { [K_6 in Exclude<keyof I["message"], keyof ChannelMessageSend>]: never; }) | undefined;
22719
22752
  } & { [K_7 in Exclude<keyof I, keyof QuickMenuDataEvent>]: never; }>(base?: I | undefined): QuickMenuDataEvent;
22720
22753
  fromPartial<I_1 extends {
@@ -22761,6 +22794,7 @@ export declare const QuickMenuDataEvent: {
22761
22794
  is_public?: boolean | undefined;
22762
22795
  code?: number | undefined;
22763
22796
  topic_id?: string | undefined;
22797
+ id?: string | undefined;
22764
22798
  } | undefined;
22765
22799
  } & {
22766
22800
  menu_name?: string | undefined;
@@ -22806,6 +22840,7 @@ export declare const QuickMenuDataEvent: {
22806
22840
  is_public?: boolean | undefined;
22807
22841
  code?: number | undefined;
22808
22842
  topic_id?: string | undefined;
22843
+ id?: string | undefined;
22809
22844
  } & {
22810
22845
  clan_id?: string | undefined;
22811
22846
  channel_id?: string | undefined;
@@ -22932,6 +22967,7 @@ export declare const QuickMenuDataEvent: {
22932
22967
  is_public?: boolean | undefined;
22933
22968
  code?: number | undefined;
22934
22969
  topic_id?: string | undefined;
22970
+ id?: string | undefined;
22935
22971
  } & { [K_14 in Exclude<keyof I_1["message"], keyof ChannelMessageSend>]: never; }) | undefined;
22936
22972
  } & { [K_15 in Exclude<keyof I_1, keyof QuickMenuDataEvent>]: never; }>(object: I_1): QuickMenuDataEvent;
22937
22973
  };
@@ -23034,6 +23070,7 @@ export declare const ChannelMessageSend: {
23034
23070
  is_public?: boolean | undefined;
23035
23071
  code?: number | undefined;
23036
23072
  topic_id?: string | undefined;
23073
+ id?: string | undefined;
23037
23074
  } & {
23038
23075
  clan_id?: string | undefined;
23039
23076
  channel_id?: string | undefined;
@@ -23160,6 +23197,7 @@ export declare const ChannelMessageSend: {
23160
23197
  is_public?: boolean | undefined;
23161
23198
  code?: number | undefined;
23162
23199
  topic_id?: string | undefined;
23200
+ id?: string | undefined;
23163
23201
  } & { [K_6 in Exclude<keyof I, keyof ChannelMessageSend>]: never; }>(base?: I | undefined): ChannelMessageSend;
23164
23202
  fromPartial<I_1 extends {
23165
23203
  clan_id?: string | undefined;
@@ -23203,6 +23241,7 @@ export declare const ChannelMessageSend: {
23203
23241
  is_public?: boolean | undefined;
23204
23242
  code?: number | undefined;
23205
23243
  topic_id?: string | undefined;
23244
+ id?: string | undefined;
23206
23245
  } & {
23207
23246
  clan_id?: string | undefined;
23208
23247
  channel_id?: string | undefined;
@@ -23329,6 +23368,7 @@ export declare const ChannelMessageSend: {
23329
23368
  is_public?: boolean | undefined;
23330
23369
  code?: number | undefined;
23331
23370
  topic_id?: string | undefined;
23371
+ id?: string | undefined;
23332
23372
  } & { [K_13 in Exclude<keyof I_1, keyof ChannelMessageSend>]: never; }>(object: I_1): ChannelMessageSend;
23333
23373
  };
23334
23374
  export declare const ChannelMessageUpdate: {
@@ -17344,7 +17344,8 @@ function createBaseChannelMessageSend() {
17344
17344
  avatar: "",
17345
17345
  is_public: false,
17346
17346
  code: 0,
17347
- topic_id: ""
17347
+ topic_id: "",
17348
+ id: ""
17348
17349
  };
17349
17350
  }
17350
17351
  var ChannelMessageSend = {
@@ -17388,6 +17389,9 @@ var ChannelMessageSend = {
17388
17389
  if (message.topic_id !== "") {
17389
17390
  writer.uint32(106).string(message.topic_id);
17390
17391
  }
17392
+ if (message.id !== "") {
17393
+ writer.uint32(114).string(message.id);
17394
+ }
17391
17395
  return writer;
17392
17396
  },
17393
17397
  decode(input, length) {
@@ -17475,6 +17479,12 @@ var ChannelMessageSend = {
17475
17479
  }
17476
17480
  message.topic_id = reader.string();
17477
17481
  continue;
17482
+ case 14:
17483
+ if (tag !== 114) {
17484
+ break;
17485
+ }
17486
+ message.id = reader.string();
17487
+ continue;
17478
17488
  }
17479
17489
  if ((tag & 7) === 4 || tag === 0) {
17480
17490
  break;
@@ -17497,7 +17507,8 @@ var ChannelMessageSend = {
17497
17507
  avatar: isSet4(object.avatar) ? globalThis.String(object.avatar) : "",
17498
17508
  is_public: isSet4(object.is_public) ? globalThis.Boolean(object.is_public) : false,
17499
17509
  code: isSet4(object.code) ? globalThis.Number(object.code) : 0,
17500
- topic_id: isSet4(object.topic_id) ? globalThis.String(object.topic_id) : ""
17510
+ topic_id: isSet4(object.topic_id) ? globalThis.String(object.topic_id) : "",
17511
+ id: isSet4(object.id) ? globalThis.String(object.id) : ""
17501
17512
  };
17502
17513
  },
17503
17514
  toJSON(message) {
@@ -17542,13 +17553,16 @@ var ChannelMessageSend = {
17542
17553
  if (message.topic_id !== "") {
17543
17554
  obj.topic_id = message.topic_id;
17544
17555
  }
17556
+ if (message.id !== "") {
17557
+ obj.id = message.id;
17558
+ }
17545
17559
  return obj;
17546
17560
  },
17547
17561
  create(base) {
17548
17562
  return ChannelMessageSend.fromPartial(base != null ? base : {});
17549
17563
  },
17550
17564
  fromPartial(object) {
17551
- 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;
17552
17566
  const message = createBaseChannelMessageSend();
17553
17567
  message.clan_id = (_a = object.clan_id) != null ? _a : "";
17554
17568
  message.channel_id = (_b = object.channel_id) != null ? _b : "";
@@ -17563,6 +17577,7 @@ var ChannelMessageSend = {
17563
17577
  message.is_public = (_k = object.is_public) != null ? _k : false;
17564
17578
  message.code = (_l = object.code) != null ? _l : 0;
17565
17579
  message.topic_id = (_m = object.topic_id) != null ? _m : "";
17580
+ message.id = (_n = object.id) != null ? _n : "";
17566
17581
  return message;
17567
17582
  }
17568
17583
  };
@@ -17331,7 +17331,8 @@ function createBaseChannelMessageSend() {
17331
17331
  avatar: "",
17332
17332
  is_public: false,
17333
17333
  code: 0,
17334
- topic_id: ""
17334
+ topic_id: "",
17335
+ id: ""
17335
17336
  };
17336
17337
  }
17337
17338
  var ChannelMessageSend = {
@@ -17375,6 +17376,9 @@ var ChannelMessageSend = {
17375
17376
  if (message.topic_id !== "") {
17376
17377
  writer.uint32(106).string(message.topic_id);
17377
17378
  }
17379
+ if (message.id !== "") {
17380
+ writer.uint32(114).string(message.id);
17381
+ }
17378
17382
  return writer;
17379
17383
  },
17380
17384
  decode(input, length) {
@@ -17462,6 +17466,12 @@ var ChannelMessageSend = {
17462
17466
  }
17463
17467
  message.topic_id = reader.string();
17464
17468
  continue;
17469
+ case 14:
17470
+ if (tag !== 114) {
17471
+ break;
17472
+ }
17473
+ message.id = reader.string();
17474
+ continue;
17465
17475
  }
17466
17476
  if ((tag & 7) === 4 || tag === 0) {
17467
17477
  break;
@@ -17484,7 +17494,8 @@ var ChannelMessageSend = {
17484
17494
  avatar: isSet4(object.avatar) ? globalThis.String(object.avatar) : "",
17485
17495
  is_public: isSet4(object.is_public) ? globalThis.Boolean(object.is_public) : false,
17486
17496
  code: isSet4(object.code) ? globalThis.Number(object.code) : 0,
17487
- topic_id: isSet4(object.topic_id) ? globalThis.String(object.topic_id) : ""
17497
+ topic_id: isSet4(object.topic_id) ? globalThis.String(object.topic_id) : "",
17498
+ id: isSet4(object.id) ? globalThis.String(object.id) : ""
17488
17499
  };
17489
17500
  },
17490
17501
  toJSON(message) {
@@ -17529,13 +17540,16 @@ var ChannelMessageSend = {
17529
17540
  if (message.topic_id !== "") {
17530
17541
  obj.topic_id = message.topic_id;
17531
17542
  }
17543
+ if (message.id !== "") {
17544
+ obj.id = message.id;
17545
+ }
17532
17546
  return obj;
17533
17547
  },
17534
17548
  create(base) {
17535
17549
  return ChannelMessageSend.fromPartial(base != null ? base : {});
17536
17550
  },
17537
17551
  fromPartial(object) {
17538
- 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;
17539
17553
  const message = createBaseChannelMessageSend();
17540
17554
  message.clan_id = (_a = object.clan_id) != null ? _a : "";
17541
17555
  message.channel_id = (_b = object.channel_id) != null ? _b : "";
@@ -17550,6 +17564,7 @@ var ChannelMessageSend = {
17550
17564
  message.is_public = (_k = object.is_public) != null ? _k : false;
17551
17565
  message.code = (_l = object.code) != null ? _l : 0;
17552
17566
  message.topic_id = (_m = object.topic_id) != null ? _m : "";
17567
+ message.id = (_n = object.id) != null ? _n : "";
17553
17568
  return message;
17554
17569
  }
17555
17570
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js-protobuf",
3
- "version": "1.8.56",
3
+ "version": "1.8.58",
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
+ 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
+ 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.id !== "") {
6006
+ writer.uint32(114).string(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.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
+ id: isSet(object.id) ? globalThis.String(object.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.id !== "") {
6192
+ obj.id = 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.id = object.id ?? "";
6198
6216
  return message;
6199
6217
  },
6200
6218
  };