mezon-js-protobuf 1.4.70 → 1.4.72

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
@@ -543,6 +543,8 @@ export interface ChannelMessage {
543
543
  display_name: string;
544
544
  /** The clan nick name */
545
545
  clan_nick: string;
546
+ /** The clan avatar */
547
+ clan_avatar: string;
546
548
  /** Emoji reaction */
547
549
  reactions: string;
548
550
  /** Message mention */
@@ -575,6 +577,8 @@ export interface NotificationInfo {
575
577
  avatar: string;
576
578
  /** clan nick name */
577
579
  clan_nick: string;
580
+ /** clan avatar */
581
+ clan_avatar: string;
578
582
  /** display name */
579
583
  display_name: string;
580
584
  /** channel label */
@@ -946,6 +950,8 @@ export interface ChannelUserList_ChannelUser {
946
950
  thread_id: string;
947
951
  /** clan nick name */
948
952
  clan_nick: string;
953
+ /** clan avartar */
954
+ clan_avatar: string;
949
955
  }
950
956
 
951
957
  /** A list of users belonging to a channel, along with their role. */
@@ -5371,6 +5377,7 @@ function createBaseChannelMessage(): ChannelMessage {
5371
5377
  category_name: "",
5372
5378
  display_name: "",
5373
5379
  clan_nick: "",
5380
+ clan_avatar: "",
5374
5381
  reactions: "",
5375
5382
  mentions: "",
5376
5383
  attachments: "",
@@ -5426,20 +5433,23 @@ export const ChannelMessage = {
5426
5433
  if (message.clan_nick !== "") {
5427
5434
  writer.uint32(122).string(message.clan_nick);
5428
5435
  }
5436
+ if (message.clan_avatar !== "") {
5437
+ writer.uint32(130).string(message.clan_avatar);
5438
+ }
5429
5439
  if (message.reactions !== "") {
5430
- writer.uint32(130).string(message.reactions);
5440
+ writer.uint32(138).string(message.reactions);
5431
5441
  }
5432
5442
  if (message.mentions !== "") {
5433
- writer.uint32(138).string(message.mentions);
5443
+ writer.uint32(146).string(message.mentions);
5434
5444
  }
5435
5445
  if (message.attachments !== "") {
5436
- writer.uint32(146).string(message.attachments);
5446
+ writer.uint32(154).string(message.attachments);
5437
5447
  }
5438
5448
  if (message.references !== "") {
5439
- writer.uint32(154).string(message.references);
5449
+ writer.uint32(162).string(message.references);
5440
5450
  }
5441
5451
  if (message.referenced_message !== "") {
5442
- writer.uint32(162).string(message.referenced_message);
5452
+ writer.uint32(170).string(message.referenced_message);
5443
5453
  }
5444
5454
  return writer;
5445
5455
  },
@@ -5497,18 +5507,21 @@ export const ChannelMessage = {
5497
5507
  message.clan_nick = reader.string();
5498
5508
  break;
5499
5509
  case 16:
5500
- message.reactions = reader.string();
5510
+ message.clan_avatar = reader.string();
5501
5511
  break;
5502
5512
  case 17:
5503
- message.mentions = reader.string();
5513
+ message.reactions = reader.string();
5504
5514
  break;
5505
5515
  case 18:
5506
- message.attachments = reader.string();
5516
+ message.mentions = reader.string();
5507
5517
  break;
5508
5518
  case 19:
5509
- message.references = reader.string();
5519
+ message.attachments = reader.string();
5510
5520
  break;
5511
5521
  case 20:
5522
+ message.references = reader.string();
5523
+ break;
5524
+ case 21:
5512
5525
  message.referenced_message = reader.string();
5513
5526
  break;
5514
5527
  default:
@@ -5536,6 +5549,7 @@ export const ChannelMessage = {
5536
5549
  category_name: isSet(object.category_name) ? String(object.category_name) : "",
5537
5550
  display_name: isSet(object.display_name) ? String(object.display_name) : "",
5538
5551
  clan_nick: isSet(object.clan_nick) ? String(object.clan_nick) : "",
5552
+ clan_avatar: isSet(object.clan_avatar) ? String(object.clan_avatar) : "",
5539
5553
  reactions: isSet(object.reactions) ? String(object.reactions) : "",
5540
5554
  mentions: isSet(object.mentions) ? String(object.mentions) : "",
5541
5555
  attachments: isSet(object.attachments) ? String(object.attachments) : "",
@@ -5561,6 +5575,7 @@ export const ChannelMessage = {
5561
5575
  message.category_name !== undefined && (obj.category_name = message.category_name);
5562
5576
  message.display_name !== undefined && (obj.display_name = message.display_name);
5563
5577
  message.clan_nick !== undefined && (obj.clan_nick = message.clan_nick);
5578
+ message.clan_avatar !== undefined && (obj.clan_avatar = message.clan_avatar);
5564
5579
  message.reactions !== undefined && (obj.reactions = message.reactions);
5565
5580
  message.mentions !== undefined && (obj.mentions = message.mentions);
5566
5581
  message.attachments !== undefined && (obj.attachments = message.attachments);
@@ -5590,6 +5605,7 @@ export const ChannelMessage = {
5590
5605
  message.category_name = object.category_name ?? "";
5591
5606
  message.display_name = object.display_name ?? "";
5592
5607
  message.clan_nick = object.clan_nick ?? "";
5608
+ message.clan_avatar = object.clan_avatar ?? "";
5593
5609
  message.reactions = object.reactions ?? "";
5594
5610
  message.mentions = object.mentions ?? "";
5595
5611
  message.attachments = object.attachments ?? "";
@@ -5684,6 +5700,7 @@ function createBaseNotificationInfo(): NotificationInfo {
5684
5700
  username: "",
5685
5701
  avatar: "",
5686
5702
  clan_nick: "",
5703
+ clan_avatar: "",
5687
5704
  display_name: "",
5688
5705
  channel_label: "",
5689
5706
  channel_type: "",
@@ -5704,23 +5721,26 @@ export const NotificationInfo = {
5704
5721
  if (message.clan_nick !== "") {
5705
5722
  writer.uint32(26).string(message.clan_nick);
5706
5723
  }
5724
+ if (message.clan_avatar !== "") {
5725
+ writer.uint32(34).string(message.clan_avatar);
5726
+ }
5707
5727
  if (message.display_name !== "") {
5708
- writer.uint32(34).string(message.display_name);
5728
+ writer.uint32(42).string(message.display_name);
5709
5729
  }
5710
5730
  if (message.channel_label !== "") {
5711
- writer.uint32(42).string(message.channel_label);
5731
+ writer.uint32(50).string(message.channel_label);
5712
5732
  }
5713
5733
  if (message.channel_type !== "") {
5714
- writer.uint32(50).string(message.channel_type);
5734
+ writer.uint32(58).string(message.channel_type);
5715
5735
  }
5716
5736
  if (message.category_name !== "") {
5717
- writer.uint32(58).string(message.category_name);
5737
+ writer.uint32(66).string(message.category_name);
5718
5738
  }
5719
5739
  if (message.clan_name !== "") {
5720
- writer.uint32(66).string(message.clan_name);
5740
+ writer.uint32(74).string(message.clan_name);
5721
5741
  }
5722
5742
  if (message.clan_logo !== "") {
5723
- writer.uint32(74).string(message.clan_logo);
5743
+ writer.uint32(82).string(message.clan_logo);
5724
5744
  }
5725
5745
  return writer;
5726
5746
  },
@@ -5742,21 +5762,24 @@ export const NotificationInfo = {
5742
5762
  message.clan_nick = reader.string();
5743
5763
  break;
5744
5764
  case 4:
5745
- message.display_name = reader.string();
5765
+ message.clan_avatar = reader.string();
5746
5766
  break;
5747
5767
  case 5:
5748
- message.channel_label = reader.string();
5768
+ message.display_name = reader.string();
5749
5769
  break;
5750
5770
  case 6:
5751
- message.channel_type = reader.string();
5771
+ message.channel_label = reader.string();
5752
5772
  break;
5753
5773
  case 7:
5754
- message.category_name = reader.string();
5774
+ message.channel_type = reader.string();
5755
5775
  break;
5756
5776
  case 8:
5757
- message.clan_name = reader.string();
5777
+ message.category_name = reader.string();
5758
5778
  break;
5759
5779
  case 9:
5780
+ message.clan_name = reader.string();
5781
+ break;
5782
+ case 10:
5760
5783
  message.clan_logo = reader.string();
5761
5784
  break;
5762
5785
  default:
@@ -5772,6 +5795,7 @@ export const NotificationInfo = {
5772
5795
  username: isSet(object.username) ? String(object.username) : "",
5773
5796
  avatar: isSet(object.avatar) ? String(object.avatar) : "",
5774
5797
  clan_nick: isSet(object.clan_nick) ? String(object.clan_nick) : "",
5798
+ clan_avatar: isSet(object.clan_avatar) ? String(object.clan_avatar) : "",
5775
5799
  display_name: isSet(object.display_name) ? String(object.display_name) : "",
5776
5800
  channel_label: isSet(object.channel_label) ? String(object.channel_label) : "",
5777
5801
  channel_type: isSet(object.channel_type) ? String(object.channel_type) : "",
@@ -5786,6 +5810,7 @@ export const NotificationInfo = {
5786
5810
  message.username !== undefined && (obj.username = message.username);
5787
5811
  message.avatar !== undefined && (obj.avatar = message.avatar);
5788
5812
  message.clan_nick !== undefined && (obj.clan_nick = message.clan_nick);
5813
+ message.clan_avatar !== undefined && (obj.clan_avatar = message.clan_avatar);
5789
5814
  message.display_name !== undefined && (obj.display_name = message.display_name);
5790
5815
  message.channel_label !== undefined && (obj.channel_label = message.channel_label);
5791
5816
  message.channel_type !== undefined && (obj.channel_type = message.channel_type);
@@ -5804,6 +5829,7 @@ export const NotificationInfo = {
5804
5829
  message.username = object.username ?? "";
5805
5830
  message.avatar = object.avatar ?? "";
5806
5831
  message.clan_nick = object.clan_nick ?? "";
5832
+ message.clan_avatar = object.clan_avatar ?? "";
5807
5833
  message.display_name = object.display_name ?? "";
5808
5834
  message.channel_label = object.channel_label ?? "";
5809
5835
  message.channel_type = object.channel_type ?? "";
@@ -7527,7 +7553,7 @@ export const ChannelUserList = {
7527
7553
  };
7528
7554
 
7529
7555
  function createBaseChannelUserList_ChannelUser(): ChannelUserList_ChannelUser {
7530
- return { user: undefined, role_id: [], id: "", thread_id: "", clan_nick: "" };
7556
+ return { user: undefined, role_id: [], id: "", thread_id: "", clan_nick: "", clan_avatar: "" };
7531
7557
  }
7532
7558
 
7533
7559
  export const ChannelUserList_ChannelUser = {
@@ -7547,6 +7573,9 @@ export const ChannelUserList_ChannelUser = {
7547
7573
  if (message.clan_nick !== "") {
7548
7574
  writer.uint32(42).string(message.clan_nick);
7549
7575
  }
7576
+ if (message.clan_avatar !== "") {
7577
+ writer.uint32(50).string(message.clan_avatar);
7578
+ }
7550
7579
  return writer;
7551
7580
  },
7552
7581
 
@@ -7572,6 +7601,9 @@ export const ChannelUserList_ChannelUser = {
7572
7601
  case 5:
7573
7602
  message.clan_nick = reader.string();
7574
7603
  break;
7604
+ case 6:
7605
+ message.clan_avatar = reader.string();
7606
+ break;
7575
7607
  default:
7576
7608
  reader.skipType(tag & 7);
7577
7609
  break;
@@ -7587,6 +7619,7 @@ export const ChannelUserList_ChannelUser = {
7587
7619
  id: isSet(object.id) ? String(object.id) : "",
7588
7620
  thread_id: isSet(object.thread_id) ? String(object.thread_id) : "",
7589
7621
  clan_nick: isSet(object.clan_nick) ? String(object.clan_nick) : "",
7622
+ clan_avatar: isSet(object.clan_avatar) ? String(object.clan_avatar) : "",
7590
7623
  };
7591
7624
  },
7592
7625
 
@@ -7601,6 +7634,7 @@ export const ChannelUserList_ChannelUser = {
7601
7634
  message.id !== undefined && (obj.id = message.id);
7602
7635
  message.thread_id !== undefined && (obj.thread_id = message.thread_id);
7603
7636
  message.clan_nick !== undefined && (obj.clan_nick = message.clan_nick);
7637
+ message.clan_avatar !== undefined && (obj.clan_avatar = message.clan_avatar);
7604
7638
  return obj;
7605
7639
  },
7606
7640
 
@@ -7615,6 +7649,7 @@ export const ChannelUserList_ChannelUser = {
7615
7649
  message.id = object.id ?? "";
7616
7650
  message.thread_id = object.thread_id ?? "";
7617
7651
  message.clan_nick = object.clan_nick ?? "";
7652
+ message.clan_avatar = object.clan_avatar ?? "";
7618
7653
  return message;
7619
7654
  },
7620
7655
  };
@@ -367,6 +367,8 @@ export interface ChannelMessage {
367
367
  display_name: string;
368
368
  /** The clan nick name */
369
369
  clan_nick: string;
370
+ /** The clan avatar */
371
+ clan_avatar: string;
370
372
  /** Emoji reaction */
371
373
  reactions: string;
372
374
  /** Message mention */
@@ -397,6 +399,8 @@ export interface NotificationInfo {
397
399
  avatar: string;
398
400
  /** clan nick name */
399
401
  clan_nick: string;
402
+ /** clan avatar */
403
+ clan_avatar: string;
400
404
  /** display name */
401
405
  display_name: string;
402
406
  /** channel label */
@@ -661,6 +665,8 @@ export interface ChannelUserList_ChannelUser {
661
665
  thread_id: string;
662
666
  /** clan nick name */
663
667
  clan_nick: string;
668
+ /** clan avartar */
669
+ clan_avatar: string;
664
670
  }
665
671
  /** A list of users belonging to a channel, along with their role. */
666
672
  export interface VoiceChannelUser {
@@ -3538,6 +3544,7 @@ export declare const ChannelMessage: {
3538
3544
  category_name?: string | undefined;
3539
3545
  display_name?: string | undefined;
3540
3546
  clan_nick?: string | undefined;
3547
+ clan_avatar?: string | undefined;
3541
3548
  reactions?: string | undefined;
3542
3549
  mentions?: string | undefined;
3543
3550
  attachments?: string | undefined;
@@ -3559,6 +3566,7 @@ export declare const ChannelMessage: {
3559
3566
  category_name?: string | undefined;
3560
3567
  display_name?: string | undefined;
3561
3568
  clan_nick?: string | undefined;
3569
+ clan_avatar?: string | undefined;
3562
3570
  reactions?: string | undefined;
3563
3571
  mentions?: string | undefined;
3564
3572
  attachments?: string | undefined;
@@ -3581,6 +3589,7 @@ export declare const ChannelMessage: {
3581
3589
  category_name?: string | undefined;
3582
3590
  display_name?: string | undefined;
3583
3591
  clan_nick?: string | undefined;
3592
+ clan_avatar?: string | undefined;
3584
3593
  reactions?: string | undefined;
3585
3594
  mentions?: string | undefined;
3586
3595
  attachments?: string | undefined;
@@ -3602,6 +3611,7 @@ export declare const ChannelMessage: {
3602
3611
  category_name?: string | undefined;
3603
3612
  display_name?: string | undefined;
3604
3613
  clan_nick?: string | undefined;
3614
+ clan_avatar?: string | undefined;
3605
3615
  reactions?: string | undefined;
3606
3616
  mentions?: string | undefined;
3607
3617
  attachments?: string | undefined;
@@ -3646,6 +3656,7 @@ export declare const NotificationInfo: {
3646
3656
  username?: string | undefined;
3647
3657
  avatar?: string | undefined;
3648
3658
  clan_nick?: string | undefined;
3659
+ clan_avatar?: string | undefined;
3649
3660
  display_name?: string | undefined;
3650
3661
  channel_label?: string | undefined;
3651
3662
  channel_type?: string | undefined;
@@ -3656,6 +3667,7 @@ export declare const NotificationInfo: {
3656
3667
  username?: string | undefined;
3657
3668
  avatar?: string | undefined;
3658
3669
  clan_nick?: string | undefined;
3670
+ clan_avatar?: string | undefined;
3659
3671
  display_name?: string | undefined;
3660
3672
  channel_label?: string | undefined;
3661
3673
  channel_type?: string | undefined;
@@ -3667,6 +3679,7 @@ export declare const NotificationInfo: {
3667
3679
  username?: string | undefined;
3668
3680
  avatar?: string | undefined;
3669
3681
  clan_nick?: string | undefined;
3682
+ clan_avatar?: string | undefined;
3670
3683
  display_name?: string | undefined;
3671
3684
  channel_label?: string | undefined;
3672
3685
  channel_type?: string | undefined;
@@ -3677,6 +3690,7 @@ export declare const NotificationInfo: {
3677
3690
  username?: string | undefined;
3678
3691
  avatar?: string | undefined;
3679
3692
  clan_nick?: string | undefined;
3693
+ clan_avatar?: string | undefined;
3680
3694
  display_name?: string | undefined;
3681
3695
  channel_label?: string | undefined;
3682
3696
  channel_type?: string | undefined;
@@ -3835,6 +3849,7 @@ export declare const ChannelMessageList: {
3835
3849
  category_name?: string | undefined;
3836
3850
  display_name?: string | undefined;
3837
3851
  clan_nick?: string | undefined;
3852
+ clan_avatar?: string | undefined;
3838
3853
  reactions?: string | undefined;
3839
3854
  mentions?: string | undefined;
3840
3855
  attachments?: string | undefined;
@@ -3868,6 +3883,7 @@ export declare const ChannelMessageList: {
3868
3883
  category_name?: string | undefined;
3869
3884
  display_name?: string | undefined;
3870
3885
  clan_nick?: string | undefined;
3886
+ clan_avatar?: string | undefined;
3871
3887
  reactions?: string | undefined;
3872
3888
  mentions?: string | undefined;
3873
3889
  attachments?: string | undefined;
@@ -3889,6 +3905,7 @@ export declare const ChannelMessageList: {
3889
3905
  category_name?: string | undefined;
3890
3906
  display_name?: string | undefined;
3891
3907
  clan_nick?: string | undefined;
3908
+ clan_avatar?: string | undefined;
3892
3909
  reactions?: string | undefined;
3893
3910
  mentions?: string | undefined;
3894
3911
  attachments?: string | undefined;
@@ -3910,6 +3927,7 @@ export declare const ChannelMessageList: {
3910
3927
  category_name?: string | undefined;
3911
3928
  display_name?: string | undefined;
3912
3929
  clan_nick?: string | undefined;
3930
+ clan_avatar?: string | undefined;
3913
3931
  reactions?: string | undefined;
3914
3932
  mentions?: string | undefined;
3915
3933
  attachments?: string | undefined;
@@ -3931,6 +3949,7 @@ export declare const ChannelMessageList: {
3931
3949
  category_name?: string | undefined;
3932
3950
  display_name?: string | undefined;
3933
3951
  clan_nick?: string | undefined;
3952
+ clan_avatar?: string | undefined;
3934
3953
  reactions?: string | undefined;
3935
3954
  mentions?: string | undefined;
3936
3955
  attachments?: string | undefined;
@@ -3974,6 +3993,7 @@ export declare const ChannelMessageList: {
3974
3993
  category_name?: string | undefined;
3975
3994
  display_name?: string | undefined;
3976
3995
  clan_nick?: string | undefined;
3996
+ clan_avatar?: string | undefined;
3977
3997
  reactions?: string | undefined;
3978
3998
  mentions?: string | undefined;
3979
3999
  attachments?: string | undefined;
@@ -4007,6 +4027,7 @@ export declare const ChannelMessageList: {
4007
4027
  category_name?: string | undefined;
4008
4028
  display_name?: string | undefined;
4009
4029
  clan_nick?: string | undefined;
4030
+ clan_avatar?: string | undefined;
4010
4031
  reactions?: string | undefined;
4011
4032
  mentions?: string | undefined;
4012
4033
  attachments?: string | undefined;
@@ -4028,6 +4049,7 @@ export declare const ChannelMessageList: {
4028
4049
  category_name?: string | undefined;
4029
4050
  display_name?: string | undefined;
4030
4051
  clan_nick?: string | undefined;
4052
+ clan_avatar?: string | undefined;
4031
4053
  reactions?: string | undefined;
4032
4054
  mentions?: string | undefined;
4033
4055
  attachments?: string | undefined;
@@ -4049,6 +4071,7 @@ export declare const ChannelMessageList: {
4049
4071
  category_name?: string | undefined;
4050
4072
  display_name?: string | undefined;
4051
4073
  clan_nick?: string | undefined;
4074
+ clan_avatar?: string | undefined;
4052
4075
  reactions?: string | undefined;
4053
4076
  mentions?: string | undefined;
4054
4077
  attachments?: string | undefined;
@@ -4070,6 +4093,7 @@ export declare const ChannelMessageList: {
4070
4093
  category_name?: string | undefined;
4071
4094
  display_name?: string | undefined;
4072
4095
  clan_nick?: string | undefined;
4096
+ clan_avatar?: string | undefined;
4073
4097
  reactions?: string | undefined;
4074
4098
  mentions?: string | undefined;
4075
4099
  attachments?: string | undefined;
@@ -5485,6 +5509,7 @@ export declare const ChannelUserList: {
5485
5509
  id?: string | undefined;
5486
5510
  thread_id?: string | undefined;
5487
5511
  clan_nick?: string | undefined;
5512
+ clan_avatar?: string | undefined;
5488
5513
  }[] | undefined;
5489
5514
  cursor?: string | undefined;
5490
5515
  channel_id?: string | undefined;
@@ -5515,6 +5540,7 @@ export declare const ChannelUserList: {
5515
5540
  id?: string | undefined;
5516
5541
  thread_id?: string | undefined;
5517
5542
  clan_nick?: string | undefined;
5543
+ clan_avatar?: string | undefined;
5518
5544
  }[] & ({
5519
5545
  user?: {
5520
5546
  id?: string | undefined;
@@ -5541,6 +5567,7 @@ export declare const ChannelUserList: {
5541
5567
  id?: string | undefined;
5542
5568
  thread_id?: string | undefined;
5543
5569
  clan_nick?: string | undefined;
5570
+ clan_avatar?: string | undefined;
5544
5571
  } & {
5545
5572
  user?: ({
5546
5573
  id?: string | undefined;
@@ -5587,6 +5614,7 @@ export declare const ChannelUserList: {
5587
5614
  id?: string | undefined;
5588
5615
  thread_id?: string | undefined;
5589
5616
  clan_nick?: string | undefined;
5617
+ clan_avatar?: string | undefined;
5590
5618
  } & { [K_2 in Exclude<keyof I["channel_users"][number], keyof ChannelUserList_ChannelUser>]: never; })[] & { [K_3 in Exclude<keyof I["channel_users"], keyof {
5591
5619
  user?: {
5592
5620
  id?: string | undefined;
@@ -5613,6 +5641,7 @@ export declare const ChannelUserList: {
5613
5641
  id?: string | undefined;
5614
5642
  thread_id?: string | undefined;
5615
5643
  clan_nick?: string | undefined;
5644
+ clan_avatar?: string | undefined;
5616
5645
  }[]>]: never; }) | undefined;
5617
5646
  cursor?: string | undefined;
5618
5647
  channel_id?: string | undefined;
@@ -5644,6 +5673,7 @@ export declare const ChannelUserList: {
5644
5673
  id?: string | undefined;
5645
5674
  thread_id?: string | undefined;
5646
5675
  clan_nick?: string | undefined;
5676
+ clan_avatar?: string | undefined;
5647
5677
  }[] | undefined;
5648
5678
  cursor?: string | undefined;
5649
5679
  channel_id?: string | undefined;
@@ -5674,6 +5704,7 @@ export declare const ChannelUserList: {
5674
5704
  id?: string | undefined;
5675
5705
  thread_id?: string | undefined;
5676
5706
  clan_nick?: string | undefined;
5707
+ clan_avatar?: string | undefined;
5677
5708
  }[] & ({
5678
5709
  user?: {
5679
5710
  id?: string | undefined;
@@ -5700,6 +5731,7 @@ export declare const ChannelUserList: {
5700
5731
  id?: string | undefined;
5701
5732
  thread_id?: string | undefined;
5702
5733
  clan_nick?: string | undefined;
5734
+ clan_avatar?: string | undefined;
5703
5735
  } & {
5704
5736
  user?: ({
5705
5737
  id?: string | undefined;
@@ -5746,6 +5778,7 @@ export declare const ChannelUserList: {
5746
5778
  id?: string | undefined;
5747
5779
  thread_id?: string | undefined;
5748
5780
  clan_nick?: string | undefined;
5781
+ clan_avatar?: string | undefined;
5749
5782
  } & { [K_7 in Exclude<keyof I_1["channel_users"][number], keyof ChannelUserList_ChannelUser>]: never; })[] & { [K_8 in Exclude<keyof I_1["channel_users"], keyof {
5750
5783
  user?: {
5751
5784
  id?: string | undefined;
@@ -5772,6 +5805,7 @@ export declare const ChannelUserList: {
5772
5805
  id?: string | undefined;
5773
5806
  thread_id?: string | undefined;
5774
5807
  clan_nick?: string | undefined;
5808
+ clan_avatar?: string | undefined;
5775
5809
  }[]>]: never; }) | undefined;
5776
5810
  cursor?: string | undefined;
5777
5811
  channel_id?: string | undefined;
@@ -5808,6 +5842,7 @@ export declare const ChannelUserList_ChannelUser: {
5808
5842
  id?: string | undefined;
5809
5843
  thread_id?: string | undefined;
5810
5844
  clan_nick?: string | undefined;
5845
+ clan_avatar?: string | undefined;
5811
5846
  } & {
5812
5847
  user?: ({
5813
5848
  id?: string | undefined;
@@ -5854,6 +5889,7 @@ export declare const ChannelUserList_ChannelUser: {
5854
5889
  id?: string | undefined;
5855
5890
  thread_id?: string | undefined;
5856
5891
  clan_nick?: string | undefined;
5892
+ clan_avatar?: string | undefined;
5857
5893
  } & { [K_2 in Exclude<keyof I, keyof ChannelUserList_ChannelUser>]: never; }>(base?: I | undefined): ChannelUserList_ChannelUser;
5858
5894
  fromPartial<I_1 extends {
5859
5895
  user?: {
@@ -5881,6 +5917,7 @@ export declare const ChannelUserList_ChannelUser: {
5881
5917
  id?: string | undefined;
5882
5918
  thread_id?: string | undefined;
5883
5919
  clan_nick?: string | undefined;
5920
+ clan_avatar?: string | undefined;
5884
5921
  } & {
5885
5922
  user?: ({
5886
5923
  id?: string | undefined;
@@ -5927,6 +5964,7 @@ export declare const ChannelUserList_ChannelUser: {
5927
5964
  id?: string | undefined;
5928
5965
  thread_id?: string | undefined;
5929
5966
  clan_nick?: string | undefined;
5967
+ clan_avatar?: string | undefined;
5930
5968
  } & { [K_5 in Exclude<keyof I_1, keyof ChannelUserList_ChannelUser>]: never; }>(object: I_1): ChannelUserList_ChannelUser;
5931
5969
  };
5932
5970
  export declare const VoiceChannelUser: {
@@ -102,12 +102,6 @@ export interface ChannelJoin {
102
102
  clan_id: string;
103
103
  /** The id of channel or group */
104
104
  channel_id: string;
105
- /** The type of the chat channel. */
106
- type: number;
107
- /** Whether messages sent on this channel should be persistent. */
108
- persistence: boolean | undefined;
109
- /** Whether the user should appear in the channel's presence list and events. */
110
- hidden: boolean | undefined;
111
105
  /** mode */
112
106
  mode: number;
113
107
  }
@@ -649,9 +643,6 @@ export declare const Envelope: {
649
643
  channel_join?: {
650
644
  clan_id?: string | undefined;
651
645
  channel_id?: string | undefined;
652
- type?: number | undefined;
653
- persistence?: boolean | undefined;
654
- hidden?: boolean | undefined;
655
646
  mode?: number | undefined;
656
647
  } | undefined;
657
648
  channel_leave?: {
@@ -675,6 +666,7 @@ export declare const Envelope: {
675
666
  category_name?: string | undefined;
676
667
  display_name?: string | undefined;
677
668
  clan_nick?: string | undefined;
669
+ clan_avatar?: string | undefined;
678
670
  reactions?: string | undefined;
679
671
  mentions?: string | undefined;
680
672
  attachments?: string | undefined;
@@ -1037,16 +1029,10 @@ export declare const Envelope: {
1037
1029
  channel_join?: ({
1038
1030
  clan_id?: string | undefined;
1039
1031
  channel_id?: string | undefined;
1040
- type?: number | undefined;
1041
- persistence?: boolean | undefined;
1042
- hidden?: boolean | undefined;
1043
1032
  mode?: number | undefined;
1044
1033
  } & {
1045
1034
  clan_id?: string | undefined;
1046
1035
  channel_id?: string | undefined;
1047
- type?: number | undefined;
1048
- persistence?: boolean | undefined;
1049
- hidden?: boolean | undefined;
1050
1036
  mode?: number | undefined;
1051
1037
  } & { [K_5 in Exclude<keyof I["channel_join"], keyof ChannelJoin>]: never; }) | undefined;
1052
1038
  channel_leave?: ({
@@ -1074,6 +1060,7 @@ export declare const Envelope: {
1074
1060
  category_name?: string | undefined;
1075
1061
  display_name?: string | undefined;
1076
1062
  clan_nick?: string | undefined;
1063
+ clan_avatar?: string | undefined;
1077
1064
  reactions?: string | undefined;
1078
1065
  mentions?: string | undefined;
1079
1066
  attachments?: string | undefined;
@@ -1095,6 +1082,7 @@ export declare const Envelope: {
1095
1082
  category_name?: string | undefined;
1096
1083
  display_name?: string | undefined;
1097
1084
  clan_nick?: string | undefined;
1085
+ clan_avatar?: string | undefined;
1098
1086
  reactions?: string | undefined;
1099
1087
  mentions?: string | undefined;
1100
1088
  attachments?: string | undefined;
@@ -1921,9 +1909,6 @@ export declare const Envelope: {
1921
1909
  channel_join?: {
1922
1910
  clan_id?: string | undefined;
1923
1911
  channel_id?: string | undefined;
1924
- type?: number | undefined;
1925
- persistence?: boolean | undefined;
1926
- hidden?: boolean | undefined;
1927
1912
  mode?: number | undefined;
1928
1913
  } | undefined;
1929
1914
  channel_leave?: {
@@ -1947,6 +1932,7 @@ export declare const Envelope: {
1947
1932
  category_name?: string | undefined;
1948
1933
  display_name?: string | undefined;
1949
1934
  clan_nick?: string | undefined;
1935
+ clan_avatar?: string | undefined;
1950
1936
  reactions?: string | undefined;
1951
1937
  mentions?: string | undefined;
1952
1938
  attachments?: string | undefined;
@@ -2309,16 +2295,10 @@ export declare const Envelope: {
2309
2295
  channel_join?: ({
2310
2296
  clan_id?: string | undefined;
2311
2297
  channel_id?: string | undefined;
2312
- type?: number | undefined;
2313
- persistence?: boolean | undefined;
2314
- hidden?: boolean | undefined;
2315
2298
  mode?: number | undefined;
2316
2299
  } & {
2317
2300
  clan_id?: string | undefined;
2318
2301
  channel_id?: string | undefined;
2319
- type?: number | undefined;
2320
- persistence?: boolean | undefined;
2321
- hidden?: boolean | undefined;
2322
2302
  mode?: number | undefined;
2323
2303
  } & { [K_75 in Exclude<keyof I_1["channel_join"], keyof ChannelJoin>]: never; }) | undefined;
2324
2304
  channel_leave?: ({
@@ -2346,6 +2326,7 @@ export declare const Envelope: {
2346
2326
  category_name?: string | undefined;
2347
2327
  display_name?: string | undefined;
2348
2328
  clan_nick?: string | undefined;
2329
+ clan_avatar?: string | undefined;
2349
2330
  reactions?: string | undefined;
2350
2331
  mentions?: string | undefined;
2351
2332
  attachments?: string | undefined;
@@ -2367,6 +2348,7 @@ export declare const Envelope: {
2367
2348
  category_name?: string | undefined;
2368
2349
  display_name?: string | undefined;
2369
2350
  clan_nick?: string | undefined;
2351
+ clan_avatar?: string | undefined;
2370
2352
  reactions?: string | undefined;
2371
2353
  mentions?: string | undefined;
2372
2354
  attachments?: string | undefined;
@@ -3322,31 +3304,19 @@ export declare const ChannelJoin: {
3322
3304
  create<I extends {
3323
3305
  clan_id?: string | undefined;
3324
3306
  channel_id?: string | undefined;
3325
- type?: number | undefined;
3326
- persistence?: boolean | undefined;
3327
- hidden?: boolean | undefined;
3328
3307
  mode?: number | undefined;
3329
3308
  } & {
3330
3309
  clan_id?: string | undefined;
3331
3310
  channel_id?: string | undefined;
3332
- type?: number | undefined;
3333
- persistence?: boolean | undefined;
3334
- hidden?: boolean | undefined;
3335
3311
  mode?: number | undefined;
3336
3312
  } & { [K in Exclude<keyof I, keyof ChannelJoin>]: never; }>(base?: I | undefined): ChannelJoin;
3337
3313
  fromPartial<I_1 extends {
3338
3314
  clan_id?: string | undefined;
3339
3315
  channel_id?: string | undefined;
3340
- type?: number | undefined;
3341
- persistence?: boolean | undefined;
3342
- hidden?: boolean | undefined;
3343
3316
  mode?: number | undefined;
3344
3317
  } & {
3345
3318
  clan_id?: string | undefined;
3346
3319
  channel_id?: string | undefined;
3347
- type?: number | undefined;
3348
- persistence?: boolean | undefined;
3349
- hidden?: boolean | undefined;
3350
3320
  mode?: number | undefined;
3351
3321
  } & { [K_1 in Exclude<keyof I_1, keyof ChannelJoin>]: never; }>(object: I_1): ChannelJoin;
3352
3322
  };
@@ -2543,6 +2543,7 @@ function createBaseChannelMessage() {
2543
2543
  category_name: "",
2544
2544
  display_name: "",
2545
2545
  clan_nick: "",
2546
+ clan_avatar: "",
2546
2547
  reactions: "",
2547
2548
  mentions: "",
2548
2549
  attachments: "",
@@ -2597,20 +2598,23 @@ var ChannelMessage = {
2597
2598
  if (message.clan_nick !== "") {
2598
2599
  writer.uint32(122).string(message.clan_nick);
2599
2600
  }
2601
+ if (message.clan_avatar !== "") {
2602
+ writer.uint32(130).string(message.clan_avatar);
2603
+ }
2600
2604
  if (message.reactions !== "") {
2601
- writer.uint32(130).string(message.reactions);
2605
+ writer.uint32(138).string(message.reactions);
2602
2606
  }
2603
2607
  if (message.mentions !== "") {
2604
- writer.uint32(138).string(message.mentions);
2608
+ writer.uint32(146).string(message.mentions);
2605
2609
  }
2606
2610
  if (message.attachments !== "") {
2607
- writer.uint32(146).string(message.attachments);
2611
+ writer.uint32(154).string(message.attachments);
2608
2612
  }
2609
2613
  if (message.references !== "") {
2610
- writer.uint32(154).string(message.references);
2614
+ writer.uint32(162).string(message.references);
2611
2615
  }
2612
2616
  if (message.referenced_message !== "") {
2613
- writer.uint32(162).string(message.referenced_message);
2617
+ writer.uint32(170).string(message.referenced_message);
2614
2618
  }
2615
2619
  return writer;
2616
2620
  },
@@ -2667,18 +2671,21 @@ var ChannelMessage = {
2667
2671
  message.clan_nick = reader.string();
2668
2672
  break;
2669
2673
  case 16:
2670
- message.reactions = reader.string();
2674
+ message.clan_avatar = reader.string();
2671
2675
  break;
2672
2676
  case 17:
2673
- message.mentions = reader.string();
2677
+ message.reactions = reader.string();
2674
2678
  break;
2675
2679
  case 18:
2676
- message.attachments = reader.string();
2680
+ message.mentions = reader.string();
2677
2681
  break;
2678
2682
  case 19:
2679
- message.references = reader.string();
2683
+ message.attachments = reader.string();
2680
2684
  break;
2681
2685
  case 20:
2686
+ message.references = reader.string();
2687
+ break;
2688
+ case 21:
2682
2689
  message.referenced_message = reader.string();
2683
2690
  break;
2684
2691
  default:
@@ -2705,6 +2712,7 @@ var ChannelMessage = {
2705
2712
  category_name: isSet3(object.category_name) ? String(object.category_name) : "",
2706
2713
  display_name: isSet3(object.display_name) ? String(object.display_name) : "",
2707
2714
  clan_nick: isSet3(object.clan_nick) ? String(object.clan_nick) : "",
2715
+ clan_avatar: isSet3(object.clan_avatar) ? String(object.clan_avatar) : "",
2708
2716
  reactions: isSet3(object.reactions) ? String(object.reactions) : "",
2709
2717
  mentions: isSet3(object.mentions) ? String(object.mentions) : "",
2710
2718
  attachments: isSet3(object.attachments) ? String(object.attachments) : "",
@@ -2729,6 +2737,7 @@ var ChannelMessage = {
2729
2737
  message.category_name !== void 0 && (obj.category_name = message.category_name);
2730
2738
  message.display_name !== void 0 && (obj.display_name = message.display_name);
2731
2739
  message.clan_nick !== void 0 && (obj.clan_nick = message.clan_nick);
2740
+ message.clan_avatar !== void 0 && (obj.clan_avatar = message.clan_avatar);
2732
2741
  message.reactions !== void 0 && (obj.reactions = message.reactions);
2733
2742
  message.mentions !== void 0 && (obj.mentions = message.mentions);
2734
2743
  message.attachments !== void 0 && (obj.attachments = message.attachments);
@@ -2740,7 +2749,7 @@ var ChannelMessage = {
2740
2749
  return ChannelMessage.fromPartial(base != null ? base : {});
2741
2750
  },
2742
2751
  fromPartial(object) {
2743
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t;
2752
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u;
2744
2753
  const message = createBaseChannelMessage();
2745
2754
  message.clan_id = (_a = object.clan_id) != null ? _a : "";
2746
2755
  message.channel_id = (_b = object.channel_id) != null ? _b : "";
@@ -2757,11 +2766,12 @@ var ChannelMessage = {
2757
2766
  message.category_name = (_m = object.category_name) != null ? _m : "";
2758
2767
  message.display_name = (_n = object.display_name) != null ? _n : "";
2759
2768
  message.clan_nick = (_o = object.clan_nick) != null ? _o : "";
2760
- message.reactions = (_p = object.reactions) != null ? _p : "";
2761
- message.mentions = (_q = object.mentions) != null ? _q : "";
2762
- message.attachments = (_r = object.attachments) != null ? _r : "";
2763
- message.references = (_s = object.references) != null ? _s : "";
2764
- message.referenced_message = (_t = object.referenced_message) != null ? _t : "";
2769
+ message.clan_avatar = (_p = object.clan_avatar) != null ? _p : "";
2770
+ message.reactions = (_q = object.reactions) != null ? _q : "";
2771
+ message.mentions = (_r = object.mentions) != null ? _r : "";
2772
+ message.attachments = (_s = object.attachments) != null ? _s : "";
2773
+ message.references = (_t = object.references) != null ? _t : "";
2774
+ message.referenced_message = (_u = object.referenced_message) != null ? _u : "";
2765
2775
  return message;
2766
2776
  }
2767
2777
  };
@@ -3563,7 +3573,7 @@ var ClanJoin = {
3563
3573
  }
3564
3574
  };
3565
3575
  function createBaseChannelJoin() {
3566
- return { clan_id: "", channel_id: "", type: 0, persistence: void 0, hidden: void 0, mode: 0 };
3576
+ return { clan_id: "", channel_id: "", mode: 0 };
3567
3577
  }
3568
3578
  var ChannelJoin = {
3569
3579
  encode(message, writer = import_minimal4.default.Writer.create()) {
@@ -3573,17 +3583,8 @@ var ChannelJoin = {
3573
3583
  if (message.channel_id !== "") {
3574
3584
  writer.uint32(18).string(message.channel_id);
3575
3585
  }
3576
- if (message.type !== 0) {
3577
- writer.uint32(24).int32(message.type);
3578
- }
3579
- if (message.persistence !== void 0) {
3580
- BoolValue.encode({ value: message.persistence }, writer.uint32(34).fork()).ldelim();
3581
- }
3582
- if (message.hidden !== void 0) {
3583
- BoolValue.encode({ value: message.hidden }, writer.uint32(42).fork()).ldelim();
3584
- }
3585
3586
  if (message.mode !== 0) {
3586
- writer.uint32(48).int32(message.mode);
3587
+ writer.uint32(24).int32(message.mode);
3587
3588
  }
3588
3589
  return writer;
3589
3590
  },
@@ -3601,15 +3602,6 @@ var ChannelJoin = {
3601
3602
  message.channel_id = reader.string();
3602
3603
  break;
3603
3604
  case 3:
3604
- message.type = reader.int32();
3605
- break;
3606
- case 4:
3607
- message.persistence = BoolValue.decode(reader, reader.uint32()).value;
3608
- break;
3609
- case 5:
3610
- message.hidden = BoolValue.decode(reader, reader.uint32()).value;
3611
- break;
3612
- case 6:
3613
3605
  message.mode = reader.int32();
3614
3606
  break;
3615
3607
  default:
@@ -3623,9 +3615,6 @@ var ChannelJoin = {
3623
3615
  return {
3624
3616
  clan_id: isSet4(object.clan_id) ? String(object.clan_id) : "",
3625
3617
  channel_id: isSet4(object.channel_id) ? String(object.channel_id) : "",
3626
- type: isSet4(object.type) ? Number(object.type) : 0,
3627
- persistence: isSet4(object.persistence) ? Boolean(object.persistence) : void 0,
3628
- hidden: isSet4(object.hidden) ? Boolean(object.hidden) : void 0,
3629
3618
  mode: isSet4(object.mode) ? Number(object.mode) : 0
3630
3619
  };
3631
3620
  },
@@ -3633,9 +3622,6 @@ var ChannelJoin = {
3633
3622
  const obj = {};
3634
3623
  message.clan_id !== void 0 && (obj.clan_id = message.clan_id);
3635
3624
  message.channel_id !== void 0 && (obj.channel_id = message.channel_id);
3636
- message.type !== void 0 && (obj.type = Math.round(message.type));
3637
- message.persistence !== void 0 && (obj.persistence = message.persistence);
3638
- message.hidden !== void 0 && (obj.hidden = message.hidden);
3639
3625
  message.mode !== void 0 && (obj.mode = Math.round(message.mode));
3640
3626
  return obj;
3641
3627
  },
@@ -3643,14 +3629,11 @@ var ChannelJoin = {
3643
3629
  return ChannelJoin.fromPartial(base != null ? base : {});
3644
3630
  },
3645
3631
  fromPartial(object) {
3646
- var _a, _b, _c, _d, _e, _f;
3632
+ var _a, _b, _c;
3647
3633
  const message = createBaseChannelJoin();
3648
3634
  message.clan_id = (_a = object.clan_id) != null ? _a : "";
3649
3635
  message.channel_id = (_b = object.channel_id) != null ? _b : "";
3650
- message.type = (_c = object.type) != null ? _c : 0;
3651
- message.persistence = (_d = object.persistence) != null ? _d : void 0;
3652
- message.hidden = (_e = object.hidden) != null ? _e : void 0;
3653
- message.mode = (_f = object.mode) != null ? _f : 0;
3636
+ message.mode = (_c = object.mode) != null ? _c : 0;
3654
3637
  return message;
3655
3638
  }
3656
3639
  };
@@ -2530,6 +2530,7 @@ function createBaseChannelMessage() {
2530
2530
  category_name: "",
2531
2531
  display_name: "",
2532
2532
  clan_nick: "",
2533
+ clan_avatar: "",
2533
2534
  reactions: "",
2534
2535
  mentions: "",
2535
2536
  attachments: "",
@@ -2584,20 +2585,23 @@ var ChannelMessage = {
2584
2585
  if (message.clan_nick !== "") {
2585
2586
  writer.uint32(122).string(message.clan_nick);
2586
2587
  }
2588
+ if (message.clan_avatar !== "") {
2589
+ writer.uint32(130).string(message.clan_avatar);
2590
+ }
2587
2591
  if (message.reactions !== "") {
2588
- writer.uint32(130).string(message.reactions);
2592
+ writer.uint32(138).string(message.reactions);
2589
2593
  }
2590
2594
  if (message.mentions !== "") {
2591
- writer.uint32(138).string(message.mentions);
2595
+ writer.uint32(146).string(message.mentions);
2592
2596
  }
2593
2597
  if (message.attachments !== "") {
2594
- writer.uint32(146).string(message.attachments);
2598
+ writer.uint32(154).string(message.attachments);
2595
2599
  }
2596
2600
  if (message.references !== "") {
2597
- writer.uint32(154).string(message.references);
2601
+ writer.uint32(162).string(message.references);
2598
2602
  }
2599
2603
  if (message.referenced_message !== "") {
2600
- writer.uint32(162).string(message.referenced_message);
2604
+ writer.uint32(170).string(message.referenced_message);
2601
2605
  }
2602
2606
  return writer;
2603
2607
  },
@@ -2654,18 +2658,21 @@ var ChannelMessage = {
2654
2658
  message.clan_nick = reader.string();
2655
2659
  break;
2656
2660
  case 16:
2657
- message.reactions = reader.string();
2661
+ message.clan_avatar = reader.string();
2658
2662
  break;
2659
2663
  case 17:
2660
- message.mentions = reader.string();
2664
+ message.reactions = reader.string();
2661
2665
  break;
2662
2666
  case 18:
2663
- message.attachments = reader.string();
2667
+ message.mentions = reader.string();
2664
2668
  break;
2665
2669
  case 19:
2666
- message.references = reader.string();
2670
+ message.attachments = reader.string();
2667
2671
  break;
2668
2672
  case 20:
2673
+ message.references = reader.string();
2674
+ break;
2675
+ case 21:
2669
2676
  message.referenced_message = reader.string();
2670
2677
  break;
2671
2678
  default:
@@ -2692,6 +2699,7 @@ var ChannelMessage = {
2692
2699
  category_name: isSet3(object.category_name) ? String(object.category_name) : "",
2693
2700
  display_name: isSet3(object.display_name) ? String(object.display_name) : "",
2694
2701
  clan_nick: isSet3(object.clan_nick) ? String(object.clan_nick) : "",
2702
+ clan_avatar: isSet3(object.clan_avatar) ? String(object.clan_avatar) : "",
2695
2703
  reactions: isSet3(object.reactions) ? String(object.reactions) : "",
2696
2704
  mentions: isSet3(object.mentions) ? String(object.mentions) : "",
2697
2705
  attachments: isSet3(object.attachments) ? String(object.attachments) : "",
@@ -2716,6 +2724,7 @@ var ChannelMessage = {
2716
2724
  message.category_name !== void 0 && (obj.category_name = message.category_name);
2717
2725
  message.display_name !== void 0 && (obj.display_name = message.display_name);
2718
2726
  message.clan_nick !== void 0 && (obj.clan_nick = message.clan_nick);
2727
+ message.clan_avatar !== void 0 && (obj.clan_avatar = message.clan_avatar);
2719
2728
  message.reactions !== void 0 && (obj.reactions = message.reactions);
2720
2729
  message.mentions !== void 0 && (obj.mentions = message.mentions);
2721
2730
  message.attachments !== void 0 && (obj.attachments = message.attachments);
@@ -2727,7 +2736,7 @@ var ChannelMessage = {
2727
2736
  return ChannelMessage.fromPartial(base != null ? base : {});
2728
2737
  },
2729
2738
  fromPartial(object) {
2730
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t;
2739
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u;
2731
2740
  const message = createBaseChannelMessage();
2732
2741
  message.clan_id = (_a = object.clan_id) != null ? _a : "";
2733
2742
  message.channel_id = (_b = object.channel_id) != null ? _b : "";
@@ -2744,11 +2753,12 @@ var ChannelMessage = {
2744
2753
  message.category_name = (_m = object.category_name) != null ? _m : "";
2745
2754
  message.display_name = (_n = object.display_name) != null ? _n : "";
2746
2755
  message.clan_nick = (_o = object.clan_nick) != null ? _o : "";
2747
- message.reactions = (_p = object.reactions) != null ? _p : "";
2748
- message.mentions = (_q = object.mentions) != null ? _q : "";
2749
- message.attachments = (_r = object.attachments) != null ? _r : "";
2750
- message.references = (_s = object.references) != null ? _s : "";
2751
- message.referenced_message = (_t = object.referenced_message) != null ? _t : "";
2756
+ message.clan_avatar = (_p = object.clan_avatar) != null ? _p : "";
2757
+ message.reactions = (_q = object.reactions) != null ? _q : "";
2758
+ message.mentions = (_r = object.mentions) != null ? _r : "";
2759
+ message.attachments = (_s = object.attachments) != null ? _s : "";
2760
+ message.references = (_t = object.references) != null ? _t : "";
2761
+ message.referenced_message = (_u = object.referenced_message) != null ? _u : "";
2752
2762
  return message;
2753
2763
  }
2754
2764
  };
@@ -3550,7 +3560,7 @@ var ClanJoin = {
3550
3560
  }
3551
3561
  };
3552
3562
  function createBaseChannelJoin() {
3553
- return { clan_id: "", channel_id: "", type: 0, persistence: void 0, hidden: void 0, mode: 0 };
3563
+ return { clan_id: "", channel_id: "", mode: 0 };
3554
3564
  }
3555
3565
  var ChannelJoin = {
3556
3566
  encode(message, writer = import_minimal4.default.Writer.create()) {
@@ -3560,17 +3570,8 @@ var ChannelJoin = {
3560
3570
  if (message.channel_id !== "") {
3561
3571
  writer.uint32(18).string(message.channel_id);
3562
3572
  }
3563
- if (message.type !== 0) {
3564
- writer.uint32(24).int32(message.type);
3565
- }
3566
- if (message.persistence !== void 0) {
3567
- BoolValue.encode({ value: message.persistence }, writer.uint32(34).fork()).ldelim();
3568
- }
3569
- if (message.hidden !== void 0) {
3570
- BoolValue.encode({ value: message.hidden }, writer.uint32(42).fork()).ldelim();
3571
- }
3572
3573
  if (message.mode !== 0) {
3573
- writer.uint32(48).int32(message.mode);
3574
+ writer.uint32(24).int32(message.mode);
3574
3575
  }
3575
3576
  return writer;
3576
3577
  },
@@ -3588,15 +3589,6 @@ var ChannelJoin = {
3588
3589
  message.channel_id = reader.string();
3589
3590
  break;
3590
3591
  case 3:
3591
- message.type = reader.int32();
3592
- break;
3593
- case 4:
3594
- message.persistence = BoolValue.decode(reader, reader.uint32()).value;
3595
- break;
3596
- case 5:
3597
- message.hidden = BoolValue.decode(reader, reader.uint32()).value;
3598
- break;
3599
- case 6:
3600
3592
  message.mode = reader.int32();
3601
3593
  break;
3602
3594
  default:
@@ -3610,9 +3602,6 @@ var ChannelJoin = {
3610
3602
  return {
3611
3603
  clan_id: isSet4(object.clan_id) ? String(object.clan_id) : "",
3612
3604
  channel_id: isSet4(object.channel_id) ? String(object.channel_id) : "",
3613
- type: isSet4(object.type) ? Number(object.type) : 0,
3614
- persistence: isSet4(object.persistence) ? Boolean(object.persistence) : void 0,
3615
- hidden: isSet4(object.hidden) ? Boolean(object.hidden) : void 0,
3616
3605
  mode: isSet4(object.mode) ? Number(object.mode) : 0
3617
3606
  };
3618
3607
  },
@@ -3620,9 +3609,6 @@ var ChannelJoin = {
3620
3609
  const obj = {};
3621
3610
  message.clan_id !== void 0 && (obj.clan_id = message.clan_id);
3622
3611
  message.channel_id !== void 0 && (obj.channel_id = message.channel_id);
3623
- message.type !== void 0 && (obj.type = Math.round(message.type));
3624
- message.persistence !== void 0 && (obj.persistence = message.persistence);
3625
- message.hidden !== void 0 && (obj.hidden = message.hidden);
3626
3612
  message.mode !== void 0 && (obj.mode = Math.round(message.mode));
3627
3613
  return obj;
3628
3614
  },
@@ -3630,14 +3616,11 @@ var ChannelJoin = {
3630
3616
  return ChannelJoin.fromPartial(base != null ? base : {});
3631
3617
  },
3632
3618
  fromPartial(object) {
3633
- var _a, _b, _c, _d, _e, _f;
3619
+ var _a, _b, _c;
3634
3620
  const message = createBaseChannelJoin();
3635
3621
  message.clan_id = (_a = object.clan_id) != null ? _a : "";
3636
3622
  message.channel_id = (_b = object.channel_id) != null ? _b : "";
3637
- message.type = (_c = object.type) != null ? _c : 0;
3638
- message.persistence = (_d = object.persistence) != null ? _d : void 0;
3639
- message.hidden = (_e = object.hidden) != null ? _e : void 0;
3640
- message.mode = (_f = object.mode) != null ? _f : 0;
3623
+ message.mode = (_c = object.mode) != null ? _c : 0;
3641
3624
  return message;
3642
3625
  }
3643
3626
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js-protobuf",
3
- "version": "1.4.70",
3
+ "version": "1.4.72",
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
@@ -182,16 +182,6 @@ export interface ChannelJoin {
182
182
  clan_id: string;
183
183
  /** The id of channel or group */
184
184
  channel_id: string;
185
- /** The type of the chat channel. */
186
- type: number;
187
- /** Whether messages sent on this channel should be persistent. */
188
- persistence:
189
- | boolean
190
- | undefined;
191
- /** Whether the user should appear in the channel's presence list and events. */
192
- hidden:
193
- | boolean
194
- | undefined;
195
185
  /** mode */
196
186
  mode: number;
197
187
  }
@@ -1539,7 +1529,7 @@ export const ClanJoin = {
1539
1529
  };
1540
1530
 
1541
1531
  function createBaseChannelJoin(): ChannelJoin {
1542
- return { clan_id: "", channel_id: "", type: 0, persistence: undefined, hidden: undefined, mode: 0 };
1532
+ return { clan_id: "", channel_id: "", mode: 0 };
1543
1533
  }
1544
1534
 
1545
1535
  export const ChannelJoin = {
@@ -1550,17 +1540,8 @@ export const ChannelJoin = {
1550
1540
  if (message.channel_id !== "") {
1551
1541
  writer.uint32(18).string(message.channel_id);
1552
1542
  }
1553
- if (message.type !== 0) {
1554
- writer.uint32(24).int32(message.type);
1555
- }
1556
- if (message.persistence !== undefined) {
1557
- BoolValue.encode({ value: message.persistence! }, writer.uint32(34).fork()).ldelim();
1558
- }
1559
- if (message.hidden !== undefined) {
1560
- BoolValue.encode({ value: message.hidden! }, writer.uint32(42).fork()).ldelim();
1561
- }
1562
1543
  if (message.mode !== 0) {
1563
- writer.uint32(48).int32(message.mode);
1544
+ writer.uint32(24).int32(message.mode);
1564
1545
  }
1565
1546
  return writer;
1566
1547
  },
@@ -1579,15 +1560,6 @@ export const ChannelJoin = {
1579
1560
  message.channel_id = reader.string();
1580
1561
  break;
1581
1562
  case 3:
1582
- message.type = reader.int32();
1583
- break;
1584
- case 4:
1585
- message.persistence = BoolValue.decode(reader, reader.uint32()).value;
1586
- break;
1587
- case 5:
1588
- message.hidden = BoolValue.decode(reader, reader.uint32()).value;
1589
- break;
1590
- case 6:
1591
1563
  message.mode = reader.int32();
1592
1564
  break;
1593
1565
  default:
@@ -1602,9 +1574,6 @@ export const ChannelJoin = {
1602
1574
  return {
1603
1575
  clan_id: isSet(object.clan_id) ? String(object.clan_id) : "",
1604
1576
  channel_id: isSet(object.channel_id) ? String(object.channel_id) : "",
1605
- type: isSet(object.type) ? Number(object.type) : 0,
1606
- persistence: isSet(object.persistence) ? Boolean(object.persistence) : undefined,
1607
- hidden: isSet(object.hidden) ? Boolean(object.hidden) : undefined,
1608
1577
  mode: isSet(object.mode) ? Number(object.mode) : 0,
1609
1578
  };
1610
1579
  },
@@ -1613,9 +1582,6 @@ export const ChannelJoin = {
1613
1582
  const obj: any = {};
1614
1583
  message.clan_id !== undefined && (obj.clan_id = message.clan_id);
1615
1584
  message.channel_id !== undefined && (obj.channel_id = message.channel_id);
1616
- message.type !== undefined && (obj.type = Math.round(message.type));
1617
- message.persistence !== undefined && (obj.persistence = message.persistence);
1618
- message.hidden !== undefined && (obj.hidden = message.hidden);
1619
1585
  message.mode !== undefined && (obj.mode = Math.round(message.mode));
1620
1586
  return obj;
1621
1587
  },
@@ -1628,9 +1594,6 @@ export const ChannelJoin = {
1628
1594
  const message = createBaseChannelJoin();
1629
1595
  message.clan_id = object.clan_id ?? "";
1630
1596
  message.channel_id = object.channel_id ?? "";
1631
- message.type = object.type ?? 0;
1632
- message.persistence = object.persistence ?? undefined;
1633
- message.hidden = object.hidden ?? undefined;
1634
1597
  message.mode = object.mode ?? 0;
1635
1598
  return message;
1636
1599
  },