@mtkruto/node 0.0.967 → 0.0.968

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.
Files changed (39) hide show
  1. package/esm/client/1_client_abstract.js +2 -2
  2. package/esm/client/3_client.d.ts +3 -3
  3. package/esm/client/3_client.js +3 -6
  4. package/esm/connection/0_connection.d.ts +11 -2
  5. package/esm/connection/0_connection.js +23 -1
  6. package/esm/connection/1_connection_http.d.ts +16 -0
  7. package/esm/connection/1_connection_http.js +91 -0
  8. package/esm/connection/1_connection_web_socket.d.ts +2 -2
  9. package/esm/connection/1_connection_web_socket.js +3 -2
  10. package/esm/constants.d.ts +2 -2
  11. package/esm/constants.js +2 -2
  12. package/esm/tl/2_types.d.ts +484 -87
  13. package/esm/tl/2_types.js +1647 -308
  14. package/esm/tl/3_functions.d.ts +286 -48
  15. package/esm/tl/3_functions.js +919 -165
  16. package/esm/transport/1_transport_piped.d.ts +10 -0
  17. package/esm/transport/1_transport_piped.js +23 -0
  18. package/esm/transport/2_transport_provider.d.ts +8 -2
  19. package/esm/transport/2_transport_provider.js +40 -2
  20. package/package.json +1 -1
  21. package/script/client/1_client_abstract.js +1 -1
  22. package/script/client/3_client.d.ts +3 -3
  23. package/script/client/3_client.js +3 -6
  24. package/script/connection/0_connection.d.ts +11 -2
  25. package/script/connection/0_connection.js +26 -3
  26. package/script/connection/1_connection_http.d.ts +16 -0
  27. package/script/connection/1_connection_http.js +95 -0
  28. package/script/connection/1_connection_web_socket.d.ts +2 -2
  29. package/script/connection/1_connection_web_socket.js +3 -2
  30. package/script/constants.d.ts +2 -2
  31. package/script/constants.js +2 -2
  32. package/script/tl/2_types.d.ts +484 -87
  33. package/script/tl/2_types.js +1718 -339
  34. package/script/tl/3_functions.d.ts +286 -48
  35. package/script/tl/3_functions.js +950 -175
  36. package/script/transport/1_transport_piped.d.ts +10 -0
  37. package/script/transport/1_transport_piped.js +27 -0
  38. package/script/transport/2_transport_provider.d.ts +8 -2
  39. package/script/transport/2_transport_provider.js +43 -4
package/esm/tl/2_types.js CHANGED
@@ -588,8 +588,6 @@ export class TypeThemeSettings extends Type {
588
588
  }
589
589
  export class TypeWebPageAttribute extends Type {
590
590
  }
591
- export class TypeMessageUserVote extends Type {
592
- }
593
591
  export class TypeMessagesVotesList extends Type {
594
592
  }
595
593
  export class TypeBankCardOpenURL extends Type {
@@ -850,6 +848,32 @@ export class TypeChatlistsChatlistUpdates extends Type {
850
848
  }
851
849
  export class TypeBotsBotInfo extends Type {
852
850
  }
851
+ export class TypeMessagePeerVote extends Type {
852
+ }
853
+ export class TypeSponsoredWebPage extends Type {
854
+ }
855
+ export class TypeStoryViews extends Type {
856
+ }
857
+ export class TypeStoryItem extends Type {
858
+ }
859
+ export class TypeUserStories extends Type {
860
+ }
861
+ export class TypeStoriesAllStories extends Type {
862
+ }
863
+ export class TypeStoriesStories extends Type {
864
+ }
865
+ export class TypeStoriesUserStories extends Type {
866
+ }
867
+ export class TypeStoryView extends Type {
868
+ }
869
+ export class TypeStoriesStoryViewsList extends Type {
870
+ }
871
+ export class TypeStoriesStoryViews extends Type {
872
+ }
873
+ export class TypeInputReplyTo extends Type {
874
+ }
875
+ export class TypeExportedStoryLink extends Type {
876
+ }
853
877
  export class ResPQ extends TypeResPQ {
854
878
  get [id]() {
855
879
  return 0x05162463;
@@ -3475,6 +3499,40 @@ export class InputMediaDice extends TypeInputMedia {
3475
3499
  this.emoticon = params.emoticon;
3476
3500
  }
3477
3501
  }
3502
+ export class InputMediaStory extends TypeInputMedia {
3503
+ get [id]() {
3504
+ return 0x9A86B58F;
3505
+ }
3506
+ static get [paramDesc]() {
3507
+ return [
3508
+ ["userId", TypeInputUser, "InputUser"],
3509
+ ["id", "number", "int"],
3510
+ ];
3511
+ }
3512
+ get [params]() {
3513
+ return [
3514
+ [this.userId, TypeInputUser, "InputUser"],
3515
+ [this.id, "number", "int"],
3516
+ ];
3517
+ }
3518
+ constructor(params) {
3519
+ super();
3520
+ Object.defineProperty(this, "userId", {
3521
+ enumerable: true,
3522
+ configurable: true,
3523
+ writable: true,
3524
+ value: void 0
3525
+ });
3526
+ Object.defineProperty(this, "id", {
3527
+ enumerable: true,
3528
+ configurable: true,
3529
+ writable: true,
3530
+ value: void 0
3531
+ });
3532
+ this.userId = params.userId;
3533
+ this.id = params.id;
3534
+ }
3535
+ }
3478
3536
  export class InputChatPhotoEmpty extends TypeInputChatPhoto {
3479
3537
  get [id]() {
3480
3538
  return 0x1CA48F57;
@@ -3537,10 +3595,10 @@ export class InputChatUploadedPhoto extends TypeInputChatPhoto {
3537
3595
  writable: true,
3538
3596
  value: void 0
3539
3597
  });
3540
- this.file = params?.file;
3541
- this.video = params?.video;
3542
- this.videoStartTs = params?.videoStartTs;
3543
- this.videoEmojiMarkup = params?.videoEmojiMarkup;
3598
+ this.file = params.file;
3599
+ this.video = params.video;
3600
+ this.videoStartTs = params.videoStartTs;
3601
+ this.videoEmojiMarkup = params.videoEmojiMarkup;
3544
3602
  }
3545
3603
  }
3546
3604
  export class InputChatPhoto extends TypeInputChatPhoto {
@@ -4376,7 +4434,7 @@ export class UserEmpty extends TypeUser {
4376
4434
  }
4377
4435
  export class User extends TypeUser {
4378
4436
  get [id]() {
4379
- return 0x8F97C628;
4437
+ return 0xABB5F120;
4380
4438
  }
4381
4439
  static get [paramDesc]() {
4382
4440
  return [
@@ -4401,6 +4459,9 @@ export class User extends TypeUser {
4401
4459
  ["attachMenuEnabled", "true", "flags.29?true"],
4402
4460
  ["flags2", flags, "#"],
4403
4461
  ["botCanEdit", "true", "flags2.1?true"],
4462
+ ["closeFriend", "true", "flags2.2?true"],
4463
+ ["storiesHidden", "true", "flags2.3?true"],
4464
+ ["storiesUnavailable", "true", "flags2.4?true"],
4404
4465
  ["id", "bigint", "long"],
4405
4466
  ["accessHash", "bigint", "flags.0?long"],
4406
4467
  ["firstName", "string", "flags.1?string"],
@@ -4415,6 +4476,7 @@ export class User extends TypeUser {
4415
4476
  ["langCode", "string", "flags.22?string"],
4416
4477
  ["emojiStatus", TypeEmojiStatus, "flags.30?EmojiStatus"],
4417
4478
  ["usernames", [TypeUsername], "flags2.0?Vector<Username>"],
4479
+ ["storiesMaxId", "number", "flags2.5?int"],
4418
4480
  ];
4419
4481
  }
4420
4482
  get [params]() {
@@ -4440,6 +4502,9 @@ export class User extends TypeUser {
4440
4502
  [this.attachMenuEnabled ?? null, "true", "flags.29?true"],
4441
4503
  ["flags2", flags, "#"],
4442
4504
  [this.botCanEdit ?? null, "true", "flags2.1?true"],
4505
+ [this.closeFriend ?? null, "true", "flags2.2?true"],
4506
+ [this.storiesHidden ?? null, "true", "flags2.3?true"],
4507
+ [this.storiesUnavailable ?? null, "true", "flags2.4?true"],
4443
4508
  [this.id, "bigint", "long"],
4444
4509
  [this.accessHash ?? null, "bigint", "flags.0?long"],
4445
4510
  [this.firstName ?? null, "string", "flags.1?string"],
@@ -4454,6 +4519,7 @@ export class User extends TypeUser {
4454
4519
  [this.langCode ?? null, "string", "flags.22?string"],
4455
4520
  [this.emojiStatus ?? null, TypeEmojiStatus, "flags.30?EmojiStatus"],
4456
4521
  [this.usernames ?? null, [TypeUsername], "flags2.0?Vector<Username>"],
4522
+ [this.storiesMaxId ?? null, "number", "flags2.5?int"],
4457
4523
  ];
4458
4524
  }
4459
4525
  constructor(params) {
@@ -4572,6 +4638,24 @@ export class User extends TypeUser {
4572
4638
  writable: true,
4573
4639
  value: void 0
4574
4640
  });
4641
+ Object.defineProperty(this, "closeFriend", {
4642
+ enumerable: true,
4643
+ configurable: true,
4644
+ writable: true,
4645
+ value: void 0
4646
+ });
4647
+ Object.defineProperty(this, "storiesHidden", {
4648
+ enumerable: true,
4649
+ configurable: true,
4650
+ writable: true,
4651
+ value: void 0
4652
+ });
4653
+ Object.defineProperty(this, "storiesUnavailable", {
4654
+ enumerable: true,
4655
+ configurable: true,
4656
+ writable: true,
4657
+ value: void 0
4658
+ });
4575
4659
  Object.defineProperty(this, "id", {
4576
4660
  enumerable: true,
4577
4661
  configurable: true,
@@ -4656,6 +4740,12 @@ export class User extends TypeUser {
4656
4740
  writable: true,
4657
4741
  value: void 0
4658
4742
  });
4743
+ Object.defineProperty(this, "storiesMaxId", {
4744
+ enumerable: true,
4745
+ configurable: true,
4746
+ writable: true,
4747
+ value: void 0
4748
+ });
4659
4749
  this.self = params.self;
4660
4750
  this.contact = params.contact;
4661
4751
  this.mutualContact = params.mutualContact;
@@ -4675,6 +4765,9 @@ export class User extends TypeUser {
4675
4765
  this.premium = params.premium;
4676
4766
  this.attachMenuEnabled = params.attachMenuEnabled;
4677
4767
  this.botCanEdit = params.botCanEdit;
4768
+ this.closeFriend = params.closeFriend;
4769
+ this.storiesHidden = params.storiesHidden;
4770
+ this.storiesUnavailable = params.storiesUnavailable;
4678
4771
  this.id = params.id;
4679
4772
  this.accessHash = params.accessHash;
4680
4773
  this.firstName = params.firstName;
@@ -4689,6 +4782,7 @@ export class User extends TypeUser {
4689
4782
  this.langCode = params.langCode;
4690
4783
  this.emojiStatus = params.emojiStatus;
4691
4784
  this.usernames = params.usernames;
4785
+ this.storiesMaxId = params.storiesMaxId;
4692
4786
  }
4693
4787
  }
4694
4788
  export class UserProfilePhotoEmpty extends TypeUserProfilePhoto {
@@ -6869,9 +6963,9 @@ export class MessageMediaPhoto extends TypeMessageMedia {
6869
6963
  writable: true,
6870
6964
  value: void 0
6871
6965
  });
6872
- this.spoiler = params?.spoiler;
6873
- this.photo = params?.photo;
6874
- this.ttlSeconds = params?.ttlSeconds;
6966
+ this.spoiler = params.spoiler;
6967
+ this.photo = params.photo;
6968
+ this.ttlSeconds = params.ttlSeconds;
6875
6969
  }
6876
6970
  }
6877
6971
  export class MessageMediaGeo extends TypeMessageMedia {
@@ -6976,7 +7070,7 @@ export class MessageMediaUnsupported extends TypeMessageMedia {
6976
7070
  }
6977
7071
  export class MessageMediaDocument extends TypeMessageMedia {
6978
7072
  get [id]() {
6979
- return 0x9CB070D7;
7073
+ return 0x4CF4D72D;
6980
7074
  }
6981
7075
  static get [paramDesc]() {
6982
7076
  return [
@@ -6984,6 +7078,7 @@ export class MessageMediaDocument extends TypeMessageMedia {
6984
7078
  ["nopremium", "true", "flags.3?true"],
6985
7079
  ["spoiler", "true", "flags.4?true"],
6986
7080
  ["document", TypeDocument, "flags.0?Document"],
7081
+ ["altDocument", TypeDocument, "flags.5?Document"],
6987
7082
  ["ttlSeconds", "number", "flags.2?int"],
6988
7083
  ];
6989
7084
  }
@@ -6993,6 +7088,7 @@ export class MessageMediaDocument extends TypeMessageMedia {
6993
7088
  [this.nopremium ?? null, "true", "flags.3?true"],
6994
7089
  [this.spoiler ?? null, "true", "flags.4?true"],
6995
7090
  [this.document ?? null, TypeDocument, "flags.0?Document"],
7091
+ [this.altDocument ?? null, TypeDocument, "flags.5?Document"],
6996
7092
  [this.ttlSeconds ?? null, "number", "flags.2?int"],
6997
7093
  ];
6998
7094
  }
@@ -7016,16 +7112,23 @@ export class MessageMediaDocument extends TypeMessageMedia {
7016
7112
  writable: true,
7017
7113
  value: void 0
7018
7114
  });
7115
+ Object.defineProperty(this, "altDocument", {
7116
+ enumerable: true,
7117
+ configurable: true,
7118
+ writable: true,
7119
+ value: void 0
7120
+ });
7019
7121
  Object.defineProperty(this, "ttlSeconds", {
7020
7122
  enumerable: true,
7021
7123
  configurable: true,
7022
7124
  writable: true,
7023
7125
  value: void 0
7024
7126
  });
7025
- this.nopremium = params?.nopremium;
7026
- this.spoiler = params?.spoiler;
7027
- this.document = params?.document;
7028
- this.ttlSeconds = params?.ttlSeconds;
7127
+ this.nopremium = params.nopremium;
7128
+ this.spoiler = params.spoiler;
7129
+ this.document = params.document;
7130
+ this.altDocument = params.altDocument;
7131
+ this.ttlSeconds = params.ttlSeconds;
7029
7132
  }
7030
7133
  }
7031
7134
  export class MessageMediaWebPage extends TypeMessageMedia {
@@ -7378,6 +7481,60 @@ export class MessageMediaDice extends TypeMessageMedia {
7378
7481
  this.emoticon = params.emoticon;
7379
7482
  }
7380
7483
  }
7484
+ export class MessageMediaStory extends TypeMessageMedia {
7485
+ get [id]() {
7486
+ return 0xCBB20D88;
7487
+ }
7488
+ static get [paramDesc]() {
7489
+ return [
7490
+ ["flags", flags, "#"],
7491
+ ["viaMention", "true", "flags.1?true"],
7492
+ ["userId", "bigint", "long"],
7493
+ ["id", "number", "int"],
7494
+ ["story", TypeStoryItem, "flags.0?StoryItem"],
7495
+ ];
7496
+ }
7497
+ get [params]() {
7498
+ return [
7499
+ ["flags", flags, "#"],
7500
+ [this.viaMention ?? null, "true", "flags.1?true"],
7501
+ [this.userId, "bigint", "long"],
7502
+ [this.id, "number", "int"],
7503
+ [this.story ?? null, TypeStoryItem, "flags.0?StoryItem"],
7504
+ ];
7505
+ }
7506
+ constructor(params) {
7507
+ super();
7508
+ Object.defineProperty(this, "viaMention", {
7509
+ enumerable: true,
7510
+ configurable: true,
7511
+ writable: true,
7512
+ value: void 0
7513
+ });
7514
+ Object.defineProperty(this, "userId", {
7515
+ enumerable: true,
7516
+ configurable: true,
7517
+ writable: true,
7518
+ value: void 0
7519
+ });
7520
+ Object.defineProperty(this, "id", {
7521
+ enumerable: true,
7522
+ configurable: true,
7523
+ writable: true,
7524
+ value: void 0
7525
+ });
7526
+ Object.defineProperty(this, "story", {
7527
+ enumerable: true,
7528
+ configurable: true,
7529
+ writable: true,
7530
+ value: void 0
7531
+ });
7532
+ this.viaMention = params.viaMention;
7533
+ this.userId = params.userId;
7534
+ this.id = params.id;
7535
+ this.story = params.story;
7536
+ }
7537
+ }
7381
7538
  export class MessageActionEmpty extends TypeMessageAction {
7382
7539
  get [id]() {
7383
7540
  return 0xB6AEF7B0;
@@ -7997,9 +8154,9 @@ export class MessageActionBotAllowed extends TypeMessageAction {
7997
8154
  writable: true,
7998
8155
  value: void 0
7999
8156
  });
8000
- this.attachMenu = params?.attachMenu;
8001
- this.domain = params?.domain;
8002
- this.app = params?.app;
8157
+ this.attachMenu = params.attachMenu;
8158
+ this.domain = params.domain;
8159
+ this.app = params.app;
8003
8160
  }
8004
8161
  }
8005
8162
  export class MessageActionSecureValuesSentMe extends TypeMessageAction {
@@ -8512,10 +8669,10 @@ export class MessageActionTopicEdit extends TypeMessageAction {
8512
8669
  writable: true,
8513
8670
  value: void 0
8514
8671
  });
8515
- this.title = params?.title;
8516
- this.iconEmojiId = params?.iconEmojiId;
8517
- this.closed = params?.closed;
8518
- this.hidden = params?.hidden;
8672
+ this.title = params.title;
8673
+ this.iconEmojiId = params.iconEmojiId;
8674
+ this.closed = params.closed;
8675
+ this.hidden = params.hidden;
8519
8676
  }
8520
8677
  }
8521
8678
  export class MessageActionSuggestProfilePhoto extends TypeMessageAction {
@@ -9459,7 +9616,7 @@ export class AuthAuthorizationSignUpRequired extends TypeAuthAuthorization {
9459
9616
  writable: true,
9460
9617
  value: void 0
9461
9618
  });
9462
- this.termsOfService = params?.termsOfService;
9619
+ this.termsOfService = params.termsOfService;
9463
9620
  }
9464
9621
  }
9465
9622
  export class AuthExportedAuthorization extends TypeAuthExportedAuthorization {
@@ -9599,7 +9756,7 @@ export class InputNotifyForumTopic extends TypeInputNotifyPeer {
9599
9756
  }
9600
9757
  export class InputPeerNotifySettings extends TypeInputPeerNotifySettings {
9601
9758
  get [id]() {
9602
- return 0xDF1F002B;
9759
+ return 0xCACB6AE2;
9603
9760
  }
9604
9761
  static get [paramDesc]() {
9605
9762
  return [
@@ -9608,6 +9765,9 @@ export class InputPeerNotifySettings extends TypeInputPeerNotifySettings {
9608
9765
  ["silent", "boolean", "flags.1?Bool"],
9609
9766
  ["muteUntil", "number", "flags.2?int"],
9610
9767
  ["sound", TypeNotificationSound, "flags.3?NotificationSound"],
9768
+ ["storiesMuted", "boolean", "flags.6?Bool"],
9769
+ ["storiesHideSender", "boolean", "flags.7?Bool"],
9770
+ ["storiesSound", TypeNotificationSound, "flags.8?NotificationSound"],
9611
9771
  ];
9612
9772
  }
9613
9773
  get [params]() {
@@ -9617,6 +9777,9 @@ export class InputPeerNotifySettings extends TypeInputPeerNotifySettings {
9617
9777
  [this.silent ?? null, "boolean", "flags.1?Bool"],
9618
9778
  [this.muteUntil ?? null, "number", "flags.2?int"],
9619
9779
  [this.sound ?? null, TypeNotificationSound, "flags.3?NotificationSound"],
9780
+ [this.storiesMuted ?? null, "boolean", "flags.6?Bool"],
9781
+ [this.storiesHideSender ?? null, "boolean", "flags.7?Bool"],
9782
+ [this.storiesSound ?? null, TypeNotificationSound, "flags.8?NotificationSound"],
9620
9783
  ];
9621
9784
  }
9622
9785
  constructor(params) {
@@ -9645,15 +9808,36 @@ export class InputPeerNotifySettings extends TypeInputPeerNotifySettings {
9645
9808
  writable: true,
9646
9809
  value: void 0
9647
9810
  });
9648
- this.showPreviews = params?.showPreviews;
9649
- this.silent = params?.silent;
9650
- this.muteUntil = params?.muteUntil;
9651
- this.sound = params?.sound;
9811
+ Object.defineProperty(this, "storiesMuted", {
9812
+ enumerable: true,
9813
+ configurable: true,
9814
+ writable: true,
9815
+ value: void 0
9816
+ });
9817
+ Object.defineProperty(this, "storiesHideSender", {
9818
+ enumerable: true,
9819
+ configurable: true,
9820
+ writable: true,
9821
+ value: void 0
9822
+ });
9823
+ Object.defineProperty(this, "storiesSound", {
9824
+ enumerable: true,
9825
+ configurable: true,
9826
+ writable: true,
9827
+ value: void 0
9828
+ });
9829
+ this.showPreviews = params.showPreviews;
9830
+ this.silent = params.silent;
9831
+ this.muteUntil = params.muteUntil;
9832
+ this.sound = params.sound;
9833
+ this.storiesMuted = params.storiesMuted;
9834
+ this.storiesHideSender = params.storiesHideSender;
9835
+ this.storiesSound = params.storiesSound;
9652
9836
  }
9653
9837
  }
9654
9838
  export class PeerNotifySettings extends TypePeerNotifySettings {
9655
9839
  get [id]() {
9656
- return 0xA83B0426;
9840
+ return 0x99622C0C;
9657
9841
  }
9658
9842
  static get [paramDesc]() {
9659
9843
  return [
@@ -9664,6 +9848,11 @@ export class PeerNotifySettings extends TypePeerNotifySettings {
9664
9848
  ["iosSound", TypeNotificationSound, "flags.3?NotificationSound"],
9665
9849
  ["androidSound", TypeNotificationSound, "flags.4?NotificationSound"],
9666
9850
  ["otherSound", TypeNotificationSound, "flags.5?NotificationSound"],
9851
+ ["storiesMuted", "boolean", "flags.6?Bool"],
9852
+ ["storiesHideSender", "boolean", "flags.7?Bool"],
9853
+ ["storiesIosSound", TypeNotificationSound, "flags.8?NotificationSound"],
9854
+ ["storiesAndroidSound", TypeNotificationSound, "flags.9?NotificationSound"],
9855
+ ["storiesOtherSound", TypeNotificationSound, "flags.10?NotificationSound"],
9667
9856
  ];
9668
9857
  }
9669
9858
  get [params]() {
@@ -9675,6 +9864,11 @@ export class PeerNotifySettings extends TypePeerNotifySettings {
9675
9864
  [this.iosSound ?? null, TypeNotificationSound, "flags.3?NotificationSound"],
9676
9865
  [this.androidSound ?? null, TypeNotificationSound, "flags.4?NotificationSound"],
9677
9866
  [this.otherSound ?? null, TypeNotificationSound, "flags.5?NotificationSound"],
9867
+ [this.storiesMuted ?? null, "boolean", "flags.6?Bool"],
9868
+ [this.storiesHideSender ?? null, "boolean", "flags.7?Bool"],
9869
+ [this.storiesIosSound ?? null, TypeNotificationSound, "flags.8?NotificationSound"],
9870
+ [this.storiesAndroidSound ?? null, TypeNotificationSound, "flags.9?NotificationSound"],
9871
+ [this.storiesOtherSound ?? null, TypeNotificationSound, "flags.10?NotificationSound"],
9678
9872
  ];
9679
9873
  }
9680
9874
  constructor(params) {
@@ -9715,12 +9909,47 @@ export class PeerNotifySettings extends TypePeerNotifySettings {
9715
9909
  writable: true,
9716
9910
  value: void 0
9717
9911
  });
9718
- this.showPreviews = params?.showPreviews;
9719
- this.silent = params?.silent;
9720
- this.muteUntil = params?.muteUntil;
9721
- this.iosSound = params?.iosSound;
9722
- this.androidSound = params?.androidSound;
9723
- this.otherSound = params?.otherSound;
9912
+ Object.defineProperty(this, "storiesMuted", {
9913
+ enumerable: true,
9914
+ configurable: true,
9915
+ writable: true,
9916
+ value: void 0
9917
+ });
9918
+ Object.defineProperty(this, "storiesHideSender", {
9919
+ enumerable: true,
9920
+ configurable: true,
9921
+ writable: true,
9922
+ value: void 0
9923
+ });
9924
+ Object.defineProperty(this, "storiesIosSound", {
9925
+ enumerable: true,
9926
+ configurable: true,
9927
+ writable: true,
9928
+ value: void 0
9929
+ });
9930
+ Object.defineProperty(this, "storiesAndroidSound", {
9931
+ enumerable: true,
9932
+ configurable: true,
9933
+ writable: true,
9934
+ value: void 0
9935
+ });
9936
+ Object.defineProperty(this, "storiesOtherSound", {
9937
+ enumerable: true,
9938
+ configurable: true,
9939
+ writable: true,
9940
+ value: void 0
9941
+ });
9942
+ this.showPreviews = params.showPreviews;
9943
+ this.silent = params.silent;
9944
+ this.muteUntil = params.muteUntil;
9945
+ this.iosSound = params.iosSound;
9946
+ this.androidSound = params.androidSound;
9947
+ this.otherSound = params.otherSound;
9948
+ this.storiesMuted = params.storiesMuted;
9949
+ this.storiesHideSender = params.storiesHideSender;
9950
+ this.storiesIosSound = params.storiesIosSound;
9951
+ this.storiesAndroidSound = params.storiesAndroidSound;
9952
+ this.storiesOtherSound = params.storiesOtherSound;
9724
9953
  }
9725
9954
  }
9726
9955
  export class PeerSettings extends TypePeerSettings {
@@ -9835,18 +10064,18 @@ export class PeerSettings extends TypePeerSettings {
9835
10064
  writable: true,
9836
10065
  value: void 0
9837
10066
  });
9838
- this.reportSpam = params?.reportSpam;
9839
- this.addContact = params?.addContact;
9840
- this.blockContact = params?.blockContact;
9841
- this.shareContact = params?.shareContact;
9842
- this.needContactsException = params?.needContactsException;
9843
- this.reportGeo = params?.reportGeo;
9844
- this.autoarchived = params?.autoarchived;
9845
- this.inviteMembers = params?.inviteMembers;
9846
- this.requestChatBroadcast = params?.requestChatBroadcast;
9847
- this.geoDistance = params?.geoDistance;
9848
- this.requestChatTitle = params?.requestChatTitle;
9849
- this.requestChatDate = params?.requestChatDate;
10067
+ this.reportSpam = params.reportSpam;
10068
+ this.addContact = params.addContact;
10069
+ this.blockContact = params.blockContact;
10070
+ this.shareContact = params.shareContact;
10071
+ this.needContactsException = params.needContactsException;
10072
+ this.reportGeo = params.reportGeo;
10073
+ this.autoarchived = params.autoarchived;
10074
+ this.inviteMembers = params.inviteMembers;
10075
+ this.requestChatBroadcast = params.requestChatBroadcast;
10076
+ this.geoDistance = params.geoDistance;
10077
+ this.requestChatTitle = params.requestChatTitle;
10078
+ this.requestChatDate = params.requestChatDate;
9850
10079
  }
9851
10080
  }
9852
10081
  export class WallPaper extends TypeWallPaper {
@@ -10144,7 +10373,7 @@ export class InputReportReasonPersonalDetails extends TypeReportReason {
10144
10373
  }
10145
10374
  export class UserFull extends TypeUserFull {
10146
10375
  get [id]() {
10147
- return 0x93EADB53;
10376
+ return 0x4FE1CC86;
10148
10377
  }
10149
10378
  static get [paramDesc]() {
10150
10379
  return [
@@ -10157,6 +10386,7 @@ export class UserFull extends TypeUserFull {
10157
10386
  ["videoCallsAvailable", "true", "flags.13?true"],
10158
10387
  ["voiceMessagesForbidden", "true", "flags.20?true"],
10159
10388
  ["translationsDisabled", "true", "flags.23?true"],
10389
+ ["storiesPinnedAvailable", "true", "flags.26?true"],
10160
10390
  ["id", "bigint", "long"],
10161
10391
  ["about", "string", "flags.1?string"],
10162
10392
  ["settings", TypePeerSettings, "PeerSettings"],
@@ -10175,6 +10405,7 @@ export class UserFull extends TypeUserFull {
10175
10405
  ["botBroadcastAdminRights", TypeChatAdminRights, "flags.18?ChatAdminRights"],
10176
10406
  ["premiumGifts", [TypePremiumGiftOption], "flags.19?Vector<PremiumGiftOption>"],
10177
10407
  ["wallpaper", TypeWallPaper, "flags.24?WallPaper"],
10408
+ ["stories", TypeUserStories, "flags.25?UserStories"],
10178
10409
  ];
10179
10410
  }
10180
10411
  get [params]() {
@@ -10188,6 +10419,7 @@ export class UserFull extends TypeUserFull {
10188
10419
  [this.videoCallsAvailable ?? null, "true", "flags.13?true"],
10189
10420
  [this.voiceMessagesForbidden ?? null, "true", "flags.20?true"],
10190
10421
  [this.translationsDisabled ?? null, "true", "flags.23?true"],
10422
+ [this.storiesPinnedAvailable ?? null, "true", "flags.26?true"],
10191
10423
  [this.id, "bigint", "long"],
10192
10424
  [this.about ?? null, "string", "flags.1?string"],
10193
10425
  [this.settings, TypePeerSettings, "PeerSettings"],
@@ -10206,6 +10438,7 @@ export class UserFull extends TypeUserFull {
10206
10438
  [this.botBroadcastAdminRights ?? null, TypeChatAdminRights, "flags.18?ChatAdminRights"],
10207
10439
  [this.premiumGifts ?? null, [TypePremiumGiftOption], "flags.19?Vector<PremiumGiftOption>"],
10208
10440
  [this.wallpaper ?? null, TypeWallPaper, "flags.24?WallPaper"],
10441
+ [this.stories ?? null, TypeUserStories, "flags.25?UserStories"],
10209
10442
  ];
10210
10443
  }
10211
10444
  constructor(params) {
@@ -10258,6 +10491,12 @@ export class UserFull extends TypeUserFull {
10258
10491
  writable: true,
10259
10492
  value: void 0
10260
10493
  });
10494
+ Object.defineProperty(this, "storiesPinnedAvailable", {
10495
+ enumerable: true,
10496
+ configurable: true,
10497
+ writable: true,
10498
+ value: void 0
10499
+ });
10261
10500
  Object.defineProperty(this, "id", {
10262
10501
  enumerable: true,
10263
10502
  configurable: true,
@@ -10366,6 +10605,12 @@ export class UserFull extends TypeUserFull {
10366
10605
  writable: true,
10367
10606
  value: void 0
10368
10607
  });
10608
+ Object.defineProperty(this, "stories", {
10609
+ enumerable: true,
10610
+ configurable: true,
10611
+ writable: true,
10612
+ value: void 0
10613
+ });
10369
10614
  this.blocked = params.blocked;
10370
10615
  this.phoneCallsAvailable = params.phoneCallsAvailable;
10371
10616
  this.phoneCallsPrivate = params.phoneCallsPrivate;
@@ -10374,6 +10619,7 @@ export class UserFull extends TypeUserFull {
10374
10619
  this.videoCallsAvailable = params.videoCallsAvailable;
10375
10620
  this.voiceMessagesForbidden = params.voiceMessagesForbidden;
10376
10621
  this.translationsDisabled = params.translationsDisabled;
10622
+ this.storiesPinnedAvailable = params.storiesPinnedAvailable;
10377
10623
  this.id = params.id;
10378
10624
  this.about = params.about;
10379
10625
  this.settings = params.settings;
@@ -10392,6 +10638,7 @@ export class UserFull extends TypeUserFull {
10392
10638
  this.botBroadcastAdminRights = params.botBroadcastAdminRights;
10393
10639
  this.premiumGifts = params.premiumGifts;
10394
10640
  this.wallpaper = params.wallpaper;
10641
+ this.stories = params.stories;
10395
10642
  }
10396
10643
  }
10397
10644
  export class Contact extends TypeContact {
@@ -11386,7 +11633,7 @@ export class InputMessagesFilterPhoneCalls extends TypeMessagesFilter {
11386
11633
  writable: true,
11387
11634
  value: void 0
11388
11635
  });
11389
- this.missed = params?.missed;
11636
+ this.missed = params.missed;
11390
11637
  }
11391
11638
  }
11392
11639
  export class InputMessagesFilterRoundVoice extends TypeMessagesFilter {
@@ -12846,8 +13093,8 @@ export class UpdateStickerSets extends TypeUpdate {
12846
13093
  writable: true,
12847
13094
  value: void 0
12848
13095
  });
12849
- this.masks = params?.masks;
12850
- this.emojis = params?.emojis;
13096
+ this.masks = params.masks;
13097
+ this.emojis = params.emojis;
12851
13098
  }
12852
13099
  }
12853
13100
  export class UpdateSavedGifs extends TypeUpdate {
@@ -13502,8 +13749,8 @@ export class UpdatePinnedDialogs extends TypeUpdate {
13502
13749
  writable: true,
13503
13750
  value: void 0
13504
13751
  });
13505
- this.folderId = params?.folderId;
13506
- this.order = params?.order;
13752
+ this.folderId = params.folderId;
13753
+ this.order = params.order;
13507
13754
  }
13508
13755
  }
13509
13756
  export class UpdateBotWebhookJSON extends TypeUpdate {
@@ -14249,12 +14496,12 @@ export class UpdateLoginToken extends TypeUpdate {
14249
14496
  }
14250
14497
  export class UpdateMessagePollVote extends TypeUpdate {
14251
14498
  get [id]() {
14252
- return 0x106395C9;
14499
+ return 0x24F40E77;
14253
14500
  }
14254
14501
  static get [paramDesc]() {
14255
14502
  return [
14256
14503
  ["pollId", "bigint", "long"],
14257
- ["userId", "bigint", "long"],
14504
+ ["peer", TypePeer, "Peer"],
14258
14505
  ["options", [Uint8Array], "Vector<bytes>"],
14259
14506
  ["qts", "number", "int"],
14260
14507
  ];
@@ -14262,7 +14509,7 @@ export class UpdateMessagePollVote extends TypeUpdate {
14262
14509
  get [params]() {
14263
14510
  return [
14264
14511
  [this.pollId, "bigint", "long"],
14265
- [this.userId, "bigint", "long"],
14512
+ [this.peer, TypePeer, "Peer"],
14266
14513
  [this.options, [Uint8Array], "Vector<bytes>"],
14267
14514
  [this.qts, "number", "int"],
14268
14515
  ];
@@ -14275,7 +14522,7 @@ export class UpdateMessagePollVote extends TypeUpdate {
14275
14522
  writable: true,
14276
14523
  value: void 0
14277
14524
  });
14278
- Object.defineProperty(this, "userId", {
14525
+ Object.defineProperty(this, "peer", {
14279
14526
  enumerable: true,
14280
14527
  configurable: true,
14281
14528
  writable: true,
@@ -14294,7 +14541,7 @@ export class UpdateMessagePollVote extends TypeUpdate {
14294
14541
  value: void 0
14295
14542
  });
14296
14543
  this.pollId = params.pollId;
14297
- this.userId = params.userId;
14544
+ this.peer = params.peer;
14298
14545
  this.options = params.options;
14299
14546
  this.qts = params.qts;
14300
14547
  }
@@ -15855,6 +16102,108 @@ export class UpdateGroupInvitePrivacyForbidden extends TypeUpdate {
15855
16102
  this.userId = params.userId;
15856
16103
  }
15857
16104
  }
16105
+ export class UpdateStory extends TypeUpdate {
16106
+ get [id]() {
16107
+ return 0x205A4133;
16108
+ }
16109
+ static get [paramDesc]() {
16110
+ return [
16111
+ ["userId", "bigint", "long"],
16112
+ ["story", TypeStoryItem, "StoryItem"],
16113
+ ];
16114
+ }
16115
+ get [params]() {
16116
+ return [
16117
+ [this.userId, "bigint", "long"],
16118
+ [this.story, TypeStoryItem, "StoryItem"],
16119
+ ];
16120
+ }
16121
+ constructor(params) {
16122
+ super();
16123
+ Object.defineProperty(this, "userId", {
16124
+ enumerable: true,
16125
+ configurable: true,
16126
+ writable: true,
16127
+ value: void 0
16128
+ });
16129
+ Object.defineProperty(this, "story", {
16130
+ enumerable: true,
16131
+ configurable: true,
16132
+ writable: true,
16133
+ value: void 0
16134
+ });
16135
+ this.userId = params.userId;
16136
+ this.story = params.story;
16137
+ }
16138
+ }
16139
+ export class UpdateReadStories extends TypeUpdate {
16140
+ get [id]() {
16141
+ return 0xFEB5345A;
16142
+ }
16143
+ static get [paramDesc]() {
16144
+ return [
16145
+ ["userId", "bigint", "long"],
16146
+ ["maxId", "number", "int"],
16147
+ ];
16148
+ }
16149
+ get [params]() {
16150
+ return [
16151
+ [this.userId, "bigint", "long"],
16152
+ [this.maxId, "number", "int"],
16153
+ ];
16154
+ }
16155
+ constructor(params) {
16156
+ super();
16157
+ Object.defineProperty(this, "userId", {
16158
+ enumerable: true,
16159
+ configurable: true,
16160
+ writable: true,
16161
+ value: void 0
16162
+ });
16163
+ Object.defineProperty(this, "maxId", {
16164
+ enumerable: true,
16165
+ configurable: true,
16166
+ writable: true,
16167
+ value: void 0
16168
+ });
16169
+ this.userId = params.userId;
16170
+ this.maxId = params.maxId;
16171
+ }
16172
+ }
16173
+ export class UpdateStoryID extends TypeUpdate {
16174
+ get [id]() {
16175
+ return 0x1BF335B9;
16176
+ }
16177
+ static get [paramDesc]() {
16178
+ return [
16179
+ ["id", "number", "int"],
16180
+ ["randomId", "bigint", "long"],
16181
+ ];
16182
+ }
16183
+ get [params]() {
16184
+ return [
16185
+ [this.id, "number", "int"],
16186
+ [this.randomId, "bigint", "long"],
16187
+ ];
16188
+ }
16189
+ constructor(params) {
16190
+ super();
16191
+ Object.defineProperty(this, "id", {
16192
+ enumerable: true,
16193
+ configurable: true,
16194
+ writable: true,
16195
+ value: void 0
16196
+ });
16197
+ Object.defineProperty(this, "randomId", {
16198
+ enumerable: true,
16199
+ configurable: true,
16200
+ writable: true,
16201
+ value: void 0
16202
+ });
16203
+ this.id = params.id;
16204
+ this.randomId = params.randomId;
16205
+ }
16206
+ }
15858
16207
  export class UpdatesState extends TypeUpdatesState {
15859
16208
  get [id]() {
15860
16209
  return 0xA56C2A3E;
@@ -19279,6 +19628,20 @@ export class InputPrivacyKeyVoiceMessages extends TypeInputPrivacyKey {
19279
19628
  super();
19280
19629
  }
19281
19630
  }
19631
+ export class InputPrivacyKeyAbout extends TypeInputPrivacyKey {
19632
+ get [id]() {
19633
+ return 0x3823CC40;
19634
+ }
19635
+ static get [paramDesc]() {
19636
+ return [];
19637
+ }
19638
+ get [params]() {
19639
+ return [];
19640
+ }
19641
+ constructor() {
19642
+ super();
19643
+ }
19644
+ }
19282
19645
  export class PrivacyKeyStatusTimestamp extends TypePrivacyKey {
19283
19646
  get [id]() {
19284
19647
  return 0xBC2EAB30;
@@ -19405,6 +19768,20 @@ export class PrivacyKeyVoiceMessages extends TypePrivacyKey {
19405
19768
  super();
19406
19769
  }
19407
19770
  }
19771
+ export class PrivacyKeyAbout extends TypePrivacyKey {
19772
+ get [id]() {
19773
+ return 0xA486B761;
19774
+ }
19775
+ static get [paramDesc]() {
19776
+ return [];
19777
+ }
19778
+ get [params]() {
19779
+ return [];
19780
+ }
19781
+ constructor() {
19782
+ super();
19783
+ }
19784
+ }
19408
19785
  export class InputPrivacyValueAllowContacts extends TypeInputPrivacyRule {
19409
19786
  get [id]() {
19410
19787
  return 0x0D09E07B;
@@ -19561,6 +19938,20 @@ export class InputPrivacyValueDisallowChatParticipants extends TypeInputPrivacyR
19561
19938
  this.chats = params.chats;
19562
19939
  }
19563
19940
  }
19941
+ export class InputPrivacyValueAllowCloseFriends extends TypeInputPrivacyRule {
19942
+ get [id]() {
19943
+ return 0x2F453E49;
19944
+ }
19945
+ static get [paramDesc]() {
19946
+ return [];
19947
+ }
19948
+ get [params]() {
19949
+ return [];
19950
+ }
19951
+ constructor() {
19952
+ super();
19953
+ }
19954
+ }
19564
19955
  export class PrivacyValueAllowContacts extends TypePrivacyRule {
19565
19956
  get [id]() {
19566
19957
  return 0xFFFE1BAC;
@@ -19717,6 +20108,20 @@ export class PrivacyValueDisallowChatParticipants extends TypePrivacyRule {
19717
20108
  this.chats = params.chats;
19718
20109
  }
19719
20110
  }
20111
+ export class PrivacyValueAllowCloseFriends extends TypePrivacyRule {
20112
+ get [id]() {
20113
+ return 0xF7E8D89B;
20114
+ }
20115
+ static get [paramDesc]() {
20116
+ return [];
20117
+ }
20118
+ get [params]() {
20119
+ return [];
20120
+ }
20121
+ constructor() {
20122
+ super();
20123
+ }
20124
+ }
19720
20125
  export class AccountPrivacyRules extends TypeAccountPrivacyRules {
19721
20126
  get [id]() {
19722
20127
  return 0x50A04E45;
@@ -19889,16 +20294,18 @@ export class DocumentAttributeSticker extends TypeDocumentAttribute {
19889
20294
  }
19890
20295
  export class DocumentAttributeVideo extends TypeDocumentAttribute {
19891
20296
  get [id]() {
19892
- return 0x0EF02CE6;
20297
+ return 0xD38FF1C2;
19893
20298
  }
19894
20299
  static get [paramDesc]() {
19895
20300
  return [
19896
20301
  ["flags", flags, "#"],
19897
20302
  ["roundMessage", "true", "flags.0?true"],
19898
20303
  ["supportsStreaming", "true", "flags.1?true"],
19899
- ["duration", "number", "int"],
20304
+ ["nosound", "true", "flags.3?true"],
20305
+ ["duration", "number", "double"],
19900
20306
  ["w", "number", "int"],
19901
20307
  ["h", "number", "int"],
20308
+ ["preloadPrefixSize", "number", "flags.2?int"],
19902
20309
  ];
19903
20310
  }
19904
20311
  get [params]() {
@@ -19906,9 +20313,11 @@ export class DocumentAttributeVideo extends TypeDocumentAttribute {
19906
20313
  ["flags", flags, "#"],
19907
20314
  [this.roundMessage ?? null, "true", "flags.0?true"],
19908
20315
  [this.supportsStreaming ?? null, "true", "flags.1?true"],
19909
- [this.duration, "number", "int"],
20316
+ [this.nosound ?? null, "true", "flags.3?true"],
20317
+ [this.duration, "number", "double"],
19910
20318
  [this.w, "number", "int"],
19911
20319
  [this.h, "number", "int"],
20320
+ [this.preloadPrefixSize ?? null, "number", "flags.2?int"],
19912
20321
  ];
19913
20322
  }
19914
20323
  constructor(params) {
@@ -19925,6 +20334,12 @@ export class DocumentAttributeVideo extends TypeDocumentAttribute {
19925
20334
  writable: true,
19926
20335
  value: void 0
19927
20336
  });
20337
+ Object.defineProperty(this, "nosound", {
20338
+ enumerable: true,
20339
+ configurable: true,
20340
+ writable: true,
20341
+ value: void 0
20342
+ });
19928
20343
  Object.defineProperty(this, "duration", {
19929
20344
  enumerable: true,
19930
20345
  configurable: true,
@@ -19943,11 +20358,19 @@ export class DocumentAttributeVideo extends TypeDocumentAttribute {
19943
20358
  writable: true,
19944
20359
  value: void 0
19945
20360
  });
20361
+ Object.defineProperty(this, "preloadPrefixSize", {
20362
+ enumerable: true,
20363
+ configurable: true,
20364
+ writable: true,
20365
+ value: void 0
20366
+ });
19946
20367
  this.roundMessage = params.roundMessage;
19947
20368
  this.supportsStreaming = params.supportsStreaming;
20369
+ this.nosound = params.nosound;
19948
20370
  this.duration = params.duration;
19949
20371
  this.w = params.w;
19950
20372
  this.h = params.h;
20373
+ this.preloadPrefixSize = params.preloadPrefixSize;
19951
20374
  }
19952
20375
  }
19953
20376
  export class DocumentAttributeAudio extends TypeDocumentAttribute {
@@ -20533,7 +20956,7 @@ export class WebPageNotModified extends TypeWebPage {
20533
20956
  writable: true,
20534
20957
  value: void 0
20535
20958
  });
20536
- this.cachedPageViews = params?.cachedPageViews;
20959
+ this.cachedPageViews = params.cachedPageViews;
20537
20960
  }
20538
20961
  }
20539
20962
  export class Authorization extends TypeAuthorization {
@@ -20908,8 +21331,8 @@ export class AccountPasswordSettings extends TypeAccountPasswordSettings {
20908
21331
  writable: true,
20909
21332
  value: void 0
20910
21333
  });
20911
- this.email = params?.email;
20912
- this.secureSettings = params?.secureSettings;
21334
+ this.email = params.email;
21335
+ this.secureSettings = params.secureSettings;
20913
21336
  }
20914
21337
  }
20915
21338
  export class AccountPasswordInputSettings extends TypeAccountPasswordInputSettings {
@@ -20968,11 +21391,11 @@ export class AccountPasswordInputSettings extends TypeAccountPasswordInputSettin
20968
21391
  writable: true,
20969
21392
  value: void 0
20970
21393
  });
20971
- this.newAlgo = params?.newAlgo;
20972
- this.newPasswordHash = params?.newPasswordHash;
20973
- this.hint = params?.hint;
20974
- this.email = params?.email;
20975
- this.newSecureSettings = params?.newSecureSettings;
21394
+ this.newAlgo = params.newAlgo;
21395
+ this.newPasswordHash = params.newPasswordHash;
21396
+ this.hint = params.hint;
21397
+ this.email = params.email;
21398
+ this.newSecureSettings = params.newSecureSettings;
20976
21399
  }
20977
21400
  }
20978
21401
  export class AuthPasswordRecovery extends TypeAuthPasswordRecovery {
@@ -21858,12 +22281,12 @@ export class BotInfo extends TypeBotInfo {
21858
22281
  writable: true,
21859
22282
  value: void 0
21860
22283
  });
21861
- this.userId = params?.userId;
21862
- this.description = params?.description;
21863
- this.descriptionPhoto = params?.descriptionPhoto;
21864
- this.descriptionDocument = params?.descriptionDocument;
21865
- this.commands = params?.commands;
21866
- this.menuButton = params?.menuButton;
22284
+ this.userId = params.userId;
22285
+ this.description = params.description;
22286
+ this.descriptionPhoto = params.descriptionPhoto;
22287
+ this.descriptionDocument = params.descriptionDocument;
22288
+ this.commands = params.commands;
22289
+ this.menuButton = params.menuButton;
21867
22290
  }
21868
22291
  }
21869
22292
  export class KeyboardButton extends TypeKeyboardButton {
@@ -22505,7 +22928,7 @@ export class ReplyKeyboardHide extends TypeReplyMarkup {
22505
22928
  writable: true,
22506
22929
  value: void 0
22507
22930
  });
22508
- this.selective = params?.selective;
22931
+ this.selective = params.selective;
22509
22932
  }
22510
22933
  }
22511
22934
  export class ReplyKeyboardForceReply extends TypeReplyMarkup {
@@ -22548,9 +22971,9 @@ export class ReplyKeyboardForceReply extends TypeReplyMarkup {
22548
22971
  writable: true,
22549
22972
  value: void 0
22550
22973
  });
22551
- this.singleUse = params?.singleUse;
22552
- this.selective = params?.selective;
22553
- this.placeholder = params?.placeholder;
22974
+ this.singleUse = params.singleUse;
22975
+ this.selective = params.selective;
22976
+ this.placeholder = params.placeholder;
22554
22977
  }
22555
22978
  }
22556
22979
  export class ReplyKeyboardMarkup extends TypeReplyMarkup {
@@ -24310,8 +24733,8 @@ export class ChannelParticipantsMentions extends TypeChannelParticipantsFilter {
24310
24733
  writable: true,
24311
24734
  value: void 0
24312
24735
  });
24313
- this.q = params?.q;
24314
- this.topMsgId = params?.topMsgId;
24736
+ this.q = params.q;
24737
+ this.topMsgId = params.topMsgId;
24315
24738
  }
24316
24739
  }
24317
24740
  export class ChannelsChannelParticipants extends TypeChannelsChannelParticipants {
@@ -24864,7 +25287,7 @@ export class InputBotInlineMessageGame extends TypeInputBotInlineMessage {
24864
25287
  writable: true,
24865
25288
  value: void 0
24866
25289
  });
24867
- this.replyMarkup = params?.replyMarkup;
25290
+ this.replyMarkup = params.replyMarkup;
24868
25291
  }
24869
25292
  }
24870
25293
  export class InputBotInlineMessageMediaInvoice extends TypeInputBotInlineMessage {
@@ -26312,8 +26735,8 @@ export class AuthSentCodeTypeSetUpEmailRequired extends TypeAuthSentCodeType {
26312
26735
  writable: true,
26313
26736
  value: void 0
26314
26737
  });
26315
- this.appleSigninAllowed = params?.appleSigninAllowed;
26316
- this.googleSigninAllowed = params?.googleSigninAllowed;
26738
+ this.appleSigninAllowed = params.appleSigninAllowed;
26739
+ this.googleSigninAllowed = params.googleSigninAllowed;
26317
26740
  }
26318
26741
  }
26319
26742
  export class AuthSentCodeTypeFragmentSms extends TypeAuthSentCodeType {
@@ -26500,7 +26923,7 @@ export class MessagesMessageEditData extends TypeMessagesMessageEditData {
26500
26923
  writable: true,
26501
26924
  value: void 0
26502
26925
  });
26503
- this.caption = params?.caption;
26926
+ this.caption = params.caption;
26504
26927
  }
26505
26928
  }
26506
26929
  export class InputBotInlineMessageID extends TypeInputBotInlineMessageID {
@@ -26977,7 +27400,7 @@ export class DraftMessageEmpty extends TypeDraftMessage {
26977
27400
  writable: true,
26978
27401
  value: void 0
26979
27402
  });
26980
- this.date = params?.date;
27403
+ this.date = params.date;
26981
27404
  }
26982
27405
  }
26983
27406
  export class DraftMessage extends TypeDraftMessage {
@@ -29643,10 +30066,10 @@ export class PaymentRequestedInfo extends TypePaymentRequestedInfo {
29643
30066
  writable: true,
29644
30067
  value: void 0
29645
30068
  });
29646
- this.name = params?.name;
29647
- this.phone = params?.phone;
29648
- this.email = params?.email;
29649
- this.shippingAddress = params?.shippingAddress;
30069
+ this.name = params.name;
30070
+ this.phone = params.phone;
30071
+ this.email = params.email;
30072
+ this.shippingAddress = params.shippingAddress;
29650
30073
  }
29651
30074
  }
29652
30075
  export class PaymentSavedCredentialsCard extends TypePaymentSavedCredentials {
@@ -30000,10 +30423,10 @@ export class InputWebFileAudioAlbumThumbLocation extends TypeInputWebFileLocatio
30000
30423
  writable: true,
30001
30424
  value: void 0
30002
30425
  });
30003
- this.small = params?.small;
30004
- this.document = params?.document;
30005
- this.title = params?.title;
30006
- this.performer = params?.performer;
30426
+ this.small = params.small;
30427
+ this.document = params.document;
30428
+ this.title = params.title;
30429
+ this.performer = params.performer;
30007
30430
  }
30008
30431
  }
30009
30432
  export class UploadWebFile extends TypeUploadWebFile {
@@ -30261,8 +30684,8 @@ export class PaymentsValidatedRequestedInfo extends TypePaymentsValidatedRequest
30261
30684
  writable: true,
30262
30685
  value: void 0
30263
30686
  });
30264
- this.id = params?.id;
30265
- this.shippingOptions = params?.shippingOptions;
30687
+ this.id = params.id;
30688
+ this.shippingOptions = params.shippingOptions;
30266
30689
  }
30267
30690
  }
30268
30691
  export class PaymentsPaymentResult extends TypePaymentsPaymentResult {
@@ -30491,8 +30914,8 @@ export class PaymentsSavedInfo extends TypePaymentsSavedInfo {
30491
30914
  writable: true,
30492
30915
  value: void 0
30493
30916
  });
30494
- this.hasSavedCredentials = params?.hasSavedCredentials;
30495
- this.savedInfo = params?.savedInfo;
30917
+ this.hasSavedCredentials = params.hasSavedCredentials;
30918
+ this.savedInfo = params.savedInfo;
30496
30919
  }
30497
30920
  }
30498
30921
  export class InputPaymentCredentialsSaved extends TypeInputPaymentCredentials {
@@ -33158,8 +33581,8 @@ export class ChannelAdminLogEventActionPinTopic extends TypeChannelAdminLogEvent
33158
33581
  writable: true,
33159
33582
  value: void 0
33160
33583
  });
33161
- this.prevTopic = params?.prevTopic;
33162
- this.newTopic = params?.newTopic;
33584
+ this.prevTopic = params.prevTopic;
33585
+ this.newTopic = params.newTopic;
33163
33586
  }
33164
33587
  }
33165
33588
  export class ChannelAdminLogEventActionToggleAntiSpam extends TypeChannelAdminLogEventAction {
@@ -33442,24 +33865,24 @@ export class ChannelAdminLogEventsFilter extends TypeChannelAdminLogEventsFilter
33442
33865
  writable: true,
33443
33866
  value: void 0
33444
33867
  });
33445
- this.join = params?.join;
33446
- this.leave = params?.leave;
33447
- this.invite = params?.invite;
33448
- this.ban = params?.ban;
33449
- this.unban = params?.unban;
33450
- this.kick = params?.kick;
33451
- this.unkick = params?.unkick;
33452
- this.promote = params?.promote;
33453
- this.demote = params?.demote;
33454
- this.info = params?.info;
33455
- this.settings = params?.settings;
33456
- this.pinned = params?.pinned;
33457
- this.edit = params?.edit;
33458
- this.delete = params?.delete;
33459
- this.groupCall = params?.groupCall;
33460
- this.invites = params?.invites;
33461
- this.send = params?.send;
33462
- this.forums = params?.forums;
33868
+ this.join = params.join;
33869
+ this.leave = params.leave;
33870
+ this.invite = params.invite;
33871
+ this.ban = params.ban;
33872
+ this.unban = params.unban;
33873
+ this.kick = params.kick;
33874
+ this.unkick = params.unkick;
33875
+ this.promote = params.promote;
33876
+ this.demote = params.demote;
33877
+ this.info = params.info;
33878
+ this.settings = params.settings;
33879
+ this.pinned = params.pinned;
33880
+ this.edit = params.edit;
33881
+ this.delete = params.delete;
33882
+ this.groupCall = params.groupCall;
33883
+ this.invites = params.invites;
33884
+ this.send = params.send;
33885
+ this.forums = params.forums;
33463
33886
  }
33464
33887
  }
33465
33888
  export class PopularContact extends TypePopularContact {
@@ -36344,14 +36767,14 @@ export class PageTableCell extends TypePageTableCell {
36344
36767
  writable: true,
36345
36768
  value: void 0
36346
36769
  });
36347
- this.header = params?.header;
36348
- this.alignCenter = params?.alignCenter;
36349
- this.alignRight = params?.alignRight;
36350
- this.valignMiddle = params?.valignMiddle;
36351
- this.valignBottom = params?.valignBottom;
36352
- this.text = params?.text;
36353
- this.colspan = params?.colspan;
36354
- this.rowspan = params?.rowspan;
36770
+ this.header = params.header;
36771
+ this.alignCenter = params.alignCenter;
36772
+ this.alignRight = params.alignRight;
36773
+ this.valignMiddle = params.valignMiddle;
36774
+ this.valignBottom = params.valignBottom;
36775
+ this.text = params.text;
36776
+ this.colspan = params.colspan;
36777
+ this.rowspan = params.rowspan;
36355
36778
  }
36356
36779
  }
36357
36780
  export class PageTableRow extends TypePageTableRow {
@@ -36982,7 +37405,7 @@ export class PollAnswerVoters extends TypePollAnswerVoters {
36982
37405
  }
36983
37406
  export class PollResults extends TypePollResults {
36984
37407
  get [id]() {
36985
- return 0xDCB82EA3;
37408
+ return 0x7ADF2420;
36986
37409
  }
36987
37410
  static get [paramDesc]() {
36988
37411
  return [
@@ -36990,7 +37413,7 @@ export class PollResults extends TypePollResults {
36990
37413
  ["min", "true", "flags.0?true"],
36991
37414
  ["results", [TypePollAnswerVoters], "flags.1?Vector<PollAnswerVoters>"],
36992
37415
  ["totalVoters", "number", "flags.2?int"],
36993
- ["recentVoters", ["bigint"], "flags.3?Vector<long>"],
37416
+ ["recentVoters", [TypePeer], "flags.3?Vector<Peer>"],
36994
37417
  ["solution", "string", "flags.4?string"],
36995
37418
  ["solutionEntities", [TypeMessageEntity], "flags.4?Vector<MessageEntity>"],
36996
37419
  ];
@@ -37001,7 +37424,7 @@ export class PollResults extends TypePollResults {
37001
37424
  [this.min ?? null, "true", "flags.0?true"],
37002
37425
  [this.results ?? null, [TypePollAnswerVoters], "flags.1?Vector<PollAnswerVoters>"],
37003
37426
  [this.totalVoters ?? null, "number", "flags.2?int"],
37004
- [this.recentVoters ?? null, ["bigint"], "flags.3?Vector<long>"],
37427
+ [this.recentVoters ?? null, [TypePeer], "flags.3?Vector<Peer>"],
37005
37428
  [this.solution ?? null, "string", "flags.4?string"],
37006
37429
  [this.solutionEntities ?? null, [TypeMessageEntity], "flags.4?Vector<MessageEntity>"],
37007
37430
  ];
@@ -37044,12 +37467,12 @@ export class PollResults extends TypePollResults {
37044
37467
  writable: true,
37045
37468
  value: void 0
37046
37469
  });
37047
- this.min = params?.min;
37048
- this.results = params?.results;
37049
- this.totalVoters = params?.totalVoters;
37050
- this.recentVoters = params?.recentVoters;
37051
- this.solution = params?.solution;
37052
- this.solutionEntities = params?.solutionEntities;
37470
+ this.min = params.min;
37471
+ this.results = params.results;
37472
+ this.totalVoters = params.totalVoters;
37473
+ this.recentVoters = params.recentVoters;
37474
+ this.solution = params.solution;
37475
+ this.solutionEntities = params.solutionEntities;
37053
37476
  }
37054
37477
  }
37055
37478
  export class ChatOnlines extends TypeChatOnlines {
@@ -37214,18 +37637,18 @@ export class ChatAdminRights extends TypeChatAdminRights {
37214
37637
  writable: true,
37215
37638
  value: void 0
37216
37639
  });
37217
- this.changeInfo = params?.changeInfo;
37218
- this.postMessages = params?.postMessages;
37219
- this.editMessages = params?.editMessages;
37220
- this.deleteMessages = params?.deleteMessages;
37221
- this.banUsers = params?.banUsers;
37222
- this.inviteUsers = params?.inviteUsers;
37223
- this.pinMessages = params?.pinMessages;
37224
- this.addAdmins = params?.addAdmins;
37225
- this.anonymous = params?.anonymous;
37226
- this.manageCall = params?.manageCall;
37227
- this.other = params?.other;
37228
- this.manageTopics = params?.manageTopics;
37640
+ this.changeInfo = params.changeInfo;
37641
+ this.postMessages = params.postMessages;
37642
+ this.editMessages = params.editMessages;
37643
+ this.deleteMessages = params.deleteMessages;
37644
+ this.banUsers = params.banUsers;
37645
+ this.inviteUsers = params.inviteUsers;
37646
+ this.pinMessages = params.pinMessages;
37647
+ this.addAdmins = params.addAdmins;
37648
+ this.anonymous = params.anonymous;
37649
+ this.manageCall = params.manageCall;
37650
+ this.other = params.other;
37651
+ this.manageTopics = params.manageTopics;
37229
37652
  }
37230
37653
  }
37231
37654
  export class ChatBannedRights extends TypeChatBannedRights {
@@ -37647,14 +38070,14 @@ export class CodeSettings extends TypeCodeSettings {
37647
38070
  writable: true,
37648
38071
  value: void 0
37649
38072
  });
37650
- this.allowFlashcall = params?.allowFlashcall;
37651
- this.currentNumber = params?.currentNumber;
37652
- this.allowAppHash = params?.allowAppHash;
37653
- this.allowMissedCall = params?.allowMissedCall;
37654
- this.allowFirebase = params?.allowFirebase;
37655
- this.logoutTokens = params?.logoutTokens;
37656
- this.token = params?.token;
37657
- this.appSandbox = params?.appSandbox;
38073
+ this.allowFlashcall = params.allowFlashcall;
38074
+ this.currentNumber = params.currentNumber;
38075
+ this.allowAppHash = params.allowAppHash;
38076
+ this.allowMissedCall = params.allowMissedCall;
38077
+ this.allowFirebase = params.allowFirebase;
38078
+ this.logoutTokens = params.logoutTokens;
38079
+ this.token = params.token;
38080
+ this.appSandbox = params.appSandbox;
37658
38081
  }
37659
38082
  }
37660
38083
  export class WallPaperSettings extends TypeWallPaperSettings {
@@ -37737,19 +38160,19 @@ export class WallPaperSettings extends TypeWallPaperSettings {
37737
38160
  writable: true,
37738
38161
  value: void 0
37739
38162
  });
37740
- this.blur = params?.blur;
37741
- this.motion = params?.motion;
37742
- this.backgroundColor = params?.backgroundColor;
37743
- this.secondBackgroundColor = params?.secondBackgroundColor;
37744
- this.thirdBackgroundColor = params?.thirdBackgroundColor;
37745
- this.fourthBackgroundColor = params?.fourthBackgroundColor;
37746
- this.intensity = params?.intensity;
37747
- this.rotation = params?.rotation;
38163
+ this.blur = params.blur;
38164
+ this.motion = params.motion;
38165
+ this.backgroundColor = params.backgroundColor;
38166
+ this.secondBackgroundColor = params.secondBackgroundColor;
38167
+ this.thirdBackgroundColor = params.thirdBackgroundColor;
38168
+ this.fourthBackgroundColor = params.fourthBackgroundColor;
38169
+ this.intensity = params.intensity;
38170
+ this.rotation = params.rotation;
37748
38171
  }
37749
38172
  }
37750
38173
  export class AutoDownloadSettings extends TypeAutoDownloadSettings {
37751
38174
  get [id]() {
37752
- return 0x8EFAB953;
38175
+ return 0xBAA57628;
37753
38176
  }
37754
38177
  static get [paramDesc]() {
37755
38178
  return [
@@ -37758,10 +38181,13 @@ export class AutoDownloadSettings extends TypeAutoDownloadSettings {
37758
38181
  ["videoPreloadLarge", "true", "flags.1?true"],
37759
38182
  ["audioPreloadNext", "true", "flags.2?true"],
37760
38183
  ["phonecallsLessData", "true", "flags.3?true"],
38184
+ ["storiesPreload", "true", "flags.4?true"],
37761
38185
  ["photoSizeMax", "number", "int"],
37762
38186
  ["videoSizeMax", "bigint", "long"],
37763
38187
  ["fileSizeMax", "bigint", "long"],
37764
38188
  ["videoUploadMaxbitrate", "number", "int"],
38189
+ ["smallQueueActiveOperationsMax", "number", "int"],
38190
+ ["largeQueueActiveOperationsMax", "number", "int"],
37765
38191
  ];
37766
38192
  }
37767
38193
  get [params]() {
@@ -37771,10 +38197,13 @@ export class AutoDownloadSettings extends TypeAutoDownloadSettings {
37771
38197
  [this.videoPreloadLarge ?? null, "true", "flags.1?true"],
37772
38198
  [this.audioPreloadNext ?? null, "true", "flags.2?true"],
37773
38199
  [this.phonecallsLessData ?? null, "true", "flags.3?true"],
38200
+ [this.storiesPreload ?? null, "true", "flags.4?true"],
37774
38201
  [this.photoSizeMax, "number", "int"],
37775
38202
  [this.videoSizeMax, "bigint", "long"],
37776
38203
  [this.fileSizeMax, "bigint", "long"],
37777
38204
  [this.videoUploadMaxbitrate, "number", "int"],
38205
+ [this.smallQueueActiveOperationsMax, "number", "int"],
38206
+ [this.largeQueueActiveOperationsMax, "number", "int"],
37778
38207
  ];
37779
38208
  }
37780
38209
  constructor(params) {
@@ -37803,6 +38232,12 @@ export class AutoDownloadSettings extends TypeAutoDownloadSettings {
37803
38232
  writable: true,
37804
38233
  value: void 0
37805
38234
  });
38235
+ Object.defineProperty(this, "storiesPreload", {
38236
+ enumerable: true,
38237
+ configurable: true,
38238
+ writable: true,
38239
+ value: void 0
38240
+ });
37806
38241
  Object.defineProperty(this, "photoSizeMax", {
37807
38242
  enumerable: true,
37808
38243
  configurable: true,
@@ -37827,14 +38262,29 @@ export class AutoDownloadSettings extends TypeAutoDownloadSettings {
37827
38262
  writable: true,
37828
38263
  value: void 0
37829
38264
  });
38265
+ Object.defineProperty(this, "smallQueueActiveOperationsMax", {
38266
+ enumerable: true,
38267
+ configurable: true,
38268
+ writable: true,
38269
+ value: void 0
38270
+ });
38271
+ Object.defineProperty(this, "largeQueueActiveOperationsMax", {
38272
+ enumerable: true,
38273
+ configurable: true,
38274
+ writable: true,
38275
+ value: void 0
38276
+ });
37830
38277
  this.disabled = params.disabled;
37831
38278
  this.videoPreloadLarge = params.videoPreloadLarge;
37832
38279
  this.audioPreloadNext = params.audioPreloadNext;
37833
38280
  this.phonecallsLessData = params.phonecallsLessData;
38281
+ this.storiesPreload = params.storiesPreload;
37834
38282
  this.photoSizeMax = params.photoSizeMax;
37835
38283
  this.videoSizeMax = params.videoSizeMax;
37836
38284
  this.fileSizeMax = params.fileSizeMax;
37837
38285
  this.videoUploadMaxbitrate = params.videoUploadMaxbitrate;
38286
+ this.smallQueueActiveOperationsMax = params.smallQueueActiveOperationsMax;
38287
+ this.largeQueueActiveOperationsMax = params.largeQueueActiveOperationsMax;
37838
38288
  }
37839
38289
  }
37840
38290
  export class AccountAutoDownloadSettings extends TypeAccountAutoDownloadSettings {
@@ -38827,8 +39277,8 @@ export class AccountContentSettings extends TypeAccountContentSettings {
38827
39277
  writable: true,
38828
39278
  value: void 0
38829
39279
  });
38830
- this.sensitiveEnabled = params?.sensitiveEnabled;
38831
- this.sensitiveCanChange = params?.sensitiveCanChange;
39280
+ this.sensitiveEnabled = params.sensitiveEnabled;
39281
+ this.sensitiveCanChange = params.sensitiveCanChange;
38832
39282
  }
38833
39283
  }
38834
39284
  export class MessagesInactiveChats extends TypeMessagesInactiveChats {
@@ -39129,103 +39579,28 @@ export class WebPageAttributeTheme extends TypeWebPageAttribute {
39129
39579
  writable: true,
39130
39580
  value: void 0
39131
39581
  });
39132
- this.documents = params?.documents;
39133
- this.settings = params?.settings;
39134
- }
39135
- }
39136
- export class MessageUserVote extends TypeMessageUserVote {
39137
- get [id]() {
39138
- return 0x34D247B4;
39139
- }
39140
- static get [paramDesc]() {
39141
- return [
39142
- ["userId", "bigint", "long"],
39143
- ["option", Uint8Array, "bytes"],
39144
- ["date", "number", "int"],
39145
- ];
39146
- }
39147
- get [params]() {
39148
- return [
39149
- [this.userId, "bigint", "long"],
39150
- [this.option, Uint8Array, "bytes"],
39151
- [this.date, "number", "int"],
39152
- ];
39153
- }
39154
- constructor(params) {
39155
- super();
39156
- Object.defineProperty(this, "userId", {
39157
- enumerable: true,
39158
- configurable: true,
39159
- writable: true,
39160
- value: void 0
39161
- });
39162
- Object.defineProperty(this, "option", {
39163
- enumerable: true,
39164
- configurable: true,
39165
- writable: true,
39166
- value: void 0
39167
- });
39168
- Object.defineProperty(this, "date", {
39169
- enumerable: true,
39170
- configurable: true,
39171
- writable: true,
39172
- value: void 0
39173
- });
39174
- this.userId = params.userId;
39175
- this.option = params.option;
39176
- this.date = params.date;
39177
- }
39178
- }
39179
- export class MessageUserVoteInputOption extends TypeMessageUserVote {
39180
- get [id]() {
39181
- return 0x3CA5B0EC;
39182
- }
39183
- static get [paramDesc]() {
39184
- return [
39185
- ["userId", "bigint", "long"],
39186
- ["date", "number", "int"],
39187
- ];
39188
- }
39189
- get [params]() {
39190
- return [
39191
- [this.userId, "bigint", "long"],
39192
- [this.date, "number", "int"],
39193
- ];
39194
- }
39195
- constructor(params) {
39196
- super();
39197
- Object.defineProperty(this, "userId", {
39198
- enumerable: true,
39199
- configurable: true,
39200
- writable: true,
39201
- value: void 0
39202
- });
39203
- Object.defineProperty(this, "date", {
39204
- enumerable: true,
39205
- configurable: true,
39206
- writable: true,
39207
- value: void 0
39208
- });
39209
- this.userId = params.userId;
39210
- this.date = params.date;
39582
+ this.documents = params.documents;
39583
+ this.settings = params.settings;
39211
39584
  }
39212
39585
  }
39213
- export class MessageUserVoteMultiple extends TypeMessageUserVote {
39586
+ export class WebPageAttributeStory extends TypeWebPageAttribute {
39214
39587
  get [id]() {
39215
- return 0x8A65E557;
39588
+ return 0x939A4671;
39216
39589
  }
39217
39590
  static get [paramDesc]() {
39218
39591
  return [
39592
+ ["flags", flags, "#"],
39219
39593
  ["userId", "bigint", "long"],
39220
- ["options", [Uint8Array], "Vector<bytes>"],
39221
- ["date", "number", "int"],
39594
+ ["id", "number", "int"],
39595
+ ["story", TypeStoryItem, "flags.0?StoryItem"],
39222
39596
  ];
39223
39597
  }
39224
39598
  get [params]() {
39225
39599
  return [
39600
+ ["flags", flags, "#"],
39226
39601
  [this.userId, "bigint", "long"],
39227
- [this.options, [Uint8Array], "Vector<bytes>"],
39228
- [this.date, "number", "int"],
39602
+ [this.id, "number", "int"],
39603
+ [this.story ?? null, TypeStoryItem, "flags.0?StoryItem"],
39229
39604
  ];
39230
39605
  }
39231
39606
  constructor(params) {
@@ -39236,32 +39611,33 @@ export class MessageUserVoteMultiple extends TypeMessageUserVote {
39236
39611
  writable: true,
39237
39612
  value: void 0
39238
39613
  });
39239
- Object.defineProperty(this, "options", {
39614
+ Object.defineProperty(this, "id", {
39240
39615
  enumerable: true,
39241
39616
  configurable: true,
39242
39617
  writable: true,
39243
39618
  value: void 0
39244
39619
  });
39245
- Object.defineProperty(this, "date", {
39620
+ Object.defineProperty(this, "story", {
39246
39621
  enumerable: true,
39247
39622
  configurable: true,
39248
39623
  writable: true,
39249
39624
  value: void 0
39250
39625
  });
39251
39626
  this.userId = params.userId;
39252
- this.options = params.options;
39253
- this.date = params.date;
39627
+ this.id = params.id;
39628
+ this.story = params.story;
39254
39629
  }
39255
39630
  }
39256
39631
  export class MessagesVotesList extends TypeMessagesVotesList {
39257
39632
  get [id]() {
39258
- return 0x0823F649;
39633
+ return 0x4899484E;
39259
39634
  }
39260
39635
  static get [paramDesc]() {
39261
39636
  return [
39262
39637
  ["flags", flags, "#"],
39263
39638
  ["count", "number", "int"],
39264
- ["votes", [TypeMessageUserVote], "Vector<MessageUserVote>"],
39639
+ ["votes", [TypeMessagePeerVote], "Vector<MessagePeerVote>"],
39640
+ ["chats", [TypeChat], "Vector<Chat>"],
39265
39641
  ["users", [TypeUser], "Vector<User>"],
39266
39642
  ["nextOffset", "string", "flags.0?string"],
39267
39643
  ];
@@ -39270,7 +39646,8 @@ export class MessagesVotesList extends TypeMessagesVotesList {
39270
39646
  return [
39271
39647
  ["flags", flags, "#"],
39272
39648
  [this.count, "number", "int"],
39273
- [this.votes, [TypeMessageUserVote], "Vector<MessageUserVote>"],
39649
+ [this.votes, [TypeMessagePeerVote], "Vector<MessagePeerVote>"],
39650
+ [this.chats, [TypeChat], "Vector<Chat>"],
39274
39651
  [this.users, [TypeUser], "Vector<User>"],
39275
39652
  [this.nextOffset ?? null, "string", "flags.0?string"],
39276
39653
  ];
@@ -39289,6 +39666,12 @@ export class MessagesVotesList extends TypeMessagesVotesList {
39289
39666
  writable: true,
39290
39667
  value: void 0
39291
39668
  });
39669
+ Object.defineProperty(this, "chats", {
39670
+ enumerable: true,
39671
+ configurable: true,
39672
+ writable: true,
39673
+ value: void 0
39674
+ });
39292
39675
  Object.defineProperty(this, "users", {
39293
39676
  enumerable: true,
39294
39677
  configurable: true,
@@ -39303,6 +39686,7 @@ export class MessagesVotesList extends TypeMessagesVotesList {
39303
39686
  });
39304
39687
  this.count = params.count;
39305
39688
  this.votes = params.votes;
39689
+ this.chats = params.chats;
39306
39690
  this.users = params.users;
39307
39691
  this.nextOffset = params.nextOffset;
39308
39692
  }
@@ -40567,18 +40951,22 @@ export class StatsMegagroupStats extends TypeStatsMegagroupStats {
40567
40951
  }
40568
40952
  export class GlobalPrivacySettings extends TypeGlobalPrivacySettings {
40569
40953
  get [id]() {
40570
- return 0xBEA2F424;
40954
+ return 0x734C4CCB;
40571
40955
  }
40572
40956
  static get [paramDesc]() {
40573
40957
  return [
40574
40958
  ["flags", flags, "#"],
40575
- ["archiveAndMuteNewNoncontactPeers", "boolean", "flags.0?Bool"],
40959
+ ["archiveAndMuteNewNoncontactPeers", "true", "flags.0?true"],
40960
+ ["keepArchivedUnmuted", "true", "flags.1?true"],
40961
+ ["keepArchivedFolders", "true", "flags.2?true"],
40576
40962
  ];
40577
40963
  }
40578
40964
  get [params]() {
40579
40965
  return [
40580
40966
  ["flags", flags, "#"],
40581
- [this.archiveAndMuteNewNoncontactPeers ?? null, "boolean", "flags.0?Bool"],
40967
+ [this.archiveAndMuteNewNoncontactPeers ?? null, "true", "flags.0?true"],
40968
+ [this.keepArchivedUnmuted ?? null, "true", "flags.1?true"],
40969
+ [this.keepArchivedFolders ?? null, "true", "flags.2?true"],
40582
40970
  ];
40583
40971
  }
40584
40972
  constructor(params) {
@@ -40589,7 +40977,21 @@ export class GlobalPrivacySettings extends TypeGlobalPrivacySettings {
40589
40977
  writable: true,
40590
40978
  value: void 0
40591
40979
  });
40592
- this.archiveAndMuteNewNoncontactPeers = params?.archiveAndMuteNewNoncontactPeers;
40980
+ Object.defineProperty(this, "keepArchivedUnmuted", {
40981
+ enumerable: true,
40982
+ configurable: true,
40983
+ writable: true,
40984
+ value: void 0
40985
+ });
40986
+ Object.defineProperty(this, "keepArchivedFolders", {
40987
+ enumerable: true,
40988
+ configurable: true,
40989
+ writable: true,
40990
+ value: void 0
40991
+ });
40992
+ this.archiveAndMuteNewNoncontactPeers = params.archiveAndMuteNewNoncontactPeers;
40993
+ this.keepArchivedUnmuted = params.keepArchivedUnmuted;
40994
+ this.keepArchivedFolders = params.keepArchivedFolders;
40593
40995
  }
40594
40996
  }
40595
40997
  export class HelpCountryCode extends TypeHelpCountryCode {
@@ -40788,9 +41190,9 @@ export class MessageViews extends TypeMessageViews {
40788
41190
  writable: true,
40789
41191
  value: void 0
40790
41192
  });
40791
- this.views = params?.views;
40792
- this.forwards = params?.forwards;
40793
- this.replies = params?.replies;
41193
+ this.views = params.views;
41194
+ this.forwards = params.forwards;
41195
+ this.replies = params.replies;
40794
41196
  }
40795
41197
  }
40796
41198
  export class MessagesMessageViews extends TypeMessagesMessageViews {
@@ -40980,6 +41382,40 @@ export class MessageReplyHeader extends TypeMessageReplyHeader {
40980
41382
  this.replyToTopId = params.replyToTopId;
40981
41383
  }
40982
41384
  }
41385
+ export class MessageReplyStoryHeader extends TypeMessageReplyHeader {
41386
+ get [id]() {
41387
+ return 0x9C98BFC1;
41388
+ }
41389
+ static get [paramDesc]() {
41390
+ return [
41391
+ ["userId", "bigint", "long"],
41392
+ ["storyId", "number", "int"],
41393
+ ];
41394
+ }
41395
+ get [params]() {
41396
+ return [
41397
+ [this.userId, "bigint", "long"],
41398
+ [this.storyId, "number", "int"],
41399
+ ];
41400
+ }
41401
+ constructor(params) {
41402
+ super();
41403
+ Object.defineProperty(this, "userId", {
41404
+ enumerable: true,
41405
+ configurable: true,
41406
+ writable: true,
41407
+ value: void 0
41408
+ });
41409
+ Object.defineProperty(this, "storyId", {
41410
+ enumerable: true,
41411
+ configurable: true,
41412
+ writable: true,
41413
+ value: void 0
41414
+ });
41415
+ this.userId = params.userId;
41416
+ this.storyId = params.storyId;
41417
+ }
41418
+ }
40983
41419
  export class MessageReplies extends TypeMessageReplies {
40984
41420
  get [id]() {
40985
41421
  return 0x83D60FC2;
@@ -41846,9 +42282,9 @@ export class MessagesHistoryImportParsed extends TypeMessagesHistoryImportParsed
41846
42282
  writable: true,
41847
42283
  value: void 0
41848
42284
  });
41849
- this.pm = params?.pm;
41850
- this.group = params?.group;
41851
- this.title = params?.title;
42285
+ this.pm = params.pm;
42286
+ this.group = params.group;
42287
+ this.title = params.title;
41852
42288
  }
41853
42289
  }
41854
42290
  export class MessagesAffectedFoundMessages extends TypeMessagesAffectedFoundMessages {
@@ -42627,7 +43063,7 @@ export class AccountResetPasswordOk extends TypeAccountResetPasswordResult {
42627
43063
  }
42628
43064
  export class SponsoredMessage extends TypeSponsoredMessage {
42629
43065
  get [id]() {
42630
- return 0xFC25B828;
43066
+ return 0xDAAFFF6B;
42631
43067
  }
42632
43068
  static get [paramDesc]() {
42633
43069
  return [
@@ -42640,6 +43076,7 @@ export class SponsoredMessage extends TypeSponsoredMessage {
42640
43076
  ["chatInviteHash", "string", "flags.4?string"],
42641
43077
  ["channelPost", "number", "flags.2?int"],
42642
43078
  ["startParam", "string", "flags.0?string"],
43079
+ ["webpage", TypeSponsoredWebPage, "flags.9?SponsoredWebPage"],
42643
43080
  ["message", "string", "string"],
42644
43081
  ["entities", [TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
42645
43082
  ["sponsorInfo", "string", "flags.7?string"],
@@ -42657,6 +43094,7 @@ export class SponsoredMessage extends TypeSponsoredMessage {
42657
43094
  [this.chatInviteHash ?? null, "string", "flags.4?string"],
42658
43095
  [this.channelPost ?? null, "number", "flags.2?int"],
42659
43096
  [this.startParam ?? null, "string", "flags.0?string"],
43097
+ [this.webpage ?? null, TypeSponsoredWebPage, "flags.9?SponsoredWebPage"],
42660
43098
  [this.message, "string", "string"],
42661
43099
  [this.entities ?? null, [TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
42662
43100
  [this.sponsorInfo ?? null, "string", "flags.7?string"],
@@ -42713,6 +43151,12 @@ export class SponsoredMessage extends TypeSponsoredMessage {
42713
43151
  writable: true,
42714
43152
  value: void 0
42715
43153
  });
43154
+ Object.defineProperty(this, "webpage", {
43155
+ enumerable: true,
43156
+ configurable: true,
43157
+ writable: true,
43158
+ value: void 0
43159
+ });
42716
43160
  Object.defineProperty(this, "message", {
42717
43161
  enumerable: true,
42718
43162
  configurable: true,
@@ -42745,6 +43189,7 @@ export class SponsoredMessage extends TypeSponsoredMessage {
42745
43189
  this.chatInviteHash = params.chatInviteHash;
42746
43190
  this.channelPost = params.channelPost;
42747
43191
  this.startParam = params.startParam;
43192
+ this.webpage = params.webpage;
42748
43193
  this.message = params.message;
42749
43194
  this.entities = params.entities;
42750
43195
  this.sponsorInfo = params.sponsorInfo;
@@ -43200,7 +43645,7 @@ export class AuthLoggedOut extends TypeAuthLoggedOut {
43200
43645
  writable: true,
43201
43646
  value: void 0
43202
43647
  });
43203
- this.futureAuthToken = params?.futureAuthToken;
43648
+ this.futureAuthToken = params.futureAuthToken;
43204
43649
  }
43205
43650
  }
43206
43651
  export class ReactionCount extends TypeReactionCount {
@@ -43539,6 +43984,7 @@ export class MessagePeerReaction extends TypeMessagePeerReaction {
43539
43984
  ["flags", flags, "#"],
43540
43985
  ["big", "true", "flags.0?true"],
43541
43986
  ["unread", "true", "flags.1?true"],
43987
+ ["my", "true", "flags.2?true"],
43542
43988
  ["peerId", TypePeer, "Peer"],
43543
43989
  ["date", "number", "int"],
43544
43990
  ["reaction", TypeReaction, "Reaction"],
@@ -43549,6 +43995,7 @@ export class MessagePeerReaction extends TypeMessagePeerReaction {
43549
43995
  ["flags", flags, "#"],
43550
43996
  [this.big ?? null, "true", "flags.0?true"],
43551
43997
  [this.unread ?? null, "true", "flags.1?true"],
43998
+ [this.my ?? null, "true", "flags.2?true"],
43552
43999
  [this.peerId, TypePeer, "Peer"],
43553
44000
  [this.date, "number", "int"],
43554
44001
  [this.reaction, TypeReaction, "Reaction"],
@@ -43568,6 +44015,12 @@ export class MessagePeerReaction extends TypeMessagePeerReaction {
43568
44015
  writable: true,
43569
44016
  value: void 0
43570
44017
  });
44018
+ Object.defineProperty(this, "my", {
44019
+ enumerable: true,
44020
+ configurable: true,
44021
+ writable: true,
44022
+ value: void 0
44023
+ });
43571
44024
  Object.defineProperty(this, "peerId", {
43572
44025
  enumerable: true,
43573
44026
  configurable: true,
@@ -43588,6 +44041,7 @@ export class MessagePeerReaction extends TypeMessagePeerReaction {
43588
44041
  });
43589
44042
  this.big = params.big;
43590
44043
  this.unread = params.unread;
44044
+ this.my = params.my;
43591
44045
  this.peerId = params.peerId;
43592
44046
  this.date = params.date;
43593
44047
  this.reaction = params.reaction;
@@ -44029,7 +44483,7 @@ export class WebViewMessageSent extends TypeWebViewMessageSent {
44029
44483
  writable: true,
44030
44484
  value: void 0
44031
44485
  });
44032
- this.msgId = params?.msgId;
44486
+ this.msgId = params.msgId;
44033
44487
  }
44034
44488
  }
44035
44489
  export class BotMenuButtonDefault extends TypeBotMenuButton {
@@ -44569,8 +45023,8 @@ export class InputStorePaymentPremiumSubscription extends TypeInputStorePaymentP
44569
45023
  writable: true,
44570
45024
  value: void 0
44571
45025
  });
44572
- this.restore = params?.restore;
44573
- this.upgrade = params?.upgrade;
45026
+ this.restore = params.restore;
45027
+ this.upgrade = params.upgrade;
44574
45028
  }
44575
45029
  }
44576
45030
  export class InputStorePaymentGiftPremium extends TypeInputStorePaymentPurpose {
@@ -44936,7 +45390,7 @@ export class ChatReactionsAll extends TypeChatReactions {
44936
45390
  writable: true,
44937
45391
  value: void 0
44938
45392
  });
44939
- this.allowCustom = params?.allowCustom;
45393
+ this.allowCustom = params.allowCustom;
44940
45394
  }
44941
45395
  }
44942
45396
  export class ChatReactionsSome extends TypeChatReactions {
@@ -45382,10 +45836,10 @@ export class MessageExtendedMediaPreview extends TypeMessageExtendedMedia {
45382
45836
  writable: true,
45383
45837
  value: void 0
45384
45838
  });
45385
- this.w = params?.w;
45386
- this.h = params?.h;
45387
- this.thumb = params?.thumb;
45388
- this.videoDuration = params?.videoDuration;
45839
+ this.w = params.w;
45840
+ this.h = params.h;
45841
+ this.thumb = params.thumb;
45842
+ this.videoDuration = params.videoDuration;
45389
45843
  }
45390
45844
  }
45391
45845
  export class MessageExtendedMedia extends TypeMessageExtendedMedia {
@@ -45878,8 +46332,8 @@ export class RequestPeerTypeUser extends TypeRequestPeerType {
45878
46332
  writable: true,
45879
46333
  value: void 0
45880
46334
  });
45881
- this.bot = params?.bot;
45882
- this.premium = params?.premium;
46335
+ this.bot = params.bot;
46336
+ this.premium = params.premium;
45883
46337
  }
45884
46338
  }
45885
46339
  export class RequestPeerTypeChat extends TypeRequestPeerType {
@@ -45946,12 +46400,12 @@ export class RequestPeerTypeChat extends TypeRequestPeerType {
45946
46400
  writable: true,
45947
46401
  value: void 0
45948
46402
  });
45949
- this.creator = params?.creator;
45950
- this.botParticipant = params?.botParticipant;
45951
- this.hasUsername = params?.hasUsername;
45952
- this.forum = params?.forum;
45953
- this.userAdminRights = params?.userAdminRights;
45954
- this.botAdminRights = params?.botAdminRights;
46403
+ this.creator = params.creator;
46404
+ this.botParticipant = params.botParticipant;
46405
+ this.hasUsername = params.hasUsername;
46406
+ this.forum = params.forum;
46407
+ this.userAdminRights = params.userAdminRights;
46408
+ this.botAdminRights = params.botAdminRights;
45955
46409
  }
45956
46410
  }
45957
46411
  export class RequestPeerTypeBroadcast extends TypeRequestPeerType {
@@ -46002,10 +46456,10 @@ export class RequestPeerTypeBroadcast extends TypeRequestPeerType {
46002
46456
  writable: true,
46003
46457
  value: void 0
46004
46458
  });
46005
- this.creator = params?.creator;
46006
- this.hasUsername = params?.hasUsername;
46007
- this.userAdminRights = params?.userAdminRights;
46008
- this.botAdminRights = params?.botAdminRights;
46459
+ this.creator = params.creator;
46460
+ this.hasUsername = params.hasUsername;
46461
+ this.userAdminRights = params.userAdminRights;
46462
+ this.botAdminRights = params.botAdminRights;
46009
46463
  }
46010
46464
  }
46011
46465
  export class EmojiListNotModified extends TypeEmojiList {
@@ -46246,9 +46700,9 @@ export class AutoSaveSettings extends TypeAutoSaveSettings {
46246
46700
  writable: true,
46247
46701
  value: void 0
46248
46702
  });
46249
- this.photos = params?.photos;
46250
- this.videos = params?.videos;
46251
- this.videoMaxSize = params?.videoMaxSize;
46703
+ this.photos = params.photos;
46704
+ this.videos = params.videos;
46705
+ this.videoMaxSize = params.videoMaxSize;
46252
46706
  }
46253
46707
  }
46254
46708
  export class AutoSaveException extends TypeAutoSaveException {
@@ -47070,6 +47524,864 @@ export class BotsBotInfo extends TypeBotsBotInfo {
47070
47524
  this.description = params.description;
47071
47525
  }
47072
47526
  }
47527
+ export class MessagePeerVote extends TypeMessagePeerVote {
47528
+ get [id]() {
47529
+ return 0xB6CC2D5C;
47530
+ }
47531
+ static get [paramDesc]() {
47532
+ return [
47533
+ ["peer", TypePeer, "Peer"],
47534
+ ["option", Uint8Array, "bytes"],
47535
+ ["date", "number", "int"],
47536
+ ];
47537
+ }
47538
+ get [params]() {
47539
+ return [
47540
+ [this.peer, TypePeer, "Peer"],
47541
+ [this.option, Uint8Array, "bytes"],
47542
+ [this.date, "number", "int"],
47543
+ ];
47544
+ }
47545
+ constructor(params) {
47546
+ super();
47547
+ Object.defineProperty(this, "peer", {
47548
+ enumerable: true,
47549
+ configurable: true,
47550
+ writable: true,
47551
+ value: void 0
47552
+ });
47553
+ Object.defineProperty(this, "option", {
47554
+ enumerable: true,
47555
+ configurable: true,
47556
+ writable: true,
47557
+ value: void 0
47558
+ });
47559
+ Object.defineProperty(this, "date", {
47560
+ enumerable: true,
47561
+ configurable: true,
47562
+ writable: true,
47563
+ value: void 0
47564
+ });
47565
+ this.peer = params.peer;
47566
+ this.option = params.option;
47567
+ this.date = params.date;
47568
+ }
47569
+ }
47570
+ export class MessagePeerVoteInputOption extends TypeMessagePeerVote {
47571
+ get [id]() {
47572
+ return 0x74CDA504;
47573
+ }
47574
+ static get [paramDesc]() {
47575
+ return [
47576
+ ["peer", TypePeer, "Peer"],
47577
+ ["date", "number", "int"],
47578
+ ];
47579
+ }
47580
+ get [params]() {
47581
+ return [
47582
+ [this.peer, TypePeer, "Peer"],
47583
+ [this.date, "number", "int"],
47584
+ ];
47585
+ }
47586
+ constructor(params) {
47587
+ super();
47588
+ Object.defineProperty(this, "peer", {
47589
+ enumerable: true,
47590
+ configurable: true,
47591
+ writable: true,
47592
+ value: void 0
47593
+ });
47594
+ Object.defineProperty(this, "date", {
47595
+ enumerable: true,
47596
+ configurable: true,
47597
+ writable: true,
47598
+ value: void 0
47599
+ });
47600
+ this.peer = params.peer;
47601
+ this.date = params.date;
47602
+ }
47603
+ }
47604
+ export class MessagePeerVoteMultiple extends TypeMessagePeerVote {
47605
+ get [id]() {
47606
+ return 0x4628F6E6;
47607
+ }
47608
+ static get [paramDesc]() {
47609
+ return [
47610
+ ["peer", TypePeer, "Peer"],
47611
+ ["options", [Uint8Array], "Vector<bytes>"],
47612
+ ["date", "number", "int"],
47613
+ ];
47614
+ }
47615
+ get [params]() {
47616
+ return [
47617
+ [this.peer, TypePeer, "Peer"],
47618
+ [this.options, [Uint8Array], "Vector<bytes>"],
47619
+ [this.date, "number", "int"],
47620
+ ];
47621
+ }
47622
+ constructor(params) {
47623
+ super();
47624
+ Object.defineProperty(this, "peer", {
47625
+ enumerable: true,
47626
+ configurable: true,
47627
+ writable: true,
47628
+ value: void 0
47629
+ });
47630
+ Object.defineProperty(this, "options", {
47631
+ enumerable: true,
47632
+ configurable: true,
47633
+ writable: true,
47634
+ value: void 0
47635
+ });
47636
+ Object.defineProperty(this, "date", {
47637
+ enumerable: true,
47638
+ configurable: true,
47639
+ writable: true,
47640
+ value: void 0
47641
+ });
47642
+ this.peer = params.peer;
47643
+ this.options = params.options;
47644
+ this.date = params.date;
47645
+ }
47646
+ }
47647
+ export class SponsoredWebPage extends TypeSponsoredWebPage {
47648
+ get [id]() {
47649
+ return 0x3DB8EC63;
47650
+ }
47651
+ static get [paramDesc]() {
47652
+ return [
47653
+ ["flags", flags, "#"],
47654
+ ["url", "string", "string"],
47655
+ ["siteName", "string", "string"],
47656
+ ["photo", TypePhoto, "flags.0?Photo"],
47657
+ ];
47658
+ }
47659
+ get [params]() {
47660
+ return [
47661
+ ["flags", flags, "#"],
47662
+ [this.url, "string", "string"],
47663
+ [this.siteName, "string", "string"],
47664
+ [this.photo ?? null, TypePhoto, "flags.0?Photo"],
47665
+ ];
47666
+ }
47667
+ constructor(params) {
47668
+ super();
47669
+ Object.defineProperty(this, "url", {
47670
+ enumerable: true,
47671
+ configurable: true,
47672
+ writable: true,
47673
+ value: void 0
47674
+ });
47675
+ Object.defineProperty(this, "siteName", {
47676
+ enumerable: true,
47677
+ configurable: true,
47678
+ writable: true,
47679
+ value: void 0
47680
+ });
47681
+ Object.defineProperty(this, "photo", {
47682
+ enumerable: true,
47683
+ configurable: true,
47684
+ writable: true,
47685
+ value: void 0
47686
+ });
47687
+ this.url = params.url;
47688
+ this.siteName = params.siteName;
47689
+ this.photo = params.photo;
47690
+ }
47691
+ }
47692
+ export class StoryViews extends TypeStoryViews {
47693
+ get [id]() {
47694
+ return 0xD36760CF;
47695
+ }
47696
+ static get [paramDesc]() {
47697
+ return [
47698
+ ["flags", flags, "#"],
47699
+ ["viewsCount", "number", "int"],
47700
+ ["recentViewers", ["bigint"], "flags.0?Vector<long>"],
47701
+ ];
47702
+ }
47703
+ get [params]() {
47704
+ return [
47705
+ ["flags", flags, "#"],
47706
+ [this.viewsCount, "number", "int"],
47707
+ [this.recentViewers ?? null, ["bigint"], "flags.0?Vector<long>"],
47708
+ ];
47709
+ }
47710
+ constructor(params) {
47711
+ super();
47712
+ Object.defineProperty(this, "viewsCount", {
47713
+ enumerable: true,
47714
+ configurable: true,
47715
+ writable: true,
47716
+ value: void 0
47717
+ });
47718
+ Object.defineProperty(this, "recentViewers", {
47719
+ enumerable: true,
47720
+ configurable: true,
47721
+ writable: true,
47722
+ value: void 0
47723
+ });
47724
+ this.viewsCount = params.viewsCount;
47725
+ this.recentViewers = params.recentViewers;
47726
+ }
47727
+ }
47728
+ export class StoryItemDeleted extends TypeStoryItem {
47729
+ get [id]() {
47730
+ return 0x51E6EE4F;
47731
+ }
47732
+ static get [paramDesc]() {
47733
+ return [
47734
+ ["id", "number", "int"],
47735
+ ];
47736
+ }
47737
+ get [params]() {
47738
+ return [
47739
+ [this.id, "number", "int"],
47740
+ ];
47741
+ }
47742
+ constructor(params) {
47743
+ super();
47744
+ Object.defineProperty(this, "id", {
47745
+ enumerable: true,
47746
+ configurable: true,
47747
+ writable: true,
47748
+ value: void 0
47749
+ });
47750
+ this.id = params.id;
47751
+ }
47752
+ }
47753
+ export class StoryItemSkipped extends TypeStoryItem {
47754
+ get [id]() {
47755
+ return 0xFFADC913;
47756
+ }
47757
+ static get [paramDesc]() {
47758
+ return [
47759
+ ["flags", flags, "#"],
47760
+ ["closeFriends", "true", "flags.8?true"],
47761
+ ["id", "number", "int"],
47762
+ ["date", "number", "int"],
47763
+ ["expireDate", "number", "int"],
47764
+ ];
47765
+ }
47766
+ get [params]() {
47767
+ return [
47768
+ ["flags", flags, "#"],
47769
+ [this.closeFriends ?? null, "true", "flags.8?true"],
47770
+ [this.id, "number", "int"],
47771
+ [this.date, "number", "int"],
47772
+ [this.expireDate, "number", "int"],
47773
+ ];
47774
+ }
47775
+ constructor(params) {
47776
+ super();
47777
+ Object.defineProperty(this, "closeFriends", {
47778
+ enumerable: true,
47779
+ configurable: true,
47780
+ writable: true,
47781
+ value: void 0
47782
+ });
47783
+ Object.defineProperty(this, "id", {
47784
+ enumerable: true,
47785
+ configurable: true,
47786
+ writable: true,
47787
+ value: void 0
47788
+ });
47789
+ Object.defineProperty(this, "date", {
47790
+ enumerable: true,
47791
+ configurable: true,
47792
+ writable: true,
47793
+ value: void 0
47794
+ });
47795
+ Object.defineProperty(this, "expireDate", {
47796
+ enumerable: true,
47797
+ configurable: true,
47798
+ writable: true,
47799
+ value: void 0
47800
+ });
47801
+ this.closeFriends = params.closeFriends;
47802
+ this.id = params.id;
47803
+ this.date = params.date;
47804
+ this.expireDate = params.expireDate;
47805
+ }
47806
+ }
47807
+ export class StoryItem extends TypeStoryItem {
47808
+ get [id]() {
47809
+ return 0x562AA637;
47810
+ }
47811
+ static get [paramDesc]() {
47812
+ return [
47813
+ ["flags", flags, "#"],
47814
+ ["pinned", "true", "flags.5?true"],
47815
+ ["public", "true", "flags.7?true"],
47816
+ ["closeFriends", "true", "flags.8?true"],
47817
+ ["min", "true", "flags.9?true"],
47818
+ ["noforwards", "true", "flags.10?true"],
47819
+ ["edited", "true", "flags.11?true"],
47820
+ ["contacts", "true", "flags.12?true"],
47821
+ ["selectedContacts", "true", "flags.13?true"],
47822
+ ["id", "number", "int"],
47823
+ ["date", "number", "int"],
47824
+ ["expireDate", "number", "int"],
47825
+ ["caption", "string", "flags.0?string"],
47826
+ ["entities", [TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
47827
+ ["media", TypeMessageMedia, "MessageMedia"],
47828
+ ["privacy", [TypePrivacyRule], "flags.2?Vector<PrivacyRule>"],
47829
+ ["views", TypeStoryViews, "flags.3?StoryViews"],
47830
+ ];
47831
+ }
47832
+ get [params]() {
47833
+ return [
47834
+ ["flags", flags, "#"],
47835
+ [this.pinned ?? null, "true", "flags.5?true"],
47836
+ [this.public ?? null, "true", "flags.7?true"],
47837
+ [this.closeFriends ?? null, "true", "flags.8?true"],
47838
+ [this.min ?? null, "true", "flags.9?true"],
47839
+ [this.noforwards ?? null, "true", "flags.10?true"],
47840
+ [this.edited ?? null, "true", "flags.11?true"],
47841
+ [this.contacts ?? null, "true", "flags.12?true"],
47842
+ [this.selectedContacts ?? null, "true", "flags.13?true"],
47843
+ [this.id, "number", "int"],
47844
+ [this.date, "number", "int"],
47845
+ [this.expireDate, "number", "int"],
47846
+ [this.caption ?? null, "string", "flags.0?string"],
47847
+ [this.entities ?? null, [TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
47848
+ [this.media, TypeMessageMedia, "MessageMedia"],
47849
+ [this.privacy ?? null, [TypePrivacyRule], "flags.2?Vector<PrivacyRule>"],
47850
+ [this.views ?? null, TypeStoryViews, "flags.3?StoryViews"],
47851
+ ];
47852
+ }
47853
+ constructor(params) {
47854
+ super();
47855
+ Object.defineProperty(this, "pinned", {
47856
+ enumerable: true,
47857
+ configurable: true,
47858
+ writable: true,
47859
+ value: void 0
47860
+ });
47861
+ Object.defineProperty(this, "public", {
47862
+ enumerable: true,
47863
+ configurable: true,
47864
+ writable: true,
47865
+ value: void 0
47866
+ });
47867
+ Object.defineProperty(this, "closeFriends", {
47868
+ enumerable: true,
47869
+ configurable: true,
47870
+ writable: true,
47871
+ value: void 0
47872
+ });
47873
+ Object.defineProperty(this, "min", {
47874
+ enumerable: true,
47875
+ configurable: true,
47876
+ writable: true,
47877
+ value: void 0
47878
+ });
47879
+ Object.defineProperty(this, "noforwards", {
47880
+ enumerable: true,
47881
+ configurable: true,
47882
+ writable: true,
47883
+ value: void 0
47884
+ });
47885
+ Object.defineProperty(this, "edited", {
47886
+ enumerable: true,
47887
+ configurable: true,
47888
+ writable: true,
47889
+ value: void 0
47890
+ });
47891
+ Object.defineProperty(this, "contacts", {
47892
+ enumerable: true,
47893
+ configurable: true,
47894
+ writable: true,
47895
+ value: void 0
47896
+ });
47897
+ Object.defineProperty(this, "selectedContacts", {
47898
+ enumerable: true,
47899
+ configurable: true,
47900
+ writable: true,
47901
+ value: void 0
47902
+ });
47903
+ Object.defineProperty(this, "id", {
47904
+ enumerable: true,
47905
+ configurable: true,
47906
+ writable: true,
47907
+ value: void 0
47908
+ });
47909
+ Object.defineProperty(this, "date", {
47910
+ enumerable: true,
47911
+ configurable: true,
47912
+ writable: true,
47913
+ value: void 0
47914
+ });
47915
+ Object.defineProperty(this, "expireDate", {
47916
+ enumerable: true,
47917
+ configurable: true,
47918
+ writable: true,
47919
+ value: void 0
47920
+ });
47921
+ Object.defineProperty(this, "caption", {
47922
+ enumerable: true,
47923
+ configurable: true,
47924
+ writable: true,
47925
+ value: void 0
47926
+ });
47927
+ Object.defineProperty(this, "entities", {
47928
+ enumerable: true,
47929
+ configurable: true,
47930
+ writable: true,
47931
+ value: void 0
47932
+ });
47933
+ Object.defineProperty(this, "media", {
47934
+ enumerable: true,
47935
+ configurable: true,
47936
+ writable: true,
47937
+ value: void 0
47938
+ });
47939
+ Object.defineProperty(this, "privacy", {
47940
+ enumerable: true,
47941
+ configurable: true,
47942
+ writable: true,
47943
+ value: void 0
47944
+ });
47945
+ Object.defineProperty(this, "views", {
47946
+ enumerable: true,
47947
+ configurable: true,
47948
+ writable: true,
47949
+ value: void 0
47950
+ });
47951
+ this.pinned = params.pinned;
47952
+ this.public = params.public;
47953
+ this.closeFriends = params.closeFriends;
47954
+ this.min = params.min;
47955
+ this.noforwards = params.noforwards;
47956
+ this.edited = params.edited;
47957
+ this.contacts = params.contacts;
47958
+ this.selectedContacts = params.selectedContacts;
47959
+ this.id = params.id;
47960
+ this.date = params.date;
47961
+ this.expireDate = params.expireDate;
47962
+ this.caption = params.caption;
47963
+ this.entities = params.entities;
47964
+ this.media = params.media;
47965
+ this.privacy = params.privacy;
47966
+ this.views = params.views;
47967
+ }
47968
+ }
47969
+ export class UserStories extends TypeUserStories {
47970
+ get [id]() {
47971
+ return 0x8611A200;
47972
+ }
47973
+ static get [paramDesc]() {
47974
+ return [
47975
+ ["flags", flags, "#"],
47976
+ ["userId", "bigint", "long"],
47977
+ ["maxReadId", "number", "flags.0?int"],
47978
+ ["stories", [TypeStoryItem], "Vector<StoryItem>"],
47979
+ ];
47980
+ }
47981
+ get [params]() {
47982
+ return [
47983
+ ["flags", flags, "#"],
47984
+ [this.userId, "bigint", "long"],
47985
+ [this.maxReadId ?? null, "number", "flags.0?int"],
47986
+ [this.stories, [TypeStoryItem], "Vector<StoryItem>"],
47987
+ ];
47988
+ }
47989
+ constructor(params) {
47990
+ super();
47991
+ Object.defineProperty(this, "userId", {
47992
+ enumerable: true,
47993
+ configurable: true,
47994
+ writable: true,
47995
+ value: void 0
47996
+ });
47997
+ Object.defineProperty(this, "maxReadId", {
47998
+ enumerable: true,
47999
+ configurable: true,
48000
+ writable: true,
48001
+ value: void 0
48002
+ });
48003
+ Object.defineProperty(this, "stories", {
48004
+ enumerable: true,
48005
+ configurable: true,
48006
+ writable: true,
48007
+ value: void 0
48008
+ });
48009
+ this.userId = params.userId;
48010
+ this.maxReadId = params.maxReadId;
48011
+ this.stories = params.stories;
48012
+ }
48013
+ }
48014
+ export class StoriesAllStoriesNotModified extends TypeStoriesAllStories {
48015
+ get [id]() {
48016
+ return 0x47E0A07E;
48017
+ }
48018
+ static get [paramDesc]() {
48019
+ return [
48020
+ ["state", "string", "string"],
48021
+ ];
48022
+ }
48023
+ get [params]() {
48024
+ return [
48025
+ [this.state, "string", "string"],
48026
+ ];
48027
+ }
48028
+ constructor(params) {
48029
+ super();
48030
+ Object.defineProperty(this, "state", {
48031
+ enumerable: true,
48032
+ configurable: true,
48033
+ writable: true,
48034
+ value: void 0
48035
+ });
48036
+ this.state = params.state;
48037
+ }
48038
+ }
48039
+ export class StoriesAllStories extends TypeStoriesAllStories {
48040
+ get [id]() {
48041
+ return 0x839E0428;
48042
+ }
48043
+ static get [paramDesc]() {
48044
+ return [
48045
+ ["flags", flags, "#"],
48046
+ ["hasMore", "true", "flags.0?true"],
48047
+ ["count", "number", "int"],
48048
+ ["state", "string", "string"],
48049
+ ["userStories", [TypeUserStories], "Vector<UserStories>"],
48050
+ ["users", [TypeUser], "Vector<User>"],
48051
+ ];
48052
+ }
48053
+ get [params]() {
48054
+ return [
48055
+ ["flags", flags, "#"],
48056
+ [this.hasMore ?? null, "true", "flags.0?true"],
48057
+ [this.count, "number", "int"],
48058
+ [this.state, "string", "string"],
48059
+ [this.userStories, [TypeUserStories], "Vector<UserStories>"],
48060
+ [this.users, [TypeUser], "Vector<User>"],
48061
+ ];
48062
+ }
48063
+ constructor(params) {
48064
+ super();
48065
+ Object.defineProperty(this, "hasMore", {
48066
+ enumerable: true,
48067
+ configurable: true,
48068
+ writable: true,
48069
+ value: void 0
48070
+ });
48071
+ Object.defineProperty(this, "count", {
48072
+ enumerable: true,
48073
+ configurable: true,
48074
+ writable: true,
48075
+ value: void 0
48076
+ });
48077
+ Object.defineProperty(this, "state", {
48078
+ enumerable: true,
48079
+ configurable: true,
48080
+ writable: true,
48081
+ value: void 0
48082
+ });
48083
+ Object.defineProperty(this, "userStories", {
48084
+ enumerable: true,
48085
+ configurable: true,
48086
+ writable: true,
48087
+ value: void 0
48088
+ });
48089
+ Object.defineProperty(this, "users", {
48090
+ enumerable: true,
48091
+ configurable: true,
48092
+ writable: true,
48093
+ value: void 0
48094
+ });
48095
+ this.hasMore = params.hasMore;
48096
+ this.count = params.count;
48097
+ this.state = params.state;
48098
+ this.userStories = params.userStories;
48099
+ this.users = params.users;
48100
+ }
48101
+ }
48102
+ export class StoriesStories extends TypeStoriesStories {
48103
+ get [id]() {
48104
+ return 0x4FE57DF1;
48105
+ }
48106
+ static get [paramDesc]() {
48107
+ return [
48108
+ ["count", "number", "int"],
48109
+ ["stories", [TypeStoryItem], "Vector<StoryItem>"],
48110
+ ["users", [TypeUser], "Vector<User>"],
48111
+ ];
48112
+ }
48113
+ get [params]() {
48114
+ return [
48115
+ [this.count, "number", "int"],
48116
+ [this.stories, [TypeStoryItem], "Vector<StoryItem>"],
48117
+ [this.users, [TypeUser], "Vector<User>"],
48118
+ ];
48119
+ }
48120
+ constructor(params) {
48121
+ super();
48122
+ Object.defineProperty(this, "count", {
48123
+ enumerable: true,
48124
+ configurable: true,
48125
+ writable: true,
48126
+ value: void 0
48127
+ });
48128
+ Object.defineProperty(this, "stories", {
48129
+ enumerable: true,
48130
+ configurable: true,
48131
+ writable: true,
48132
+ value: void 0
48133
+ });
48134
+ Object.defineProperty(this, "users", {
48135
+ enumerable: true,
48136
+ configurable: true,
48137
+ writable: true,
48138
+ value: void 0
48139
+ });
48140
+ this.count = params.count;
48141
+ this.stories = params.stories;
48142
+ this.users = params.users;
48143
+ }
48144
+ }
48145
+ export class StoriesUserStories extends TypeStoriesUserStories {
48146
+ get [id]() {
48147
+ return 0x37A6FF5F;
48148
+ }
48149
+ static get [paramDesc]() {
48150
+ return [
48151
+ ["stories", TypeUserStories, "UserStories"],
48152
+ ["users", [TypeUser], "Vector<User>"],
48153
+ ];
48154
+ }
48155
+ get [params]() {
48156
+ return [
48157
+ [this.stories, TypeUserStories, "UserStories"],
48158
+ [this.users, [TypeUser], "Vector<User>"],
48159
+ ];
48160
+ }
48161
+ constructor(params) {
48162
+ super();
48163
+ Object.defineProperty(this, "stories", {
48164
+ enumerable: true,
48165
+ configurable: true,
48166
+ writable: true,
48167
+ value: void 0
48168
+ });
48169
+ Object.defineProperty(this, "users", {
48170
+ enumerable: true,
48171
+ configurable: true,
48172
+ writable: true,
48173
+ value: void 0
48174
+ });
48175
+ this.stories = params.stories;
48176
+ this.users = params.users;
48177
+ }
48178
+ }
48179
+ export class StoryView extends TypeStoryView {
48180
+ get [id]() {
48181
+ return 0xA71AACC2;
48182
+ }
48183
+ static get [paramDesc]() {
48184
+ return [
48185
+ ["userId", "bigint", "long"],
48186
+ ["date", "number", "int"],
48187
+ ];
48188
+ }
48189
+ get [params]() {
48190
+ return [
48191
+ [this.userId, "bigint", "long"],
48192
+ [this.date, "number", "int"],
48193
+ ];
48194
+ }
48195
+ constructor(params) {
48196
+ super();
48197
+ Object.defineProperty(this, "userId", {
48198
+ enumerable: true,
48199
+ configurable: true,
48200
+ writable: true,
48201
+ value: void 0
48202
+ });
48203
+ Object.defineProperty(this, "date", {
48204
+ enumerable: true,
48205
+ configurable: true,
48206
+ writable: true,
48207
+ value: void 0
48208
+ });
48209
+ this.userId = params.userId;
48210
+ this.date = params.date;
48211
+ }
48212
+ }
48213
+ export class StoriesStoryViewsList extends TypeStoriesStoryViewsList {
48214
+ get [id]() {
48215
+ return 0xFB3F77AC;
48216
+ }
48217
+ static get [paramDesc]() {
48218
+ return [
48219
+ ["count", "number", "int"],
48220
+ ["views", [TypeStoryView], "Vector<StoryView>"],
48221
+ ["users", [TypeUser], "Vector<User>"],
48222
+ ];
48223
+ }
48224
+ get [params]() {
48225
+ return [
48226
+ [this.count, "number", "int"],
48227
+ [this.views, [TypeStoryView], "Vector<StoryView>"],
48228
+ [this.users, [TypeUser], "Vector<User>"],
48229
+ ];
48230
+ }
48231
+ constructor(params) {
48232
+ super();
48233
+ Object.defineProperty(this, "count", {
48234
+ enumerable: true,
48235
+ configurable: true,
48236
+ writable: true,
48237
+ value: void 0
48238
+ });
48239
+ Object.defineProperty(this, "views", {
48240
+ enumerable: true,
48241
+ configurable: true,
48242
+ writable: true,
48243
+ value: void 0
48244
+ });
48245
+ Object.defineProperty(this, "users", {
48246
+ enumerable: true,
48247
+ configurable: true,
48248
+ writable: true,
48249
+ value: void 0
48250
+ });
48251
+ this.count = params.count;
48252
+ this.views = params.views;
48253
+ this.users = params.users;
48254
+ }
48255
+ }
48256
+ export class StoriesStoryViews extends TypeStoriesStoryViews {
48257
+ get [id]() {
48258
+ return 0xDE9EED1D;
48259
+ }
48260
+ static get [paramDesc]() {
48261
+ return [
48262
+ ["views", [TypeStoryViews], "Vector<StoryViews>"],
48263
+ ["users", [TypeUser], "Vector<User>"],
48264
+ ];
48265
+ }
48266
+ get [params]() {
48267
+ return [
48268
+ [this.views, [TypeStoryViews], "Vector<StoryViews>"],
48269
+ [this.users, [TypeUser], "Vector<User>"],
48270
+ ];
48271
+ }
48272
+ constructor(params) {
48273
+ super();
48274
+ Object.defineProperty(this, "views", {
48275
+ enumerable: true,
48276
+ configurable: true,
48277
+ writable: true,
48278
+ value: void 0
48279
+ });
48280
+ Object.defineProperty(this, "users", {
48281
+ enumerable: true,
48282
+ configurable: true,
48283
+ writable: true,
48284
+ value: void 0
48285
+ });
48286
+ this.views = params.views;
48287
+ this.users = params.users;
48288
+ }
48289
+ }
48290
+ export class InputReplyToMessage extends TypeInputReplyTo {
48291
+ get [id]() {
48292
+ return 0x9C5386E4;
48293
+ }
48294
+ static get [paramDesc]() {
48295
+ return [
48296
+ ["flags", flags, "#"],
48297
+ ["replyToMsgId", "number", "int"],
48298
+ ["topMsgId", "number", "flags.0?int"],
48299
+ ];
48300
+ }
48301
+ get [params]() {
48302
+ return [
48303
+ ["flags", flags, "#"],
48304
+ [this.replyToMsgId, "number", "int"],
48305
+ [this.topMsgId ?? null, "number", "flags.0?int"],
48306
+ ];
48307
+ }
48308
+ constructor(params) {
48309
+ super();
48310
+ Object.defineProperty(this, "replyToMsgId", {
48311
+ enumerable: true,
48312
+ configurable: true,
48313
+ writable: true,
48314
+ value: void 0
48315
+ });
48316
+ Object.defineProperty(this, "topMsgId", {
48317
+ enumerable: true,
48318
+ configurable: true,
48319
+ writable: true,
48320
+ value: void 0
48321
+ });
48322
+ this.replyToMsgId = params.replyToMsgId;
48323
+ this.topMsgId = params.topMsgId;
48324
+ }
48325
+ }
48326
+ export class InputReplyToStory extends TypeInputReplyTo {
48327
+ get [id]() {
48328
+ return 0x15B0F283;
48329
+ }
48330
+ static get [paramDesc]() {
48331
+ return [
48332
+ ["userId", TypeInputUser, "InputUser"],
48333
+ ["storyId", "number", "int"],
48334
+ ];
48335
+ }
48336
+ get [params]() {
48337
+ return [
48338
+ [this.userId, TypeInputUser, "InputUser"],
48339
+ [this.storyId, "number", "int"],
48340
+ ];
48341
+ }
48342
+ constructor(params) {
48343
+ super();
48344
+ Object.defineProperty(this, "userId", {
48345
+ enumerable: true,
48346
+ configurable: true,
48347
+ writable: true,
48348
+ value: void 0
48349
+ });
48350
+ Object.defineProperty(this, "storyId", {
48351
+ enumerable: true,
48352
+ configurable: true,
48353
+ writable: true,
48354
+ value: void 0
48355
+ });
48356
+ this.userId = params.userId;
48357
+ this.storyId = params.storyId;
48358
+ }
48359
+ }
48360
+ export class ExportedStoryLink extends TypeExportedStoryLink {
48361
+ get [id]() {
48362
+ return 0x3FC9053B;
48363
+ }
48364
+ static get [paramDesc]() {
48365
+ return [
48366
+ ["link", "string", "string"],
48367
+ ];
48368
+ }
48369
+ get [params]() {
48370
+ return [
48371
+ [this.link, "string", "string"],
48372
+ ];
48373
+ }
48374
+ constructor(params) {
48375
+ super();
48376
+ Object.defineProperty(this, "link", {
48377
+ enumerable: true,
48378
+ configurable: true,
48379
+ writable: true,
48380
+ value: void 0
48381
+ });
48382
+ this.link = params.link;
48383
+ }
48384
+ }
47073
48385
  export const map = new Map([
47074
48386
  [0x05162463, ResPQ],
47075
48387
  [0xA9F55F95, PQInnerDataDC],
@@ -47137,6 +48449,7 @@ export const map = new Map([
47137
48449
  [0x971FA843, InputMediaGeoLive],
47138
48450
  [0x0F94E5F1, InputMediaPoll],
47139
48451
  [0xE66FBF7B, InputMediaDice],
48452
+ [0x9A86B58F, InputMediaStory],
47140
48453
  [0x1CA48F57, InputChatPhotoEmpty],
47141
48454
  [0xBDCDAEC0, InputChatUploadedPhoto],
47142
48455
  [0x8953AD37, InputChatPhoto],
@@ -47168,7 +48481,7 @@ export const map = new Map([
47168
48481
  [0xB3CEA0E4, StorageFileMp4],
47169
48482
  [0x1081464C, StorageFileWebp],
47170
48483
  [0xD3BC4B7A, UserEmpty],
47171
- [0x8F97C628, User],
48484
+ [0xABB5F120, User],
47172
48485
  [0x4F11BAE1, UserProfilePhotoEmpty],
47173
48486
  [0x82D1F706, UserProfilePhoto],
47174
48487
  [0x09D05049, UserStatusEmpty],
@@ -47199,7 +48512,7 @@ export const map = new Map([
47199
48512
  [0x56E0D474, MessageMediaGeo],
47200
48513
  [0x70322949, MessageMediaContact],
47201
48514
  [0x9F84F49E, MessageMediaUnsupported],
47202
- [0x9CB070D7, MessageMediaDocument],
48515
+ [0x4CF4D72D, MessageMediaDocument],
47203
48516
  [0xA32DD600, MessageMediaWebPage],
47204
48517
  [0x2EC0533F, MessageMediaVenue],
47205
48518
  [0xFDB19008, MessageMediaGame],
@@ -47207,6 +48520,7 @@ export const map = new Map([
47207
48520
  [0xB940C666, MessageMediaGeoLive],
47208
48521
  [0x4BD6E798, MessageMediaPoll],
47209
48522
  [0x3F7EE58B, MessageMediaDice],
48523
+ [0xCBB20D88, MessageMediaStory],
47210
48524
  [0xB6AEF7B0, MessageActionEmpty],
47211
48525
  [0xBD47CBAD, MessageActionChatCreate],
47212
48526
  [0xB5A1CE5A, MessageActionChatEditTitle],
@@ -47268,8 +48582,8 @@ export const map = new Map([
47268
48582
  [0x4A95E84E, InputNotifyChats],
47269
48583
  [0xB1DB7C7E, InputNotifyBroadcasts],
47270
48584
  [0x5C467992, InputNotifyForumTopic],
47271
- [0xDF1F002B, InputPeerNotifySettings],
47272
- [0xA83B0426, PeerNotifySettings],
48585
+ [0xCACB6AE2, InputPeerNotifySettings],
48586
+ [0x99622C0C, PeerNotifySettings],
47273
48587
  [0xA518110D, PeerSettings],
47274
48588
  [0xA437C3ED, WallPaper],
47275
48589
  [0xE0804116, WallPaperNoFile],
@@ -47283,7 +48597,7 @@ export const map = new Map([
47283
48597
  [0xF5DDD6E7, InputReportReasonFake],
47284
48598
  [0x0A8EB2BE, InputReportReasonIllegalDrugs],
47285
48599
  [0x9EC7863D, InputReportReasonPersonalDetails],
47286
- [0x93EADB53, UserFull],
48600
+ [0x4FE1CC86, UserFull],
47287
48601
  [0x145ADE0B, Contact],
47288
48602
  [0xC13E3C50, ImportedContact],
47289
48603
  [0x16D9703B, ContactStatus],
@@ -47391,7 +48705,7 @@ export const map = new Map([
47391
48705
  [0x8216FBA3, UpdateTheme],
47392
48706
  [0x871FB939, UpdateGeoLiveViewed],
47393
48707
  [0x564FE691, UpdateLoginToken],
47394
- [0x106395C9, UpdateMessagePollVote],
48708
+ [0x24F40E77, UpdateMessagePollVote],
47395
48709
  [0x26FFDE7D, UpdateDialogFilter],
47396
48710
  [0xA5D72105, UpdateDialogFilterOrder],
47397
48711
  [0x3504914F, UpdateDialogFilters],
@@ -47431,6 +48745,9 @@ export const map = new Map([
47431
48745
  [0x20529438, UpdateUser],
47432
48746
  [0xEC05B097, UpdateAutoSaveSettings],
47433
48747
  [0xCCF08AD6, UpdateGroupInvitePrivacyForbidden],
48748
+ [0x205A4133, UpdateStory],
48749
+ [0xFEB5345A, UpdateReadStories],
48750
+ [0x1BF335B9, UpdateStoryID],
47434
48751
  [0xA56C2A3E, UpdatesState],
47435
48752
  [0x5D75A138, UpdatesDifferenceEmpty],
47436
48753
  [0x00F49CA0, UpdatesDifference],
@@ -47510,6 +48827,7 @@ export const map = new Map([
47510
48827
  [0x0352DAFA, InputPrivacyKeyPhoneNumber],
47511
48828
  [0xD1219BDD, InputPrivacyKeyAddedByPhone],
47512
48829
  [0xAEE69D68, InputPrivacyKeyVoiceMessages],
48830
+ [0x3823CC40, InputPrivacyKeyAbout],
47513
48831
  [0xBC2EAB30, PrivacyKeyStatusTimestamp],
47514
48832
  [0x500E6DFA, PrivacyKeyChatInvite],
47515
48833
  [0x3D662B7B, PrivacyKeyPhoneCall],
@@ -47519,6 +48837,7 @@ export const map = new Map([
47519
48837
  [0xD19AE46D, PrivacyKeyPhoneNumber],
47520
48838
  [0x42FFD42B, PrivacyKeyAddedByPhone],
47521
48839
  [0x0697F414, PrivacyKeyVoiceMessages],
48840
+ [0xA486B761, PrivacyKeyAbout],
47522
48841
  [0x0D09E07B, InputPrivacyValueAllowContacts],
47523
48842
  [0x184B35CE, InputPrivacyValueAllowAll],
47524
48843
  [0x131CC67F, InputPrivacyValueAllowUsers],
@@ -47527,6 +48846,7 @@ export const map = new Map([
47527
48846
  [0x90110467, InputPrivacyValueDisallowUsers],
47528
48847
  [0x840649CF, InputPrivacyValueAllowChatParticipants],
47529
48848
  [0xE94F0F86, InputPrivacyValueDisallowChatParticipants],
48849
+ [0x2F453E49, InputPrivacyValueAllowCloseFriends],
47530
48850
  [0xFFFE1BAC, PrivacyValueAllowContacts],
47531
48851
  [0x65427B82, PrivacyValueAllowAll],
47532
48852
  [0xB8905FB2, PrivacyValueAllowUsers],
@@ -47535,12 +48855,13 @@ export const map = new Map([
47535
48855
  [0xE4621141, PrivacyValueDisallowUsers],
47536
48856
  [0x6B134E8E, PrivacyValueAllowChatParticipants],
47537
48857
  [0x41C87565, PrivacyValueDisallowChatParticipants],
48858
+ [0xF7E8D89B, PrivacyValueAllowCloseFriends],
47538
48859
  [0x50A04E45, AccountPrivacyRules],
47539
48860
  [0xB8D0AFDF, AccountDaysTTL],
47540
48861
  [0x6C37C15C, DocumentAttributeImageSize],
47541
48862
  [0x11B58939, DocumentAttributeAnimated],
47542
48863
  [0x6319D612, DocumentAttributeSticker],
47543
- [0x0EF02CE6, DocumentAttributeVideo],
48864
+ [0xD38FF1C2, DocumentAttributeVideo],
47544
48865
  [0x9852F9C6, DocumentAttributeAudio],
47545
48866
  [0x15590068, DocumentAttributeFilename],
47546
48867
  [0x9801D2F7, DocumentAttributeHasStickers],
@@ -47972,7 +49293,7 @@ export const map = new Map([
47972
49293
  [0x6CA9C2E9, PollAnswer],
47973
49294
  [0x86E18161, Poll],
47974
49295
  [0x3B6DDAD2, PollAnswerVoters],
47975
- [0xDCB82EA3, PollResults],
49296
+ [0x7ADF2420, PollResults],
47976
49297
  [0xF041E250, ChatOnlines],
47977
49298
  [0x47A971E0, StatsURL],
47978
49299
  [0x5FB224D5, ChatAdminRights],
@@ -47984,7 +49305,7 @@ export const map = new Map([
47984
49305
  [0xCDC3858C, AccountWallPapers],
47985
49306
  [0xAD253D78, CodeSettings],
47986
49307
  [0x1DC1BCA4, WallPaperSettings],
47987
- [0x8EFAB953, AutoDownloadSettings],
49308
+ [0xBAA57628, AutoDownloadSettings],
47988
49309
  [0x63CACF26, AccountAutoDownloadSettings],
47989
49310
  [0xD5B3B9F9, EmojiKeyword],
47990
49311
  [0x236DF622, EmojiKeywordDeleted],
@@ -48021,10 +49342,8 @@ export const map = new Map([
48021
49342
  [0x8FDE504F, InputThemeSettings],
48022
49343
  [0xFA58B6D4, ThemeSettings],
48023
49344
  [0x54B56617, WebPageAttributeTheme],
48024
- [0x34D247B4, MessageUserVote],
48025
- [0x3CA5B0EC, MessageUserVoteInputOption],
48026
- [0x8A65E557, MessageUserVoteMultiple],
48027
- [0x0823F649, MessagesVotesList],
49345
+ [0x939A4671, WebPageAttributeStory],
49346
+ [0x4899484E, MessagesVotesList],
48028
49347
  [0xF568028A, BankCardOpenURL],
48029
49348
  [0x3E24E573, PaymentsBankCardData],
48030
49349
  [0x7438F7E8, DialogFilter],
@@ -48048,7 +49367,7 @@ export const map = new Map([
48048
49367
  [0xD7584C87, StatsGroupTopAdmin],
48049
49368
  [0x535F779D, StatsGroupTopInviter],
48050
49369
  [0xEF7FF916, StatsMegagroupStats],
48051
- [0xBEA2F424, GlobalPrivacySettings],
49370
+ [0x734C4CCB, GlobalPrivacySettings],
48052
49371
  [0x4203C5EF, HelpCountryCode],
48053
49372
  [0xC3878E23, HelpCountry],
48054
49373
  [0x93CC1F32, HelpCountriesListNotModified],
@@ -48057,6 +49376,7 @@ export const map = new Map([
48057
49376
  [0xB6C4F543, MessagesMessageViews],
48058
49377
  [0xA6341782, MessagesDiscussionMessage],
48059
49378
  [0xA6D57763, MessageReplyHeader],
49379
+ [0x9C98BFC1, MessageReplyStoryHeader],
48060
49380
  [0x83D60FC2, MessageReplies],
48061
49381
  [0xE8FD8014, PeerBlocked],
48062
49382
  [0x8999F295, StatsMessageStats],
@@ -48098,7 +49418,7 @@ export const map = new Map([
48098
49418
  [0xE3779861, AccountResetPasswordFailedWait],
48099
49419
  [0xE9EFFC7D, AccountResetPasswordRequestedWait],
48100
49420
  [0xE926D63E, AccountResetPasswordOk],
48101
- [0xFC25B828, SponsoredMessage],
49421
+ [0xDAAFFF6B, SponsoredMessage],
48102
49422
  [0xC9EE1D87, MessagesSponsoredMessages],
48103
49423
  [0x1839490F, MessagesSponsoredMessagesEmpty],
48104
49424
  [0xC9B0539F, SearchResultsCalendarPeriod],
@@ -48216,5 +49536,24 @@ export const map = new Map([
48216
49536
  [0x1DCD839D, ChatlistsChatlistInvite],
48217
49537
  [0x93BD878D, ChatlistsChatlistUpdates],
48218
49538
  [0xE8A775B0, BotsBotInfo],
49539
+ [0xB6CC2D5C, MessagePeerVote],
49540
+ [0x74CDA504, MessagePeerVoteInputOption],
49541
+ [0x4628F6E6, MessagePeerVoteMultiple],
49542
+ [0x3DB8EC63, SponsoredWebPage],
49543
+ [0xD36760CF, StoryViews],
49544
+ [0x51E6EE4F, StoryItemDeleted],
49545
+ [0xFFADC913, StoryItemSkipped],
49546
+ [0x562AA637, StoryItem],
49547
+ [0x8611A200, UserStories],
49548
+ [0x47E0A07E, StoriesAllStoriesNotModified],
49549
+ [0x839E0428, StoriesAllStories],
49550
+ [0x4FE57DF1, StoriesStories],
49551
+ [0x37A6FF5F, StoriesUserStories],
49552
+ [0xA71AACC2, StoryView],
49553
+ [0xFB3F77AC, StoriesStoryViewsList],
49554
+ [0xDE9EED1D, StoriesStoryViews],
49555
+ [0x9C5386E4, InputReplyToMessage],
49556
+ [0x15B0F283, InputReplyToStory],
49557
+ [0x3FC9053B, ExportedStoryLink],
48219
49558
  // deno-lint-ignore no-explicit-any
48220
49559
  ]);