mezon-js-protobuf 1.8.57 → 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.
@@ -429,7 +429,7 @@ export interface ChannelMessageSend {
429
429
  /** topic id */
430
430
  topic_id: string;
431
431
  /** message id */
432
- message_id: string;
432
+ id: string;
433
433
  }
434
434
  /** Update a message previously sent to a realtime channel. */
435
435
  export interface ChannelMessageUpdate {
@@ -1429,7 +1429,7 @@ export declare const Envelope: {
1429
1429
  is_public?: boolean | undefined;
1430
1430
  code?: number | undefined;
1431
1431
  topic_id?: string | undefined;
1432
- message_id?: string | undefined;
1432
+ id?: string | undefined;
1433
1433
  } | undefined;
1434
1434
  channel_message_update?: {
1435
1435
  clan_id?: string | undefined;
@@ -2365,7 +2365,7 @@ export declare const Envelope: {
2365
2365
  is_public?: boolean | undefined;
2366
2366
  code?: number | undefined;
2367
2367
  topic_id?: string | undefined;
2368
- message_id?: string | undefined;
2368
+ id?: string | undefined;
2369
2369
  } | undefined;
2370
2370
  receiver_id?: string | undefined;
2371
2371
  } | undefined;
@@ -3295,7 +3295,7 @@ export declare const Envelope: {
3295
3295
  is_public?: boolean | undefined;
3296
3296
  code?: number | undefined;
3297
3297
  topic_id?: string | undefined;
3298
- message_id?: string | undefined;
3298
+ id?: string | undefined;
3299
3299
  } | undefined;
3300
3300
  } | undefined;
3301
3301
  un_block_friend?: {
@@ -3551,7 +3551,7 @@ export declare const Envelope: {
3551
3551
  is_public?: boolean | undefined;
3552
3552
  code?: number | undefined;
3553
3553
  topic_id?: string | undefined;
3554
- message_id?: string | undefined;
3554
+ id?: string | undefined;
3555
3555
  } & {
3556
3556
  clan_id?: string | undefined;
3557
3557
  channel_id?: string | undefined;
@@ -3678,7 +3678,7 @@ export declare const Envelope: {
3678
3678
  is_public?: boolean | undefined;
3679
3679
  code?: number | undefined;
3680
3680
  topic_id?: string | undefined;
3681
- message_id?: string | undefined;
3681
+ id?: string | undefined;
3682
3682
  } & { [K_15 in Exclude<keyof I["channel_message_send"], keyof ChannelMessageSend>]: never; }) | undefined;
3683
3683
  channel_message_update?: ({
3684
3684
  clan_id?: string | undefined;
@@ -6377,7 +6377,7 @@ export declare const Envelope: {
6377
6377
  is_public?: boolean | undefined;
6378
6378
  code?: number | undefined;
6379
6379
  topic_id?: string | undefined;
6380
- message_id?: string | undefined;
6380
+ id?: string | undefined;
6381
6381
  } | undefined;
6382
6382
  receiver_id?: string | undefined;
6383
6383
  } & {
@@ -6423,7 +6423,7 @@ export declare const Envelope: {
6423
6423
  is_public?: boolean | undefined;
6424
6424
  code?: number | undefined;
6425
6425
  topic_id?: string | undefined;
6426
- message_id?: string | undefined;
6426
+ id?: string | undefined;
6427
6427
  } & {
6428
6428
  clan_id?: string | undefined;
6429
6429
  channel_id?: string | undefined;
@@ -6550,7 +6550,7 @@ export declare const Envelope: {
6550
6550
  is_public?: boolean | undefined;
6551
6551
  code?: number | undefined;
6552
6552
  topic_id?: string | undefined;
6553
- message_id?: string | undefined;
6553
+ id?: string | undefined;
6554
6554
  } & { [K_186 in Exclude<keyof I["ephemeral_message_send"]["message"], keyof ChannelMessageSend>]: never; }) | undefined;
6555
6555
  receiver_id?: string | undefined;
6556
6556
  } & { [K_187 in Exclude<keyof I["ephemeral_message_send"], keyof EphemeralMessageSend>]: never; }) | undefined;
@@ -11018,7 +11018,7 @@ export declare const Envelope: {
11018
11018
  is_public?: boolean | undefined;
11019
11019
  code?: number | undefined;
11020
11020
  topic_id?: string | undefined;
11021
- message_id?: string | undefined;
11021
+ id?: string | undefined;
11022
11022
  } | undefined;
11023
11023
  } & {
11024
11024
  menu_name?: string | undefined;
@@ -11064,7 +11064,7 @@ export declare const Envelope: {
11064
11064
  is_public?: boolean | undefined;
11065
11065
  code?: number | undefined;
11066
11066
  topic_id?: string | undefined;
11067
- message_id?: string | undefined;
11067
+ id?: string | undefined;
11068
11068
  } & {
11069
11069
  clan_id?: string | undefined;
11070
11070
  channel_id?: string | undefined;
@@ -11191,7 +11191,7 @@ export declare const Envelope: {
11191
11191
  is_public?: boolean | undefined;
11192
11192
  code?: number | undefined;
11193
11193
  topic_id?: string | undefined;
11194
- message_id?: string | undefined;
11194
+ id?: string | undefined;
11195
11195
  } & { [K_386 in Exclude<keyof I["quick_menu_event"]["message"], keyof ChannelMessageSend>]: never; }) | undefined;
11196
11196
  } & { [K_387 in Exclude<keyof I["quick_menu_event"], keyof QuickMenuDataEvent>]: never; }) | undefined;
11197
11197
  un_block_friend?: ({
@@ -11377,7 +11377,7 @@ export declare const Envelope: {
11377
11377
  is_public?: boolean | undefined;
11378
11378
  code?: number | undefined;
11379
11379
  topic_id?: string | undefined;
11380
- message_id?: string | undefined;
11380
+ id?: string | undefined;
11381
11381
  } | undefined;
11382
11382
  channel_message_update?: {
11383
11383
  clan_id?: string | undefined;
@@ -12313,7 +12313,7 @@ export declare const Envelope: {
12313
12313
  is_public?: boolean | undefined;
12314
12314
  code?: number | undefined;
12315
12315
  topic_id?: string | undefined;
12316
- message_id?: string | undefined;
12316
+ id?: string | undefined;
12317
12317
  } | undefined;
12318
12318
  receiver_id?: string | undefined;
12319
12319
  } | undefined;
@@ -13243,7 +13243,7 @@ export declare const Envelope: {
13243
13243
  is_public?: boolean | undefined;
13244
13244
  code?: number | undefined;
13245
13245
  topic_id?: string | undefined;
13246
- message_id?: string | undefined;
13246
+ id?: string | undefined;
13247
13247
  } | undefined;
13248
13248
  } | undefined;
13249
13249
  un_block_friend?: {
@@ -13499,7 +13499,7 @@ export declare const Envelope: {
13499
13499
  is_public?: boolean | undefined;
13500
13500
  code?: number | undefined;
13501
13501
  topic_id?: string | undefined;
13502
- message_id?: string | undefined;
13502
+ id?: string | undefined;
13503
13503
  } & {
13504
13504
  clan_id?: string | undefined;
13505
13505
  channel_id?: string | undefined;
@@ -13626,7 +13626,7 @@ export declare const Envelope: {
13626
13626
  is_public?: boolean | undefined;
13627
13627
  code?: number | undefined;
13628
13628
  topic_id?: string | undefined;
13629
- message_id?: string | undefined;
13629
+ id?: string | undefined;
13630
13630
  } & { [K_410 in Exclude<keyof I_1["channel_message_send"], keyof ChannelMessageSend>]: never; }) | undefined;
13631
13631
  channel_message_update?: ({
13632
13632
  clan_id?: string | undefined;
@@ -16325,7 +16325,7 @@ export declare const Envelope: {
16325
16325
  is_public?: boolean | undefined;
16326
16326
  code?: number | undefined;
16327
16327
  topic_id?: string | undefined;
16328
- message_id?: string | undefined;
16328
+ id?: string | undefined;
16329
16329
  } | undefined;
16330
16330
  receiver_id?: string | undefined;
16331
16331
  } & {
@@ -16371,7 +16371,7 @@ export declare const Envelope: {
16371
16371
  is_public?: boolean | undefined;
16372
16372
  code?: number | undefined;
16373
16373
  topic_id?: string | undefined;
16374
- message_id?: string | undefined;
16374
+ id?: string | undefined;
16375
16375
  } & {
16376
16376
  clan_id?: string | undefined;
16377
16377
  channel_id?: string | undefined;
@@ -16498,7 +16498,7 @@ export declare const Envelope: {
16498
16498
  is_public?: boolean | undefined;
16499
16499
  code?: number | undefined;
16500
16500
  topic_id?: string | undefined;
16501
- message_id?: string | undefined;
16501
+ id?: string | undefined;
16502
16502
  } & { [K_581 in Exclude<keyof I_1["ephemeral_message_send"]["message"], keyof ChannelMessageSend>]: never; }) | undefined;
16503
16503
  receiver_id?: string | undefined;
16504
16504
  } & { [K_582 in Exclude<keyof I_1["ephemeral_message_send"], keyof EphemeralMessageSend>]: never; }) | undefined;
@@ -20966,7 +20966,7 @@ export declare const Envelope: {
20966
20966
  is_public?: boolean | undefined;
20967
20967
  code?: number | undefined;
20968
20968
  topic_id?: string | undefined;
20969
- message_id?: string | undefined;
20969
+ id?: string | undefined;
20970
20970
  } | undefined;
20971
20971
  } & {
20972
20972
  menu_name?: string | undefined;
@@ -21012,7 +21012,7 @@ export declare const Envelope: {
21012
21012
  is_public?: boolean | undefined;
21013
21013
  code?: number | undefined;
21014
21014
  topic_id?: string | undefined;
21015
- message_id?: string | undefined;
21015
+ id?: string | undefined;
21016
21016
  } & {
21017
21017
  clan_id?: string | undefined;
21018
21018
  channel_id?: string | undefined;
@@ -21139,7 +21139,7 @@ export declare const Envelope: {
21139
21139
  is_public?: boolean | undefined;
21140
21140
  code?: number | undefined;
21141
21141
  topic_id?: string | undefined;
21142
- message_id?: string | undefined;
21142
+ id?: string | undefined;
21143
21143
  } & { [K_781 in Exclude<keyof I_1["quick_menu_event"]["message"], keyof ChannelMessageSend>]: never; }) | undefined;
21144
21144
  } & { [K_782 in Exclude<keyof I_1["quick_menu_event"], keyof QuickMenuDataEvent>]: never; }) | undefined;
21145
21145
  un_block_friend?: ({
@@ -22127,7 +22127,7 @@ export declare const EphemeralMessageSend: {
22127
22127
  is_public?: boolean | undefined;
22128
22128
  code?: number | undefined;
22129
22129
  topic_id?: string | undefined;
22130
- message_id?: string | undefined;
22130
+ id?: string | undefined;
22131
22131
  } | undefined;
22132
22132
  receiver_id?: string | undefined;
22133
22133
  } & {
@@ -22173,7 +22173,7 @@ export declare const EphemeralMessageSend: {
22173
22173
  is_public?: boolean | undefined;
22174
22174
  code?: number | undefined;
22175
22175
  topic_id?: string | undefined;
22176
- message_id?: string | undefined;
22176
+ id?: string | undefined;
22177
22177
  } & {
22178
22178
  clan_id?: string | undefined;
22179
22179
  channel_id?: string | undefined;
@@ -22300,7 +22300,7 @@ export declare const EphemeralMessageSend: {
22300
22300
  is_public?: boolean | undefined;
22301
22301
  code?: number | undefined;
22302
22302
  topic_id?: string | undefined;
22303
- message_id?: string | undefined;
22303
+ id?: string | undefined;
22304
22304
  } & { [K_6 in Exclude<keyof I["message"], keyof ChannelMessageSend>]: never; }) | undefined;
22305
22305
  receiver_id?: string | undefined;
22306
22306
  } & { [K_7 in Exclude<keyof I, keyof EphemeralMessageSend>]: never; }>(base?: I | undefined): EphemeralMessageSend;
@@ -22347,7 +22347,7 @@ export declare const EphemeralMessageSend: {
22347
22347
  is_public?: boolean | undefined;
22348
22348
  code?: number | undefined;
22349
22349
  topic_id?: string | undefined;
22350
- message_id?: string | undefined;
22350
+ id?: string | undefined;
22351
22351
  } | undefined;
22352
22352
  receiver_id?: string | undefined;
22353
22353
  } & {
@@ -22393,7 +22393,7 @@ export declare const EphemeralMessageSend: {
22393
22393
  is_public?: boolean | undefined;
22394
22394
  code?: number | undefined;
22395
22395
  topic_id?: string | undefined;
22396
- message_id?: string | undefined;
22396
+ id?: string | undefined;
22397
22397
  } & {
22398
22398
  clan_id?: string | undefined;
22399
22399
  channel_id?: string | undefined;
@@ -22520,7 +22520,7 @@ export declare const EphemeralMessageSend: {
22520
22520
  is_public?: boolean | undefined;
22521
22521
  code?: number | undefined;
22522
22522
  topic_id?: string | undefined;
22523
- message_id?: string | undefined;
22523
+ id?: string | undefined;
22524
22524
  } & { [K_14 in Exclude<keyof I_1["message"], keyof ChannelMessageSend>]: never; }) | undefined;
22525
22525
  receiver_id?: string | undefined;
22526
22526
  } & { [K_15 in Exclude<keyof I_1, keyof EphemeralMessageSend>]: never; }>(object: I_1): EphemeralMessageSend;
@@ -22574,7 +22574,7 @@ export declare const QuickMenuDataEvent: {
22574
22574
  is_public?: boolean | undefined;
22575
22575
  code?: number | undefined;
22576
22576
  topic_id?: string | undefined;
22577
- message_id?: string | undefined;
22577
+ id?: string | undefined;
22578
22578
  } | undefined;
22579
22579
  } & {
22580
22580
  menu_name?: string | undefined;
@@ -22620,7 +22620,7 @@ export declare const QuickMenuDataEvent: {
22620
22620
  is_public?: boolean | undefined;
22621
22621
  code?: number | undefined;
22622
22622
  topic_id?: string | undefined;
22623
- message_id?: string | undefined;
22623
+ id?: string | undefined;
22624
22624
  } & {
22625
22625
  clan_id?: string | undefined;
22626
22626
  channel_id?: string | undefined;
@@ -22747,7 +22747,7 @@ export declare const QuickMenuDataEvent: {
22747
22747
  is_public?: boolean | undefined;
22748
22748
  code?: number | undefined;
22749
22749
  topic_id?: string | undefined;
22750
- message_id?: string | undefined;
22750
+ id?: string | undefined;
22751
22751
  } & { [K_6 in Exclude<keyof I["message"], keyof ChannelMessageSend>]: never; }) | undefined;
22752
22752
  } & { [K_7 in Exclude<keyof I, keyof QuickMenuDataEvent>]: never; }>(base?: I | undefined): QuickMenuDataEvent;
22753
22753
  fromPartial<I_1 extends {
@@ -22794,7 +22794,7 @@ export declare const QuickMenuDataEvent: {
22794
22794
  is_public?: boolean | undefined;
22795
22795
  code?: number | undefined;
22796
22796
  topic_id?: string | undefined;
22797
- message_id?: string | undefined;
22797
+ id?: string | undefined;
22798
22798
  } | undefined;
22799
22799
  } & {
22800
22800
  menu_name?: string | undefined;
@@ -22840,7 +22840,7 @@ export declare const QuickMenuDataEvent: {
22840
22840
  is_public?: boolean | undefined;
22841
22841
  code?: number | undefined;
22842
22842
  topic_id?: string | undefined;
22843
- message_id?: string | undefined;
22843
+ id?: string | undefined;
22844
22844
  } & {
22845
22845
  clan_id?: string | undefined;
22846
22846
  channel_id?: string | undefined;
@@ -22967,7 +22967,7 @@ export declare const QuickMenuDataEvent: {
22967
22967
  is_public?: boolean | undefined;
22968
22968
  code?: number | undefined;
22969
22969
  topic_id?: string | undefined;
22970
- message_id?: string | undefined;
22970
+ id?: string | undefined;
22971
22971
  } & { [K_14 in Exclude<keyof I_1["message"], keyof ChannelMessageSend>]: never; }) | undefined;
22972
22972
  } & { [K_15 in Exclude<keyof I_1, keyof QuickMenuDataEvent>]: never; }>(object: I_1): QuickMenuDataEvent;
22973
22973
  };
@@ -23070,7 +23070,7 @@ export declare const ChannelMessageSend: {
23070
23070
  is_public?: boolean | undefined;
23071
23071
  code?: number | undefined;
23072
23072
  topic_id?: string | undefined;
23073
- message_id?: string | undefined;
23073
+ id?: string | undefined;
23074
23074
  } & {
23075
23075
  clan_id?: string | undefined;
23076
23076
  channel_id?: string | undefined;
@@ -23197,7 +23197,7 @@ export declare const ChannelMessageSend: {
23197
23197
  is_public?: boolean | undefined;
23198
23198
  code?: number | undefined;
23199
23199
  topic_id?: string | undefined;
23200
- message_id?: string | undefined;
23200
+ id?: string | undefined;
23201
23201
  } & { [K_6 in Exclude<keyof I, keyof ChannelMessageSend>]: never; }>(base?: I | undefined): ChannelMessageSend;
23202
23202
  fromPartial<I_1 extends {
23203
23203
  clan_id?: string | undefined;
@@ -23241,7 +23241,7 @@ export declare const ChannelMessageSend: {
23241
23241
  is_public?: boolean | undefined;
23242
23242
  code?: number | undefined;
23243
23243
  topic_id?: string | undefined;
23244
- message_id?: string | undefined;
23244
+ id?: string | undefined;
23245
23245
  } & {
23246
23246
  clan_id?: string | undefined;
23247
23247
  channel_id?: string | undefined;
@@ -23368,7 +23368,7 @@ export declare const ChannelMessageSend: {
23368
23368
  is_public?: boolean | undefined;
23369
23369
  code?: number | undefined;
23370
23370
  topic_id?: string | undefined;
23371
- message_id?: string | undefined;
23371
+ id?: string | undefined;
23372
23372
  } & { [K_13 in Exclude<keyof I_1, keyof ChannelMessageSend>]: never; }>(object: I_1): ChannelMessageSend;
23373
23373
  };
23374
23374
  export declare const ChannelMessageUpdate: {
@@ -17345,7 +17345,7 @@ function createBaseChannelMessageSend() {
17345
17345
  is_public: false,
17346
17346
  code: 0,
17347
17347
  topic_id: "",
17348
- message_id: ""
17348
+ id: ""
17349
17349
  };
17350
17350
  }
17351
17351
  var ChannelMessageSend = {
@@ -17389,8 +17389,8 @@ var ChannelMessageSend = {
17389
17389
  if (message.topic_id !== "") {
17390
17390
  writer.uint32(106).string(message.topic_id);
17391
17391
  }
17392
- if (message.message_id !== "") {
17393
- writer.uint32(114).string(message.message_id);
17392
+ if (message.id !== "") {
17393
+ writer.uint32(114).string(message.id);
17394
17394
  }
17395
17395
  return writer;
17396
17396
  },
@@ -17483,7 +17483,7 @@ var ChannelMessageSend = {
17483
17483
  if (tag !== 114) {
17484
17484
  break;
17485
17485
  }
17486
- message.message_id = reader.string();
17486
+ message.id = reader.string();
17487
17487
  continue;
17488
17488
  }
17489
17489
  if ((tag & 7) === 4 || tag === 0) {
@@ -17508,7 +17508,7 @@ var ChannelMessageSend = {
17508
17508
  is_public: isSet4(object.is_public) ? globalThis.Boolean(object.is_public) : false,
17509
17509
  code: isSet4(object.code) ? globalThis.Number(object.code) : 0,
17510
17510
  topic_id: isSet4(object.topic_id) ? globalThis.String(object.topic_id) : "",
17511
- message_id: isSet4(object.message_id) ? globalThis.String(object.message_id) : ""
17511
+ id: isSet4(object.id) ? globalThis.String(object.id) : ""
17512
17512
  };
17513
17513
  },
17514
17514
  toJSON(message) {
@@ -17553,8 +17553,8 @@ var ChannelMessageSend = {
17553
17553
  if (message.topic_id !== "") {
17554
17554
  obj.topic_id = message.topic_id;
17555
17555
  }
17556
- if (message.message_id !== "") {
17557
- obj.message_id = message.message_id;
17556
+ if (message.id !== "") {
17557
+ obj.id = message.id;
17558
17558
  }
17559
17559
  return obj;
17560
17560
  },
@@ -17577,7 +17577,7 @@ var ChannelMessageSend = {
17577
17577
  message.is_public = (_k = object.is_public) != null ? _k : false;
17578
17578
  message.code = (_l = object.code) != null ? _l : 0;
17579
17579
  message.topic_id = (_m = object.topic_id) != null ? _m : "";
17580
- message.message_id = (_n = object.message_id) != null ? _n : "";
17580
+ message.id = (_n = object.id) != null ? _n : "";
17581
17581
  return message;
17582
17582
  }
17583
17583
  };
@@ -17332,7 +17332,7 @@ function createBaseChannelMessageSend() {
17332
17332
  is_public: false,
17333
17333
  code: 0,
17334
17334
  topic_id: "",
17335
- message_id: ""
17335
+ id: ""
17336
17336
  };
17337
17337
  }
17338
17338
  var ChannelMessageSend = {
@@ -17376,8 +17376,8 @@ var ChannelMessageSend = {
17376
17376
  if (message.topic_id !== "") {
17377
17377
  writer.uint32(106).string(message.topic_id);
17378
17378
  }
17379
- if (message.message_id !== "") {
17380
- writer.uint32(114).string(message.message_id);
17379
+ if (message.id !== "") {
17380
+ writer.uint32(114).string(message.id);
17381
17381
  }
17382
17382
  return writer;
17383
17383
  },
@@ -17470,7 +17470,7 @@ var ChannelMessageSend = {
17470
17470
  if (tag !== 114) {
17471
17471
  break;
17472
17472
  }
17473
- message.message_id = reader.string();
17473
+ message.id = reader.string();
17474
17474
  continue;
17475
17475
  }
17476
17476
  if ((tag & 7) === 4 || tag === 0) {
@@ -17495,7 +17495,7 @@ var ChannelMessageSend = {
17495
17495
  is_public: isSet4(object.is_public) ? globalThis.Boolean(object.is_public) : false,
17496
17496
  code: isSet4(object.code) ? globalThis.Number(object.code) : 0,
17497
17497
  topic_id: isSet4(object.topic_id) ? globalThis.String(object.topic_id) : "",
17498
- message_id: isSet4(object.message_id) ? globalThis.String(object.message_id) : ""
17498
+ id: isSet4(object.id) ? globalThis.String(object.id) : ""
17499
17499
  };
17500
17500
  },
17501
17501
  toJSON(message) {
@@ -17540,8 +17540,8 @@ var ChannelMessageSend = {
17540
17540
  if (message.topic_id !== "") {
17541
17541
  obj.topic_id = message.topic_id;
17542
17542
  }
17543
- if (message.message_id !== "") {
17544
- obj.message_id = message.message_id;
17543
+ if (message.id !== "") {
17544
+ obj.id = message.id;
17545
17545
  }
17546
17546
  return obj;
17547
17547
  },
@@ -17564,7 +17564,7 @@ var ChannelMessageSend = {
17564
17564
  message.is_public = (_k = object.is_public) != null ? _k : false;
17565
17565
  message.code = (_l = object.code) != null ? _l : 0;
17566
17566
  message.topic_id = (_m = object.topic_id) != null ? _m : "";
17567
- message.message_id = (_n = object.message_id) != null ? _n : "";
17567
+ message.id = (_n = object.id) != null ? _n : "";
17568
17568
  return message;
17569
17569
  }
17570
17570
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js-protobuf",
3
- "version": "1.8.57",
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
@@ -730,7 +730,7 @@ export interface ChannelMessageSend {
730
730
  /** topic id */
731
731
  topic_id: string;
732
732
  /** message id */
733
- message_id: string;
733
+ id: string;
734
734
  }
735
735
 
736
736
  /** Update a message previously sent to a realtime channel. */
@@ -5957,7 +5957,7 @@ function createBaseChannelMessageSend(): ChannelMessageSend {
5957
5957
  is_public: false,
5958
5958
  code: 0,
5959
5959
  topic_id: "",
5960
- message_id: "",
5960
+ id: "",
5961
5961
  };
5962
5962
  }
5963
5963
 
@@ -6002,8 +6002,8 @@ export const ChannelMessageSend = {
6002
6002
  if (message.topic_id !== "") {
6003
6003
  writer.uint32(106).string(message.topic_id);
6004
6004
  }
6005
- if (message.message_id !== "") {
6006
- writer.uint32(114).string(message.message_id);
6005
+ if (message.id !== "") {
6006
+ writer.uint32(114).string(message.id);
6007
6007
  }
6008
6008
  return writer;
6009
6009
  },
@@ -6111,7 +6111,7 @@ export const ChannelMessageSend = {
6111
6111
  break;
6112
6112
  }
6113
6113
 
6114
- message.message_id = reader.string();
6114
+ message.id = reader.string();
6115
6115
  continue;
6116
6116
  }
6117
6117
  if ((tag & 7) === 4 || tag === 0) {
@@ -6143,7 +6143,7 @@ export const ChannelMessageSend = {
6143
6143
  is_public: isSet(object.is_public) ? globalThis.Boolean(object.is_public) : false,
6144
6144
  code: isSet(object.code) ? globalThis.Number(object.code) : 0,
6145
6145
  topic_id: isSet(object.topic_id) ? globalThis.String(object.topic_id) : "",
6146
- message_id: isSet(object.message_id) ? globalThis.String(object.message_id) : "",
6146
+ id: isSet(object.id) ? globalThis.String(object.id) : "",
6147
6147
  };
6148
6148
  },
6149
6149
 
@@ -6188,8 +6188,8 @@ export const ChannelMessageSend = {
6188
6188
  if (message.topic_id !== "") {
6189
6189
  obj.topic_id = message.topic_id;
6190
6190
  }
6191
- if (message.message_id !== "") {
6192
- obj.message_id = message.message_id;
6191
+ if (message.id !== "") {
6192
+ obj.id = message.id;
6193
6193
  }
6194
6194
  return obj;
6195
6195
  },
@@ -6212,7 +6212,7 @@ export const ChannelMessageSend = {
6212
6212
  message.is_public = object.is_public ?? false;
6213
6213
  message.code = object.code ?? 0;
6214
6214
  message.topic_id = object.topic_id ?? "";
6215
- message.message_id = object.message_id ?? "";
6215
+ message.id = object.id ?? "";
6216
6216
  return message;
6217
6217
  },
6218
6218
  };