@mtkruto/node 0.0.967 → 0.0.969

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 (47) hide show
  1. package/esm/client/1_client_abstract.js +3 -3
  2. package/esm/client/2_client_plain.d.ts +3 -0
  3. package/esm/client/2_client_plain.js +11 -5
  4. package/esm/client/3_client.d.ts +6 -3
  5. package/esm/client/3_client.js +19 -15
  6. package/esm/connection/0_connection.d.ts +11 -2
  7. package/esm/connection/0_connection.js +23 -1
  8. package/esm/connection/1_connection_http.d.ts +16 -0
  9. package/esm/connection/1_connection_http.js +91 -0
  10. package/esm/connection/1_connection_web_socket.d.ts +2 -2
  11. package/esm/connection/1_connection_web_socket.js +3 -2
  12. package/esm/constants.d.ts +11 -10
  13. package/esm/constants.js +10 -18
  14. package/esm/mod.d.ts +1 -1
  15. package/esm/mod.js +1 -1
  16. package/esm/tl/2_types.d.ts +437 -40
  17. package/esm/tl/2_types.js +1470 -130
  18. package/esm/tl/3_functions.d.ts +274 -36
  19. package/esm/tl/3_functions.js +871 -116
  20. package/esm/transport/1_transport_piped.d.ts +10 -0
  21. package/esm/transport/1_transport_piped.js +23 -0
  22. package/esm/transport/2_transport_provider.d.ts +8 -2
  23. package/esm/transport/2_transport_provider.js +40 -2
  24. package/package.json +1 -1
  25. package/script/client/1_client_abstract.js +1 -1
  26. package/script/client/2_client_plain.d.ts +3 -0
  27. package/script/client/2_client_plain.js +10 -4
  28. package/script/client/3_client.d.ts +6 -3
  29. package/script/client/3_client.js +18 -14
  30. package/script/connection/0_connection.d.ts +11 -2
  31. package/script/connection/0_connection.js +26 -3
  32. package/script/connection/1_connection_http.d.ts +16 -0
  33. package/script/connection/1_connection_http.js +95 -0
  34. package/script/connection/1_connection_web_socket.d.ts +2 -2
  35. package/script/connection/1_connection_web_socket.js +3 -2
  36. package/script/constants.d.ts +11 -10
  37. package/script/constants.js +11 -19
  38. package/script/mod.d.ts +1 -1
  39. package/script/mod.js +8 -8
  40. package/script/tl/2_types.d.ts +437 -40
  41. package/script/tl/2_types.js +1540 -160
  42. package/script/tl/3_functions.d.ts +274 -36
  43. package/script/tl/3_functions.js +901 -125
  44. package/script/transport/1_transport_piped.d.ts +10 -0
  45. package/script/transport/1_transport_piped.js +27 -0
  46. package/script/transport/2_transport_provider.d.ts +8 -2
  47. package/script/transport/2_transport_provider.js +43 -4
package/esm/tl/2_types.js CHANGED
@@ -1,7 +1,8 @@
1
- import { flags, id, paramDesc, params, TLObject } from "./1_tl_object.js";
1
+ // deno-fmt-ignore-file
2
+ import { id, params, TLObject, paramDesc, flags } from "./1_tl_object.js";
2
3
  export class Type extends TLObject {
3
4
  }
4
- // Uknown type
5
+ // Unknown type (generic)
5
6
  export class TypeX extends Type {
6
7
  }
7
8
  export class TypeResPQ extends Type {
@@ -588,8 +589,6 @@ export class TypeThemeSettings extends Type {
588
589
  }
589
590
  export class TypeWebPageAttribute extends Type {
590
591
  }
591
- export class TypeMessageUserVote extends Type {
592
- }
593
592
  export class TypeMessagesVotesList extends Type {
594
593
  }
595
594
  export class TypeBankCardOpenURL extends Type {
@@ -850,6 +849,32 @@ export class TypeChatlistsChatlistUpdates extends Type {
850
849
  }
851
850
  export class TypeBotsBotInfo extends Type {
852
851
  }
852
+ export class TypeMessagePeerVote extends Type {
853
+ }
854
+ export class TypeSponsoredWebPage extends Type {
855
+ }
856
+ export class TypeStoryViews extends Type {
857
+ }
858
+ export class TypeStoryItem extends Type {
859
+ }
860
+ export class TypeUserStories extends Type {
861
+ }
862
+ export class TypeStoriesAllStories extends Type {
863
+ }
864
+ export class TypeStoriesStories extends Type {
865
+ }
866
+ export class TypeStoriesUserStories extends Type {
867
+ }
868
+ export class TypeStoryView extends Type {
869
+ }
870
+ export class TypeStoriesStoryViewsList extends Type {
871
+ }
872
+ export class TypeStoriesStoryViews extends Type {
873
+ }
874
+ export class TypeInputReplyTo extends Type {
875
+ }
876
+ export class TypeExportedStoryLink extends Type {
877
+ }
853
878
  export class ResPQ extends TypeResPQ {
854
879
  get [id]() {
855
880
  return 0x05162463;
@@ -3475,6 +3500,40 @@ export class InputMediaDice extends TypeInputMedia {
3475
3500
  this.emoticon = params.emoticon;
3476
3501
  }
3477
3502
  }
3503
+ export class InputMediaStory extends TypeInputMedia {
3504
+ get [id]() {
3505
+ return 0x9A86B58F;
3506
+ }
3507
+ static get [paramDesc]() {
3508
+ return [
3509
+ ["userId", TypeInputUser, "InputUser"],
3510
+ ["id", "number", "int"],
3511
+ ];
3512
+ }
3513
+ get [params]() {
3514
+ return [
3515
+ [this.userId, TypeInputUser, "InputUser"],
3516
+ [this.id, "number", "int"],
3517
+ ];
3518
+ }
3519
+ constructor(params) {
3520
+ super();
3521
+ Object.defineProperty(this, "userId", {
3522
+ enumerable: true,
3523
+ configurable: true,
3524
+ writable: true,
3525
+ value: void 0
3526
+ });
3527
+ Object.defineProperty(this, "id", {
3528
+ enumerable: true,
3529
+ configurable: true,
3530
+ writable: true,
3531
+ value: void 0
3532
+ });
3533
+ this.userId = params.userId;
3534
+ this.id = params.id;
3535
+ }
3536
+ }
3478
3537
  export class InputChatPhotoEmpty extends TypeInputChatPhoto {
3479
3538
  get [id]() {
3480
3539
  return 0x1CA48F57;
@@ -4376,7 +4435,7 @@ export class UserEmpty extends TypeUser {
4376
4435
  }
4377
4436
  export class User extends TypeUser {
4378
4437
  get [id]() {
4379
- return 0x8F97C628;
4438
+ return 0xABB5F120;
4380
4439
  }
4381
4440
  static get [paramDesc]() {
4382
4441
  return [
@@ -4401,6 +4460,9 @@ export class User extends TypeUser {
4401
4460
  ["attachMenuEnabled", "true", "flags.29?true"],
4402
4461
  ["flags2", flags, "#"],
4403
4462
  ["botCanEdit", "true", "flags2.1?true"],
4463
+ ["closeFriend", "true", "flags2.2?true"],
4464
+ ["storiesHidden", "true", "flags2.3?true"],
4465
+ ["storiesUnavailable", "true", "flags2.4?true"],
4404
4466
  ["id", "bigint", "long"],
4405
4467
  ["accessHash", "bigint", "flags.0?long"],
4406
4468
  ["firstName", "string", "flags.1?string"],
@@ -4415,6 +4477,7 @@ export class User extends TypeUser {
4415
4477
  ["langCode", "string", "flags.22?string"],
4416
4478
  ["emojiStatus", TypeEmojiStatus, "flags.30?EmojiStatus"],
4417
4479
  ["usernames", [TypeUsername], "flags2.0?Vector<Username>"],
4480
+ ["storiesMaxId", "number", "flags2.5?int"],
4418
4481
  ];
4419
4482
  }
4420
4483
  get [params]() {
@@ -4440,6 +4503,9 @@ export class User extends TypeUser {
4440
4503
  [this.attachMenuEnabled ?? null, "true", "flags.29?true"],
4441
4504
  ["flags2", flags, "#"],
4442
4505
  [this.botCanEdit ?? null, "true", "flags2.1?true"],
4506
+ [this.closeFriend ?? null, "true", "flags2.2?true"],
4507
+ [this.storiesHidden ?? null, "true", "flags2.3?true"],
4508
+ [this.storiesUnavailable ?? null, "true", "flags2.4?true"],
4443
4509
  [this.id, "bigint", "long"],
4444
4510
  [this.accessHash ?? null, "bigint", "flags.0?long"],
4445
4511
  [this.firstName ?? null, "string", "flags.1?string"],
@@ -4454,6 +4520,7 @@ export class User extends TypeUser {
4454
4520
  [this.langCode ?? null, "string", "flags.22?string"],
4455
4521
  [this.emojiStatus ?? null, TypeEmojiStatus, "flags.30?EmojiStatus"],
4456
4522
  [this.usernames ?? null, [TypeUsername], "flags2.0?Vector<Username>"],
4523
+ [this.storiesMaxId ?? null, "number", "flags2.5?int"],
4457
4524
  ];
4458
4525
  }
4459
4526
  constructor(params) {
@@ -4572,6 +4639,24 @@ export class User extends TypeUser {
4572
4639
  writable: true,
4573
4640
  value: void 0
4574
4641
  });
4642
+ Object.defineProperty(this, "closeFriend", {
4643
+ enumerable: true,
4644
+ configurable: true,
4645
+ writable: true,
4646
+ value: void 0
4647
+ });
4648
+ Object.defineProperty(this, "storiesHidden", {
4649
+ enumerable: true,
4650
+ configurable: true,
4651
+ writable: true,
4652
+ value: void 0
4653
+ });
4654
+ Object.defineProperty(this, "storiesUnavailable", {
4655
+ enumerable: true,
4656
+ configurable: true,
4657
+ writable: true,
4658
+ value: void 0
4659
+ });
4575
4660
  Object.defineProperty(this, "id", {
4576
4661
  enumerable: true,
4577
4662
  configurable: true,
@@ -4656,6 +4741,12 @@ export class User extends TypeUser {
4656
4741
  writable: true,
4657
4742
  value: void 0
4658
4743
  });
4744
+ Object.defineProperty(this, "storiesMaxId", {
4745
+ enumerable: true,
4746
+ configurable: true,
4747
+ writable: true,
4748
+ value: void 0
4749
+ });
4659
4750
  this.self = params.self;
4660
4751
  this.contact = params.contact;
4661
4752
  this.mutualContact = params.mutualContact;
@@ -4675,6 +4766,9 @@ export class User extends TypeUser {
4675
4766
  this.premium = params.premium;
4676
4767
  this.attachMenuEnabled = params.attachMenuEnabled;
4677
4768
  this.botCanEdit = params.botCanEdit;
4769
+ this.closeFriend = params.closeFriend;
4770
+ this.storiesHidden = params.storiesHidden;
4771
+ this.storiesUnavailable = params.storiesUnavailable;
4678
4772
  this.id = params.id;
4679
4773
  this.accessHash = params.accessHash;
4680
4774
  this.firstName = params.firstName;
@@ -4689,6 +4783,7 @@ export class User extends TypeUser {
4689
4783
  this.langCode = params.langCode;
4690
4784
  this.emojiStatus = params.emojiStatus;
4691
4785
  this.usernames = params.usernames;
4786
+ this.storiesMaxId = params.storiesMaxId;
4692
4787
  }
4693
4788
  }
4694
4789
  export class UserProfilePhotoEmpty extends TypeUserProfilePhoto {
@@ -6976,7 +7071,7 @@ export class MessageMediaUnsupported extends TypeMessageMedia {
6976
7071
  }
6977
7072
  export class MessageMediaDocument extends TypeMessageMedia {
6978
7073
  get [id]() {
6979
- return 0x9CB070D7;
7074
+ return 0x4CF4D72D;
6980
7075
  }
6981
7076
  static get [paramDesc]() {
6982
7077
  return [
@@ -6984,6 +7079,7 @@ export class MessageMediaDocument extends TypeMessageMedia {
6984
7079
  ["nopremium", "true", "flags.3?true"],
6985
7080
  ["spoiler", "true", "flags.4?true"],
6986
7081
  ["document", TypeDocument, "flags.0?Document"],
7082
+ ["altDocument", TypeDocument, "flags.5?Document"],
6987
7083
  ["ttlSeconds", "number", "flags.2?int"],
6988
7084
  ];
6989
7085
  }
@@ -6993,6 +7089,7 @@ export class MessageMediaDocument extends TypeMessageMedia {
6993
7089
  [this.nopremium ?? null, "true", "flags.3?true"],
6994
7090
  [this.spoiler ?? null, "true", "flags.4?true"],
6995
7091
  [this.document ?? null, TypeDocument, "flags.0?Document"],
7092
+ [this.altDocument ?? null, TypeDocument, "flags.5?Document"],
6996
7093
  [this.ttlSeconds ?? null, "number", "flags.2?int"],
6997
7094
  ];
6998
7095
  }
@@ -7016,6 +7113,12 @@ export class MessageMediaDocument extends TypeMessageMedia {
7016
7113
  writable: true,
7017
7114
  value: void 0
7018
7115
  });
7116
+ Object.defineProperty(this, "altDocument", {
7117
+ enumerable: true,
7118
+ configurable: true,
7119
+ writable: true,
7120
+ value: void 0
7121
+ });
7019
7122
  Object.defineProperty(this, "ttlSeconds", {
7020
7123
  enumerable: true,
7021
7124
  configurable: true,
@@ -7025,6 +7128,7 @@ export class MessageMediaDocument extends TypeMessageMedia {
7025
7128
  this.nopremium = params?.nopremium;
7026
7129
  this.spoiler = params?.spoiler;
7027
7130
  this.document = params?.document;
7131
+ this.altDocument = params?.altDocument;
7028
7132
  this.ttlSeconds = params?.ttlSeconds;
7029
7133
  }
7030
7134
  }
@@ -7378,6 +7482,60 @@ export class MessageMediaDice extends TypeMessageMedia {
7378
7482
  this.emoticon = params.emoticon;
7379
7483
  }
7380
7484
  }
7485
+ export class MessageMediaStory extends TypeMessageMedia {
7486
+ get [id]() {
7487
+ return 0xCBB20D88;
7488
+ }
7489
+ static get [paramDesc]() {
7490
+ return [
7491
+ ["flags", flags, "#"],
7492
+ ["viaMention", "true", "flags.1?true"],
7493
+ ["userId", "bigint", "long"],
7494
+ ["id", "number", "int"],
7495
+ ["story", TypeStoryItem, "flags.0?StoryItem"],
7496
+ ];
7497
+ }
7498
+ get [params]() {
7499
+ return [
7500
+ ["flags", flags, "#"],
7501
+ [this.viaMention ?? null, "true", "flags.1?true"],
7502
+ [this.userId, "bigint", "long"],
7503
+ [this.id, "number", "int"],
7504
+ [this.story ?? null, TypeStoryItem, "flags.0?StoryItem"],
7505
+ ];
7506
+ }
7507
+ constructor(params) {
7508
+ super();
7509
+ Object.defineProperty(this, "viaMention", {
7510
+ enumerable: true,
7511
+ configurable: true,
7512
+ writable: true,
7513
+ value: void 0
7514
+ });
7515
+ Object.defineProperty(this, "userId", {
7516
+ enumerable: true,
7517
+ configurable: true,
7518
+ writable: true,
7519
+ value: void 0
7520
+ });
7521
+ Object.defineProperty(this, "id", {
7522
+ enumerable: true,
7523
+ configurable: true,
7524
+ writable: true,
7525
+ value: void 0
7526
+ });
7527
+ Object.defineProperty(this, "story", {
7528
+ enumerable: true,
7529
+ configurable: true,
7530
+ writable: true,
7531
+ value: void 0
7532
+ });
7533
+ this.viaMention = params.viaMention;
7534
+ this.userId = params.userId;
7535
+ this.id = params.id;
7536
+ this.story = params.story;
7537
+ }
7538
+ }
7381
7539
  export class MessageActionEmpty extends TypeMessageAction {
7382
7540
  get [id]() {
7383
7541
  return 0xB6AEF7B0;
@@ -9599,7 +9757,7 @@ export class InputNotifyForumTopic extends TypeInputNotifyPeer {
9599
9757
  }
9600
9758
  export class InputPeerNotifySettings extends TypeInputPeerNotifySettings {
9601
9759
  get [id]() {
9602
- return 0xDF1F002B;
9760
+ return 0xCACB6AE2;
9603
9761
  }
9604
9762
  static get [paramDesc]() {
9605
9763
  return [
@@ -9608,6 +9766,9 @@ export class InputPeerNotifySettings extends TypeInputPeerNotifySettings {
9608
9766
  ["silent", "boolean", "flags.1?Bool"],
9609
9767
  ["muteUntil", "number", "flags.2?int"],
9610
9768
  ["sound", TypeNotificationSound, "flags.3?NotificationSound"],
9769
+ ["storiesMuted", "boolean", "flags.6?Bool"],
9770
+ ["storiesHideSender", "boolean", "flags.7?Bool"],
9771
+ ["storiesSound", TypeNotificationSound, "flags.8?NotificationSound"],
9611
9772
  ];
9612
9773
  }
9613
9774
  get [params]() {
@@ -9617,6 +9778,9 @@ export class InputPeerNotifySettings extends TypeInputPeerNotifySettings {
9617
9778
  [this.silent ?? null, "boolean", "flags.1?Bool"],
9618
9779
  [this.muteUntil ?? null, "number", "flags.2?int"],
9619
9780
  [this.sound ?? null, TypeNotificationSound, "flags.3?NotificationSound"],
9781
+ [this.storiesMuted ?? null, "boolean", "flags.6?Bool"],
9782
+ [this.storiesHideSender ?? null, "boolean", "flags.7?Bool"],
9783
+ [this.storiesSound ?? null, TypeNotificationSound, "flags.8?NotificationSound"],
9620
9784
  ];
9621
9785
  }
9622
9786
  constructor(params) {
@@ -9645,15 +9809,36 @@ export class InputPeerNotifySettings extends TypeInputPeerNotifySettings {
9645
9809
  writable: true,
9646
9810
  value: void 0
9647
9811
  });
9812
+ Object.defineProperty(this, "storiesMuted", {
9813
+ enumerable: true,
9814
+ configurable: true,
9815
+ writable: true,
9816
+ value: void 0
9817
+ });
9818
+ Object.defineProperty(this, "storiesHideSender", {
9819
+ enumerable: true,
9820
+ configurable: true,
9821
+ writable: true,
9822
+ value: void 0
9823
+ });
9824
+ Object.defineProperty(this, "storiesSound", {
9825
+ enumerable: true,
9826
+ configurable: true,
9827
+ writable: true,
9828
+ value: void 0
9829
+ });
9648
9830
  this.showPreviews = params?.showPreviews;
9649
9831
  this.silent = params?.silent;
9650
9832
  this.muteUntil = params?.muteUntil;
9651
9833
  this.sound = params?.sound;
9834
+ this.storiesMuted = params?.storiesMuted;
9835
+ this.storiesHideSender = params?.storiesHideSender;
9836
+ this.storiesSound = params?.storiesSound;
9652
9837
  }
9653
9838
  }
9654
9839
  export class PeerNotifySettings extends TypePeerNotifySettings {
9655
9840
  get [id]() {
9656
- return 0xA83B0426;
9841
+ return 0x99622C0C;
9657
9842
  }
9658
9843
  static get [paramDesc]() {
9659
9844
  return [
@@ -9664,6 +9849,11 @@ export class PeerNotifySettings extends TypePeerNotifySettings {
9664
9849
  ["iosSound", TypeNotificationSound, "flags.3?NotificationSound"],
9665
9850
  ["androidSound", TypeNotificationSound, "flags.4?NotificationSound"],
9666
9851
  ["otherSound", TypeNotificationSound, "flags.5?NotificationSound"],
9852
+ ["storiesMuted", "boolean", "flags.6?Bool"],
9853
+ ["storiesHideSender", "boolean", "flags.7?Bool"],
9854
+ ["storiesIosSound", TypeNotificationSound, "flags.8?NotificationSound"],
9855
+ ["storiesAndroidSound", TypeNotificationSound, "flags.9?NotificationSound"],
9856
+ ["storiesOtherSound", TypeNotificationSound, "flags.10?NotificationSound"],
9667
9857
  ];
9668
9858
  }
9669
9859
  get [params]() {
@@ -9675,6 +9865,11 @@ export class PeerNotifySettings extends TypePeerNotifySettings {
9675
9865
  [this.iosSound ?? null, TypeNotificationSound, "flags.3?NotificationSound"],
9676
9866
  [this.androidSound ?? null, TypeNotificationSound, "flags.4?NotificationSound"],
9677
9867
  [this.otherSound ?? null, TypeNotificationSound, "flags.5?NotificationSound"],
9868
+ [this.storiesMuted ?? null, "boolean", "flags.6?Bool"],
9869
+ [this.storiesHideSender ?? null, "boolean", "flags.7?Bool"],
9870
+ [this.storiesIosSound ?? null, TypeNotificationSound, "flags.8?NotificationSound"],
9871
+ [this.storiesAndroidSound ?? null, TypeNotificationSound, "flags.9?NotificationSound"],
9872
+ [this.storiesOtherSound ?? null, TypeNotificationSound, "flags.10?NotificationSound"],
9678
9873
  ];
9679
9874
  }
9680
9875
  constructor(params) {
@@ -9715,12 +9910,47 @@ export class PeerNotifySettings extends TypePeerNotifySettings {
9715
9910
  writable: true,
9716
9911
  value: void 0
9717
9912
  });
9913
+ Object.defineProperty(this, "storiesMuted", {
9914
+ enumerable: true,
9915
+ configurable: true,
9916
+ writable: true,
9917
+ value: void 0
9918
+ });
9919
+ Object.defineProperty(this, "storiesHideSender", {
9920
+ enumerable: true,
9921
+ configurable: true,
9922
+ writable: true,
9923
+ value: void 0
9924
+ });
9925
+ Object.defineProperty(this, "storiesIosSound", {
9926
+ enumerable: true,
9927
+ configurable: true,
9928
+ writable: true,
9929
+ value: void 0
9930
+ });
9931
+ Object.defineProperty(this, "storiesAndroidSound", {
9932
+ enumerable: true,
9933
+ configurable: true,
9934
+ writable: true,
9935
+ value: void 0
9936
+ });
9937
+ Object.defineProperty(this, "storiesOtherSound", {
9938
+ enumerable: true,
9939
+ configurable: true,
9940
+ writable: true,
9941
+ value: void 0
9942
+ });
9718
9943
  this.showPreviews = params?.showPreviews;
9719
9944
  this.silent = params?.silent;
9720
9945
  this.muteUntil = params?.muteUntil;
9721
9946
  this.iosSound = params?.iosSound;
9722
9947
  this.androidSound = params?.androidSound;
9723
9948
  this.otherSound = params?.otherSound;
9949
+ this.storiesMuted = params?.storiesMuted;
9950
+ this.storiesHideSender = params?.storiesHideSender;
9951
+ this.storiesIosSound = params?.storiesIosSound;
9952
+ this.storiesAndroidSound = params?.storiesAndroidSound;
9953
+ this.storiesOtherSound = params?.storiesOtherSound;
9724
9954
  }
9725
9955
  }
9726
9956
  export class PeerSettings extends TypePeerSettings {
@@ -10144,7 +10374,7 @@ export class InputReportReasonPersonalDetails extends TypeReportReason {
10144
10374
  }
10145
10375
  export class UserFull extends TypeUserFull {
10146
10376
  get [id]() {
10147
- return 0x93EADB53;
10377
+ return 0x4FE1CC86;
10148
10378
  }
10149
10379
  static get [paramDesc]() {
10150
10380
  return [
@@ -10157,6 +10387,7 @@ export class UserFull extends TypeUserFull {
10157
10387
  ["videoCallsAvailable", "true", "flags.13?true"],
10158
10388
  ["voiceMessagesForbidden", "true", "flags.20?true"],
10159
10389
  ["translationsDisabled", "true", "flags.23?true"],
10390
+ ["storiesPinnedAvailable", "true", "flags.26?true"],
10160
10391
  ["id", "bigint", "long"],
10161
10392
  ["about", "string", "flags.1?string"],
10162
10393
  ["settings", TypePeerSettings, "PeerSettings"],
@@ -10175,6 +10406,7 @@ export class UserFull extends TypeUserFull {
10175
10406
  ["botBroadcastAdminRights", TypeChatAdminRights, "flags.18?ChatAdminRights"],
10176
10407
  ["premiumGifts", [TypePremiumGiftOption], "flags.19?Vector<PremiumGiftOption>"],
10177
10408
  ["wallpaper", TypeWallPaper, "flags.24?WallPaper"],
10409
+ ["stories", TypeUserStories, "flags.25?UserStories"],
10178
10410
  ];
10179
10411
  }
10180
10412
  get [params]() {
@@ -10188,6 +10420,7 @@ export class UserFull extends TypeUserFull {
10188
10420
  [this.videoCallsAvailable ?? null, "true", "flags.13?true"],
10189
10421
  [this.voiceMessagesForbidden ?? null, "true", "flags.20?true"],
10190
10422
  [this.translationsDisabled ?? null, "true", "flags.23?true"],
10423
+ [this.storiesPinnedAvailable ?? null, "true", "flags.26?true"],
10191
10424
  [this.id, "bigint", "long"],
10192
10425
  [this.about ?? null, "string", "flags.1?string"],
10193
10426
  [this.settings, TypePeerSettings, "PeerSettings"],
@@ -10206,6 +10439,7 @@ export class UserFull extends TypeUserFull {
10206
10439
  [this.botBroadcastAdminRights ?? null, TypeChatAdminRights, "flags.18?ChatAdminRights"],
10207
10440
  [this.premiumGifts ?? null, [TypePremiumGiftOption], "flags.19?Vector<PremiumGiftOption>"],
10208
10441
  [this.wallpaper ?? null, TypeWallPaper, "flags.24?WallPaper"],
10442
+ [this.stories ?? null, TypeUserStories, "flags.25?UserStories"],
10209
10443
  ];
10210
10444
  }
10211
10445
  constructor(params) {
@@ -10258,6 +10492,12 @@ export class UserFull extends TypeUserFull {
10258
10492
  writable: true,
10259
10493
  value: void 0
10260
10494
  });
10495
+ Object.defineProperty(this, "storiesPinnedAvailable", {
10496
+ enumerable: true,
10497
+ configurable: true,
10498
+ writable: true,
10499
+ value: void 0
10500
+ });
10261
10501
  Object.defineProperty(this, "id", {
10262
10502
  enumerable: true,
10263
10503
  configurable: true,
@@ -10366,6 +10606,12 @@ export class UserFull extends TypeUserFull {
10366
10606
  writable: true,
10367
10607
  value: void 0
10368
10608
  });
10609
+ Object.defineProperty(this, "stories", {
10610
+ enumerable: true,
10611
+ configurable: true,
10612
+ writable: true,
10613
+ value: void 0
10614
+ });
10369
10615
  this.blocked = params.blocked;
10370
10616
  this.phoneCallsAvailable = params.phoneCallsAvailable;
10371
10617
  this.phoneCallsPrivate = params.phoneCallsPrivate;
@@ -10374,6 +10620,7 @@ export class UserFull extends TypeUserFull {
10374
10620
  this.videoCallsAvailable = params.videoCallsAvailable;
10375
10621
  this.voiceMessagesForbidden = params.voiceMessagesForbidden;
10376
10622
  this.translationsDisabled = params.translationsDisabled;
10623
+ this.storiesPinnedAvailable = params.storiesPinnedAvailable;
10377
10624
  this.id = params.id;
10378
10625
  this.about = params.about;
10379
10626
  this.settings = params.settings;
@@ -10392,6 +10639,7 @@ export class UserFull extends TypeUserFull {
10392
10639
  this.botBroadcastAdminRights = params.botBroadcastAdminRights;
10393
10640
  this.premiumGifts = params.premiumGifts;
10394
10641
  this.wallpaper = params.wallpaper;
10642
+ this.stories = params.stories;
10395
10643
  }
10396
10644
  }
10397
10645
  export class Contact extends TypeContact {
@@ -14249,12 +14497,12 @@ export class UpdateLoginToken extends TypeUpdate {
14249
14497
  }
14250
14498
  export class UpdateMessagePollVote extends TypeUpdate {
14251
14499
  get [id]() {
14252
- return 0x106395C9;
14500
+ return 0x24F40E77;
14253
14501
  }
14254
14502
  static get [paramDesc]() {
14255
14503
  return [
14256
14504
  ["pollId", "bigint", "long"],
14257
- ["userId", "bigint", "long"],
14505
+ ["peer", TypePeer, "Peer"],
14258
14506
  ["options", [Uint8Array], "Vector<bytes>"],
14259
14507
  ["qts", "number", "int"],
14260
14508
  ];
@@ -14262,7 +14510,7 @@ export class UpdateMessagePollVote extends TypeUpdate {
14262
14510
  get [params]() {
14263
14511
  return [
14264
14512
  [this.pollId, "bigint", "long"],
14265
- [this.userId, "bigint", "long"],
14513
+ [this.peer, TypePeer, "Peer"],
14266
14514
  [this.options, [Uint8Array], "Vector<bytes>"],
14267
14515
  [this.qts, "number", "int"],
14268
14516
  ];
@@ -14275,7 +14523,7 @@ export class UpdateMessagePollVote extends TypeUpdate {
14275
14523
  writable: true,
14276
14524
  value: void 0
14277
14525
  });
14278
- Object.defineProperty(this, "userId", {
14526
+ Object.defineProperty(this, "peer", {
14279
14527
  enumerable: true,
14280
14528
  configurable: true,
14281
14529
  writable: true,
@@ -14294,7 +14542,7 @@ export class UpdateMessagePollVote extends TypeUpdate {
14294
14542
  value: void 0
14295
14543
  });
14296
14544
  this.pollId = params.pollId;
14297
- this.userId = params.userId;
14545
+ this.peer = params.peer;
14298
14546
  this.options = params.options;
14299
14547
  this.qts = params.qts;
14300
14548
  }
@@ -15855,6 +16103,108 @@ export class UpdateGroupInvitePrivacyForbidden extends TypeUpdate {
15855
16103
  this.userId = params.userId;
15856
16104
  }
15857
16105
  }
16106
+ export class UpdateStory extends TypeUpdate {
16107
+ get [id]() {
16108
+ return 0x205A4133;
16109
+ }
16110
+ static get [paramDesc]() {
16111
+ return [
16112
+ ["userId", "bigint", "long"],
16113
+ ["story", TypeStoryItem, "StoryItem"],
16114
+ ];
16115
+ }
16116
+ get [params]() {
16117
+ return [
16118
+ [this.userId, "bigint", "long"],
16119
+ [this.story, TypeStoryItem, "StoryItem"],
16120
+ ];
16121
+ }
16122
+ constructor(params) {
16123
+ super();
16124
+ Object.defineProperty(this, "userId", {
16125
+ enumerable: true,
16126
+ configurable: true,
16127
+ writable: true,
16128
+ value: void 0
16129
+ });
16130
+ Object.defineProperty(this, "story", {
16131
+ enumerable: true,
16132
+ configurable: true,
16133
+ writable: true,
16134
+ value: void 0
16135
+ });
16136
+ this.userId = params.userId;
16137
+ this.story = params.story;
16138
+ }
16139
+ }
16140
+ export class UpdateReadStories extends TypeUpdate {
16141
+ get [id]() {
16142
+ return 0xFEB5345A;
16143
+ }
16144
+ static get [paramDesc]() {
16145
+ return [
16146
+ ["userId", "bigint", "long"],
16147
+ ["maxId", "number", "int"],
16148
+ ];
16149
+ }
16150
+ get [params]() {
16151
+ return [
16152
+ [this.userId, "bigint", "long"],
16153
+ [this.maxId, "number", "int"],
16154
+ ];
16155
+ }
16156
+ constructor(params) {
16157
+ super();
16158
+ Object.defineProperty(this, "userId", {
16159
+ enumerable: true,
16160
+ configurable: true,
16161
+ writable: true,
16162
+ value: void 0
16163
+ });
16164
+ Object.defineProperty(this, "maxId", {
16165
+ enumerable: true,
16166
+ configurable: true,
16167
+ writable: true,
16168
+ value: void 0
16169
+ });
16170
+ this.userId = params.userId;
16171
+ this.maxId = params.maxId;
16172
+ }
16173
+ }
16174
+ export class UpdateStoryID extends TypeUpdate {
16175
+ get [id]() {
16176
+ return 0x1BF335B9;
16177
+ }
16178
+ static get [paramDesc]() {
16179
+ return [
16180
+ ["id", "number", "int"],
16181
+ ["randomId", "bigint", "long"],
16182
+ ];
16183
+ }
16184
+ get [params]() {
16185
+ return [
16186
+ [this.id, "number", "int"],
16187
+ [this.randomId, "bigint", "long"],
16188
+ ];
16189
+ }
16190
+ constructor(params) {
16191
+ super();
16192
+ Object.defineProperty(this, "id", {
16193
+ enumerable: true,
16194
+ configurable: true,
16195
+ writable: true,
16196
+ value: void 0
16197
+ });
16198
+ Object.defineProperty(this, "randomId", {
16199
+ enumerable: true,
16200
+ configurable: true,
16201
+ writable: true,
16202
+ value: void 0
16203
+ });
16204
+ this.id = params.id;
16205
+ this.randomId = params.randomId;
16206
+ }
16207
+ }
15858
16208
  export class UpdatesState extends TypeUpdatesState {
15859
16209
  get [id]() {
15860
16210
  return 0xA56C2A3E;
@@ -19279,6 +19629,20 @@ export class InputPrivacyKeyVoiceMessages extends TypeInputPrivacyKey {
19279
19629
  super();
19280
19630
  }
19281
19631
  }
19632
+ export class InputPrivacyKeyAbout extends TypeInputPrivacyKey {
19633
+ get [id]() {
19634
+ return 0x3823CC40;
19635
+ }
19636
+ static get [paramDesc]() {
19637
+ return [];
19638
+ }
19639
+ get [params]() {
19640
+ return [];
19641
+ }
19642
+ constructor() {
19643
+ super();
19644
+ }
19645
+ }
19282
19646
  export class PrivacyKeyStatusTimestamp extends TypePrivacyKey {
19283
19647
  get [id]() {
19284
19648
  return 0xBC2EAB30;
@@ -19405,6 +19769,20 @@ export class PrivacyKeyVoiceMessages extends TypePrivacyKey {
19405
19769
  super();
19406
19770
  }
19407
19771
  }
19772
+ export class PrivacyKeyAbout extends TypePrivacyKey {
19773
+ get [id]() {
19774
+ return 0xA486B761;
19775
+ }
19776
+ static get [paramDesc]() {
19777
+ return [];
19778
+ }
19779
+ get [params]() {
19780
+ return [];
19781
+ }
19782
+ constructor() {
19783
+ super();
19784
+ }
19785
+ }
19408
19786
  export class InputPrivacyValueAllowContacts extends TypeInputPrivacyRule {
19409
19787
  get [id]() {
19410
19788
  return 0x0D09E07B;
@@ -19561,6 +19939,20 @@ export class InputPrivacyValueDisallowChatParticipants extends TypeInputPrivacyR
19561
19939
  this.chats = params.chats;
19562
19940
  }
19563
19941
  }
19942
+ export class InputPrivacyValueAllowCloseFriends extends TypeInputPrivacyRule {
19943
+ get [id]() {
19944
+ return 0x2F453E49;
19945
+ }
19946
+ static get [paramDesc]() {
19947
+ return [];
19948
+ }
19949
+ get [params]() {
19950
+ return [];
19951
+ }
19952
+ constructor() {
19953
+ super();
19954
+ }
19955
+ }
19564
19956
  export class PrivacyValueAllowContacts extends TypePrivacyRule {
19565
19957
  get [id]() {
19566
19958
  return 0xFFFE1BAC;
@@ -19717,6 +20109,20 @@ export class PrivacyValueDisallowChatParticipants extends TypePrivacyRule {
19717
20109
  this.chats = params.chats;
19718
20110
  }
19719
20111
  }
20112
+ export class PrivacyValueAllowCloseFriends extends TypePrivacyRule {
20113
+ get [id]() {
20114
+ return 0xF7E8D89B;
20115
+ }
20116
+ static get [paramDesc]() {
20117
+ return [];
20118
+ }
20119
+ get [params]() {
20120
+ return [];
20121
+ }
20122
+ constructor() {
20123
+ super();
20124
+ }
20125
+ }
19720
20126
  export class AccountPrivacyRules extends TypeAccountPrivacyRules {
19721
20127
  get [id]() {
19722
20128
  return 0x50A04E45;
@@ -19889,16 +20295,18 @@ export class DocumentAttributeSticker extends TypeDocumentAttribute {
19889
20295
  }
19890
20296
  export class DocumentAttributeVideo extends TypeDocumentAttribute {
19891
20297
  get [id]() {
19892
- return 0x0EF02CE6;
20298
+ return 0xD38FF1C2;
19893
20299
  }
19894
20300
  static get [paramDesc]() {
19895
20301
  return [
19896
20302
  ["flags", flags, "#"],
19897
20303
  ["roundMessage", "true", "flags.0?true"],
19898
20304
  ["supportsStreaming", "true", "flags.1?true"],
19899
- ["duration", "number", "int"],
20305
+ ["nosound", "true", "flags.3?true"],
20306
+ ["duration", "number", "double"],
19900
20307
  ["w", "number", "int"],
19901
20308
  ["h", "number", "int"],
20309
+ ["preloadPrefixSize", "number", "flags.2?int"],
19902
20310
  ];
19903
20311
  }
19904
20312
  get [params]() {
@@ -19906,9 +20314,11 @@ export class DocumentAttributeVideo extends TypeDocumentAttribute {
19906
20314
  ["flags", flags, "#"],
19907
20315
  [this.roundMessage ?? null, "true", "flags.0?true"],
19908
20316
  [this.supportsStreaming ?? null, "true", "flags.1?true"],
19909
- [this.duration, "number", "int"],
20317
+ [this.nosound ?? null, "true", "flags.3?true"],
20318
+ [this.duration, "number", "double"],
19910
20319
  [this.w, "number", "int"],
19911
20320
  [this.h, "number", "int"],
20321
+ [this.preloadPrefixSize ?? null, "number", "flags.2?int"],
19912
20322
  ];
19913
20323
  }
19914
20324
  constructor(params) {
@@ -19925,6 +20335,12 @@ export class DocumentAttributeVideo extends TypeDocumentAttribute {
19925
20335
  writable: true,
19926
20336
  value: void 0
19927
20337
  });
20338
+ Object.defineProperty(this, "nosound", {
20339
+ enumerable: true,
20340
+ configurable: true,
20341
+ writable: true,
20342
+ value: void 0
20343
+ });
19928
20344
  Object.defineProperty(this, "duration", {
19929
20345
  enumerable: true,
19930
20346
  configurable: true,
@@ -19943,11 +20359,19 @@ export class DocumentAttributeVideo extends TypeDocumentAttribute {
19943
20359
  writable: true,
19944
20360
  value: void 0
19945
20361
  });
20362
+ Object.defineProperty(this, "preloadPrefixSize", {
20363
+ enumerable: true,
20364
+ configurable: true,
20365
+ writable: true,
20366
+ value: void 0
20367
+ });
19946
20368
  this.roundMessage = params.roundMessage;
19947
20369
  this.supportsStreaming = params.supportsStreaming;
20370
+ this.nosound = params.nosound;
19948
20371
  this.duration = params.duration;
19949
20372
  this.w = params.w;
19950
20373
  this.h = params.h;
20374
+ this.preloadPrefixSize = params.preloadPrefixSize;
19951
20375
  }
19952
20376
  }
19953
20377
  export class DocumentAttributeAudio extends TypeDocumentAttribute {
@@ -36982,7 +37406,7 @@ export class PollAnswerVoters extends TypePollAnswerVoters {
36982
37406
  }
36983
37407
  export class PollResults extends TypePollResults {
36984
37408
  get [id]() {
36985
- return 0xDCB82EA3;
37409
+ return 0x7ADF2420;
36986
37410
  }
36987
37411
  static get [paramDesc]() {
36988
37412
  return [
@@ -36990,7 +37414,7 @@ export class PollResults extends TypePollResults {
36990
37414
  ["min", "true", "flags.0?true"],
36991
37415
  ["results", [TypePollAnswerVoters], "flags.1?Vector<PollAnswerVoters>"],
36992
37416
  ["totalVoters", "number", "flags.2?int"],
36993
- ["recentVoters", ["bigint"], "flags.3?Vector<long>"],
37417
+ ["recentVoters", [TypePeer], "flags.3?Vector<Peer>"],
36994
37418
  ["solution", "string", "flags.4?string"],
36995
37419
  ["solutionEntities", [TypeMessageEntity], "flags.4?Vector<MessageEntity>"],
36996
37420
  ];
@@ -37001,7 +37425,7 @@ export class PollResults extends TypePollResults {
37001
37425
  [this.min ?? null, "true", "flags.0?true"],
37002
37426
  [this.results ?? null, [TypePollAnswerVoters], "flags.1?Vector<PollAnswerVoters>"],
37003
37427
  [this.totalVoters ?? null, "number", "flags.2?int"],
37004
- [this.recentVoters ?? null, ["bigint"], "flags.3?Vector<long>"],
37428
+ [this.recentVoters ?? null, [TypePeer], "flags.3?Vector<Peer>"],
37005
37429
  [this.solution ?? null, "string", "flags.4?string"],
37006
37430
  [this.solutionEntities ?? null, [TypeMessageEntity], "flags.4?Vector<MessageEntity>"],
37007
37431
  ];
@@ -37749,7 +38173,7 @@ export class WallPaperSettings extends TypeWallPaperSettings {
37749
38173
  }
37750
38174
  export class AutoDownloadSettings extends TypeAutoDownloadSettings {
37751
38175
  get [id]() {
37752
- return 0x8EFAB953;
38176
+ return 0xBAA57628;
37753
38177
  }
37754
38178
  static get [paramDesc]() {
37755
38179
  return [
@@ -37758,10 +38182,13 @@ export class AutoDownloadSettings extends TypeAutoDownloadSettings {
37758
38182
  ["videoPreloadLarge", "true", "flags.1?true"],
37759
38183
  ["audioPreloadNext", "true", "flags.2?true"],
37760
38184
  ["phonecallsLessData", "true", "flags.3?true"],
38185
+ ["storiesPreload", "true", "flags.4?true"],
37761
38186
  ["photoSizeMax", "number", "int"],
37762
38187
  ["videoSizeMax", "bigint", "long"],
37763
38188
  ["fileSizeMax", "bigint", "long"],
37764
38189
  ["videoUploadMaxbitrate", "number", "int"],
38190
+ ["smallQueueActiveOperationsMax", "number", "int"],
38191
+ ["largeQueueActiveOperationsMax", "number", "int"],
37765
38192
  ];
37766
38193
  }
37767
38194
  get [params]() {
@@ -37771,10 +38198,13 @@ export class AutoDownloadSettings extends TypeAutoDownloadSettings {
37771
38198
  [this.videoPreloadLarge ?? null, "true", "flags.1?true"],
37772
38199
  [this.audioPreloadNext ?? null, "true", "flags.2?true"],
37773
38200
  [this.phonecallsLessData ?? null, "true", "flags.3?true"],
38201
+ [this.storiesPreload ?? null, "true", "flags.4?true"],
37774
38202
  [this.photoSizeMax, "number", "int"],
37775
38203
  [this.videoSizeMax, "bigint", "long"],
37776
38204
  [this.fileSizeMax, "bigint", "long"],
37777
38205
  [this.videoUploadMaxbitrate, "number", "int"],
38206
+ [this.smallQueueActiveOperationsMax, "number", "int"],
38207
+ [this.largeQueueActiveOperationsMax, "number", "int"],
37778
38208
  ];
37779
38209
  }
37780
38210
  constructor(params) {
@@ -37803,6 +38233,12 @@ export class AutoDownloadSettings extends TypeAutoDownloadSettings {
37803
38233
  writable: true,
37804
38234
  value: void 0
37805
38235
  });
38236
+ Object.defineProperty(this, "storiesPreload", {
38237
+ enumerable: true,
38238
+ configurable: true,
38239
+ writable: true,
38240
+ value: void 0
38241
+ });
37806
38242
  Object.defineProperty(this, "photoSizeMax", {
37807
38243
  enumerable: true,
37808
38244
  configurable: true,
@@ -37827,14 +38263,29 @@ export class AutoDownloadSettings extends TypeAutoDownloadSettings {
37827
38263
  writable: true,
37828
38264
  value: void 0
37829
38265
  });
38266
+ Object.defineProperty(this, "smallQueueActiveOperationsMax", {
38267
+ enumerable: true,
38268
+ configurable: true,
38269
+ writable: true,
38270
+ value: void 0
38271
+ });
38272
+ Object.defineProperty(this, "largeQueueActiveOperationsMax", {
38273
+ enumerable: true,
38274
+ configurable: true,
38275
+ writable: true,
38276
+ value: void 0
38277
+ });
37830
38278
  this.disabled = params.disabled;
37831
38279
  this.videoPreloadLarge = params.videoPreloadLarge;
37832
38280
  this.audioPreloadNext = params.audioPreloadNext;
37833
38281
  this.phonecallsLessData = params.phonecallsLessData;
38282
+ this.storiesPreload = params.storiesPreload;
37834
38283
  this.photoSizeMax = params.photoSizeMax;
37835
38284
  this.videoSizeMax = params.videoSizeMax;
37836
38285
  this.fileSizeMax = params.fileSizeMax;
37837
38286
  this.videoUploadMaxbitrate = params.videoUploadMaxbitrate;
38287
+ this.smallQueueActiveOperationsMax = params.smallQueueActiveOperationsMax;
38288
+ this.largeQueueActiveOperationsMax = params.largeQueueActiveOperationsMax;
37838
38289
  }
37839
38290
  }
37840
38291
  export class AccountAutoDownloadSettings extends TypeAccountAutoDownloadSettings {
@@ -39133,99 +39584,24 @@ export class WebPageAttributeTheme extends TypeWebPageAttribute {
39133
39584
  this.settings = params?.settings;
39134
39585
  }
39135
39586
  }
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 {
39587
+ export class WebPageAttributeStory extends TypeWebPageAttribute {
39180
39588
  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;
39211
- }
39212
- }
39213
- export class MessageUserVoteMultiple extends TypeMessageUserVote {
39214
- get [id]() {
39215
- return 0x8A65E557;
39589
+ return 0x939A4671;
39216
39590
  }
39217
39591
  static get [paramDesc]() {
39218
39592
  return [
39593
+ ["flags", flags, "#"],
39219
39594
  ["userId", "bigint", "long"],
39220
- ["options", [Uint8Array], "Vector<bytes>"],
39221
- ["date", "number", "int"],
39595
+ ["id", "number", "int"],
39596
+ ["story", TypeStoryItem, "flags.0?StoryItem"],
39222
39597
  ];
39223
39598
  }
39224
39599
  get [params]() {
39225
39600
  return [
39601
+ ["flags", flags, "#"],
39226
39602
  [this.userId, "bigint", "long"],
39227
- [this.options, [Uint8Array], "Vector<bytes>"],
39228
- [this.date, "number", "int"],
39603
+ [this.id, "number", "int"],
39604
+ [this.story ?? null, TypeStoryItem, "flags.0?StoryItem"],
39229
39605
  ];
39230
39606
  }
39231
39607
  constructor(params) {
@@ -39236,32 +39612,33 @@ export class MessageUserVoteMultiple extends TypeMessageUserVote {
39236
39612
  writable: true,
39237
39613
  value: void 0
39238
39614
  });
39239
- Object.defineProperty(this, "options", {
39615
+ Object.defineProperty(this, "id", {
39240
39616
  enumerable: true,
39241
39617
  configurable: true,
39242
39618
  writable: true,
39243
39619
  value: void 0
39244
39620
  });
39245
- Object.defineProperty(this, "date", {
39621
+ Object.defineProperty(this, "story", {
39246
39622
  enumerable: true,
39247
39623
  configurable: true,
39248
39624
  writable: true,
39249
39625
  value: void 0
39250
39626
  });
39251
39627
  this.userId = params.userId;
39252
- this.options = params.options;
39253
- this.date = params.date;
39628
+ this.id = params.id;
39629
+ this.story = params.story;
39254
39630
  }
39255
39631
  }
39256
39632
  export class MessagesVotesList extends TypeMessagesVotesList {
39257
39633
  get [id]() {
39258
- return 0x0823F649;
39634
+ return 0x4899484E;
39259
39635
  }
39260
39636
  static get [paramDesc]() {
39261
39637
  return [
39262
39638
  ["flags", flags, "#"],
39263
39639
  ["count", "number", "int"],
39264
- ["votes", [TypeMessageUserVote], "Vector<MessageUserVote>"],
39640
+ ["votes", [TypeMessagePeerVote], "Vector<MessagePeerVote>"],
39641
+ ["chats", [TypeChat], "Vector<Chat>"],
39265
39642
  ["users", [TypeUser], "Vector<User>"],
39266
39643
  ["nextOffset", "string", "flags.0?string"],
39267
39644
  ];
@@ -39270,7 +39647,8 @@ export class MessagesVotesList extends TypeMessagesVotesList {
39270
39647
  return [
39271
39648
  ["flags", flags, "#"],
39272
39649
  [this.count, "number", "int"],
39273
- [this.votes, [TypeMessageUserVote], "Vector<MessageUserVote>"],
39650
+ [this.votes, [TypeMessagePeerVote], "Vector<MessagePeerVote>"],
39651
+ [this.chats, [TypeChat], "Vector<Chat>"],
39274
39652
  [this.users, [TypeUser], "Vector<User>"],
39275
39653
  [this.nextOffset ?? null, "string", "flags.0?string"],
39276
39654
  ];
@@ -39289,6 +39667,12 @@ export class MessagesVotesList extends TypeMessagesVotesList {
39289
39667
  writable: true,
39290
39668
  value: void 0
39291
39669
  });
39670
+ Object.defineProperty(this, "chats", {
39671
+ enumerable: true,
39672
+ configurable: true,
39673
+ writable: true,
39674
+ value: void 0
39675
+ });
39292
39676
  Object.defineProperty(this, "users", {
39293
39677
  enumerable: true,
39294
39678
  configurable: true,
@@ -39303,6 +39687,7 @@ export class MessagesVotesList extends TypeMessagesVotesList {
39303
39687
  });
39304
39688
  this.count = params.count;
39305
39689
  this.votes = params.votes;
39690
+ this.chats = params.chats;
39306
39691
  this.users = params.users;
39307
39692
  this.nextOffset = params.nextOffset;
39308
39693
  }
@@ -40567,18 +40952,22 @@ export class StatsMegagroupStats extends TypeStatsMegagroupStats {
40567
40952
  }
40568
40953
  export class GlobalPrivacySettings extends TypeGlobalPrivacySettings {
40569
40954
  get [id]() {
40570
- return 0xBEA2F424;
40955
+ return 0x734C4CCB;
40571
40956
  }
40572
40957
  static get [paramDesc]() {
40573
40958
  return [
40574
40959
  ["flags", flags, "#"],
40575
- ["archiveAndMuteNewNoncontactPeers", "boolean", "flags.0?Bool"],
40960
+ ["archiveAndMuteNewNoncontactPeers", "true", "flags.0?true"],
40961
+ ["keepArchivedUnmuted", "true", "flags.1?true"],
40962
+ ["keepArchivedFolders", "true", "flags.2?true"],
40576
40963
  ];
40577
40964
  }
40578
40965
  get [params]() {
40579
40966
  return [
40580
40967
  ["flags", flags, "#"],
40581
- [this.archiveAndMuteNewNoncontactPeers ?? null, "boolean", "flags.0?Bool"],
40968
+ [this.archiveAndMuteNewNoncontactPeers ?? null, "true", "flags.0?true"],
40969
+ [this.keepArchivedUnmuted ?? null, "true", "flags.1?true"],
40970
+ [this.keepArchivedFolders ?? null, "true", "flags.2?true"],
40582
40971
  ];
40583
40972
  }
40584
40973
  constructor(params) {
@@ -40589,7 +40978,21 @@ export class GlobalPrivacySettings extends TypeGlobalPrivacySettings {
40589
40978
  writable: true,
40590
40979
  value: void 0
40591
40980
  });
40981
+ Object.defineProperty(this, "keepArchivedUnmuted", {
40982
+ enumerable: true,
40983
+ configurable: true,
40984
+ writable: true,
40985
+ value: void 0
40986
+ });
40987
+ Object.defineProperty(this, "keepArchivedFolders", {
40988
+ enumerable: true,
40989
+ configurable: true,
40990
+ writable: true,
40991
+ value: void 0
40992
+ });
40592
40993
  this.archiveAndMuteNewNoncontactPeers = params?.archiveAndMuteNewNoncontactPeers;
40994
+ this.keepArchivedUnmuted = params?.keepArchivedUnmuted;
40995
+ this.keepArchivedFolders = params?.keepArchivedFolders;
40593
40996
  }
40594
40997
  }
40595
40998
  export class HelpCountryCode extends TypeHelpCountryCode {
@@ -40980,6 +41383,40 @@ export class MessageReplyHeader extends TypeMessageReplyHeader {
40980
41383
  this.replyToTopId = params.replyToTopId;
40981
41384
  }
40982
41385
  }
41386
+ export class MessageReplyStoryHeader extends TypeMessageReplyHeader {
41387
+ get [id]() {
41388
+ return 0x9C98BFC1;
41389
+ }
41390
+ static get [paramDesc]() {
41391
+ return [
41392
+ ["userId", "bigint", "long"],
41393
+ ["storyId", "number", "int"],
41394
+ ];
41395
+ }
41396
+ get [params]() {
41397
+ return [
41398
+ [this.userId, "bigint", "long"],
41399
+ [this.storyId, "number", "int"],
41400
+ ];
41401
+ }
41402
+ constructor(params) {
41403
+ super();
41404
+ Object.defineProperty(this, "userId", {
41405
+ enumerable: true,
41406
+ configurable: true,
41407
+ writable: true,
41408
+ value: void 0
41409
+ });
41410
+ Object.defineProperty(this, "storyId", {
41411
+ enumerable: true,
41412
+ configurable: true,
41413
+ writable: true,
41414
+ value: void 0
41415
+ });
41416
+ this.userId = params.userId;
41417
+ this.storyId = params.storyId;
41418
+ }
41419
+ }
40983
41420
  export class MessageReplies extends TypeMessageReplies {
40984
41421
  get [id]() {
40985
41422
  return 0x83D60FC2;
@@ -42627,7 +43064,7 @@ export class AccountResetPasswordOk extends TypeAccountResetPasswordResult {
42627
43064
  }
42628
43065
  export class SponsoredMessage extends TypeSponsoredMessage {
42629
43066
  get [id]() {
42630
- return 0xFC25B828;
43067
+ return 0xDAAFFF6B;
42631
43068
  }
42632
43069
  static get [paramDesc]() {
42633
43070
  return [
@@ -42640,6 +43077,7 @@ export class SponsoredMessage extends TypeSponsoredMessage {
42640
43077
  ["chatInviteHash", "string", "flags.4?string"],
42641
43078
  ["channelPost", "number", "flags.2?int"],
42642
43079
  ["startParam", "string", "flags.0?string"],
43080
+ ["webpage", TypeSponsoredWebPage, "flags.9?SponsoredWebPage"],
42643
43081
  ["message", "string", "string"],
42644
43082
  ["entities", [TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
42645
43083
  ["sponsorInfo", "string", "flags.7?string"],
@@ -42657,6 +43095,7 @@ export class SponsoredMessage extends TypeSponsoredMessage {
42657
43095
  [this.chatInviteHash ?? null, "string", "flags.4?string"],
42658
43096
  [this.channelPost ?? null, "number", "flags.2?int"],
42659
43097
  [this.startParam ?? null, "string", "flags.0?string"],
43098
+ [this.webpage ?? null, TypeSponsoredWebPage, "flags.9?SponsoredWebPage"],
42660
43099
  [this.message, "string", "string"],
42661
43100
  [this.entities ?? null, [TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
42662
43101
  [this.sponsorInfo ?? null, "string", "flags.7?string"],
@@ -42713,6 +43152,12 @@ export class SponsoredMessage extends TypeSponsoredMessage {
42713
43152
  writable: true,
42714
43153
  value: void 0
42715
43154
  });
43155
+ Object.defineProperty(this, "webpage", {
43156
+ enumerable: true,
43157
+ configurable: true,
43158
+ writable: true,
43159
+ value: void 0
43160
+ });
42716
43161
  Object.defineProperty(this, "message", {
42717
43162
  enumerable: true,
42718
43163
  configurable: true,
@@ -42745,6 +43190,7 @@ export class SponsoredMessage extends TypeSponsoredMessage {
42745
43190
  this.chatInviteHash = params.chatInviteHash;
42746
43191
  this.channelPost = params.channelPost;
42747
43192
  this.startParam = params.startParam;
43193
+ this.webpage = params.webpage;
42748
43194
  this.message = params.message;
42749
43195
  this.entities = params.entities;
42750
43196
  this.sponsorInfo = params.sponsorInfo;
@@ -43539,6 +43985,7 @@ export class MessagePeerReaction extends TypeMessagePeerReaction {
43539
43985
  ["flags", flags, "#"],
43540
43986
  ["big", "true", "flags.0?true"],
43541
43987
  ["unread", "true", "flags.1?true"],
43988
+ ["my", "true", "flags.2?true"],
43542
43989
  ["peerId", TypePeer, "Peer"],
43543
43990
  ["date", "number", "int"],
43544
43991
  ["reaction", TypeReaction, "Reaction"],
@@ -43549,6 +43996,7 @@ export class MessagePeerReaction extends TypeMessagePeerReaction {
43549
43996
  ["flags", flags, "#"],
43550
43997
  [this.big ?? null, "true", "flags.0?true"],
43551
43998
  [this.unread ?? null, "true", "flags.1?true"],
43999
+ [this.my ?? null, "true", "flags.2?true"],
43552
44000
  [this.peerId, TypePeer, "Peer"],
43553
44001
  [this.date, "number", "int"],
43554
44002
  [this.reaction, TypeReaction, "Reaction"],
@@ -43568,6 +44016,12 @@ export class MessagePeerReaction extends TypeMessagePeerReaction {
43568
44016
  writable: true,
43569
44017
  value: void 0
43570
44018
  });
44019
+ Object.defineProperty(this, "my", {
44020
+ enumerable: true,
44021
+ configurable: true,
44022
+ writable: true,
44023
+ value: void 0
44024
+ });
43571
44025
  Object.defineProperty(this, "peerId", {
43572
44026
  enumerable: true,
43573
44027
  configurable: true,
@@ -43588,6 +44042,7 @@ export class MessagePeerReaction extends TypeMessagePeerReaction {
43588
44042
  });
43589
44043
  this.big = params.big;
43590
44044
  this.unread = params.unread;
44045
+ this.my = params.my;
43591
44046
  this.peerId = params.peerId;
43592
44047
  this.date = params.date;
43593
44048
  this.reaction = params.reaction;
@@ -47070,6 +47525,864 @@ export class BotsBotInfo extends TypeBotsBotInfo {
47070
47525
  this.description = params.description;
47071
47526
  }
47072
47527
  }
47528
+ export class MessagePeerVote extends TypeMessagePeerVote {
47529
+ get [id]() {
47530
+ return 0xB6CC2D5C;
47531
+ }
47532
+ static get [paramDesc]() {
47533
+ return [
47534
+ ["peer", TypePeer, "Peer"],
47535
+ ["option", Uint8Array, "bytes"],
47536
+ ["date", "number", "int"],
47537
+ ];
47538
+ }
47539
+ get [params]() {
47540
+ return [
47541
+ [this.peer, TypePeer, "Peer"],
47542
+ [this.option, Uint8Array, "bytes"],
47543
+ [this.date, "number", "int"],
47544
+ ];
47545
+ }
47546
+ constructor(params) {
47547
+ super();
47548
+ Object.defineProperty(this, "peer", {
47549
+ enumerable: true,
47550
+ configurable: true,
47551
+ writable: true,
47552
+ value: void 0
47553
+ });
47554
+ Object.defineProperty(this, "option", {
47555
+ enumerable: true,
47556
+ configurable: true,
47557
+ writable: true,
47558
+ value: void 0
47559
+ });
47560
+ Object.defineProperty(this, "date", {
47561
+ enumerable: true,
47562
+ configurable: true,
47563
+ writable: true,
47564
+ value: void 0
47565
+ });
47566
+ this.peer = params.peer;
47567
+ this.option = params.option;
47568
+ this.date = params.date;
47569
+ }
47570
+ }
47571
+ export class MessagePeerVoteInputOption extends TypeMessagePeerVote {
47572
+ get [id]() {
47573
+ return 0x74CDA504;
47574
+ }
47575
+ static get [paramDesc]() {
47576
+ return [
47577
+ ["peer", TypePeer, "Peer"],
47578
+ ["date", "number", "int"],
47579
+ ];
47580
+ }
47581
+ get [params]() {
47582
+ return [
47583
+ [this.peer, TypePeer, "Peer"],
47584
+ [this.date, "number", "int"],
47585
+ ];
47586
+ }
47587
+ constructor(params) {
47588
+ super();
47589
+ Object.defineProperty(this, "peer", {
47590
+ enumerable: true,
47591
+ configurable: true,
47592
+ writable: true,
47593
+ value: void 0
47594
+ });
47595
+ Object.defineProperty(this, "date", {
47596
+ enumerable: true,
47597
+ configurable: true,
47598
+ writable: true,
47599
+ value: void 0
47600
+ });
47601
+ this.peer = params.peer;
47602
+ this.date = params.date;
47603
+ }
47604
+ }
47605
+ export class MessagePeerVoteMultiple extends TypeMessagePeerVote {
47606
+ get [id]() {
47607
+ return 0x4628F6E6;
47608
+ }
47609
+ static get [paramDesc]() {
47610
+ return [
47611
+ ["peer", TypePeer, "Peer"],
47612
+ ["options", [Uint8Array], "Vector<bytes>"],
47613
+ ["date", "number", "int"],
47614
+ ];
47615
+ }
47616
+ get [params]() {
47617
+ return [
47618
+ [this.peer, TypePeer, "Peer"],
47619
+ [this.options, [Uint8Array], "Vector<bytes>"],
47620
+ [this.date, "number", "int"],
47621
+ ];
47622
+ }
47623
+ constructor(params) {
47624
+ super();
47625
+ Object.defineProperty(this, "peer", {
47626
+ enumerable: true,
47627
+ configurable: true,
47628
+ writable: true,
47629
+ value: void 0
47630
+ });
47631
+ Object.defineProperty(this, "options", {
47632
+ enumerable: true,
47633
+ configurable: true,
47634
+ writable: true,
47635
+ value: void 0
47636
+ });
47637
+ Object.defineProperty(this, "date", {
47638
+ enumerable: true,
47639
+ configurable: true,
47640
+ writable: true,
47641
+ value: void 0
47642
+ });
47643
+ this.peer = params.peer;
47644
+ this.options = params.options;
47645
+ this.date = params.date;
47646
+ }
47647
+ }
47648
+ export class SponsoredWebPage extends TypeSponsoredWebPage {
47649
+ get [id]() {
47650
+ return 0x3DB8EC63;
47651
+ }
47652
+ static get [paramDesc]() {
47653
+ return [
47654
+ ["flags", flags, "#"],
47655
+ ["url", "string", "string"],
47656
+ ["siteName", "string", "string"],
47657
+ ["photo", TypePhoto, "flags.0?Photo"],
47658
+ ];
47659
+ }
47660
+ get [params]() {
47661
+ return [
47662
+ ["flags", flags, "#"],
47663
+ [this.url, "string", "string"],
47664
+ [this.siteName, "string", "string"],
47665
+ [this.photo ?? null, TypePhoto, "flags.0?Photo"],
47666
+ ];
47667
+ }
47668
+ constructor(params) {
47669
+ super();
47670
+ Object.defineProperty(this, "url", {
47671
+ enumerable: true,
47672
+ configurable: true,
47673
+ writable: true,
47674
+ value: void 0
47675
+ });
47676
+ Object.defineProperty(this, "siteName", {
47677
+ enumerable: true,
47678
+ configurable: true,
47679
+ writable: true,
47680
+ value: void 0
47681
+ });
47682
+ Object.defineProperty(this, "photo", {
47683
+ enumerable: true,
47684
+ configurable: true,
47685
+ writable: true,
47686
+ value: void 0
47687
+ });
47688
+ this.url = params.url;
47689
+ this.siteName = params.siteName;
47690
+ this.photo = params.photo;
47691
+ }
47692
+ }
47693
+ export class StoryViews extends TypeStoryViews {
47694
+ get [id]() {
47695
+ return 0xD36760CF;
47696
+ }
47697
+ static get [paramDesc]() {
47698
+ return [
47699
+ ["flags", flags, "#"],
47700
+ ["viewsCount", "number", "int"],
47701
+ ["recentViewers", ["bigint"], "flags.0?Vector<long>"],
47702
+ ];
47703
+ }
47704
+ get [params]() {
47705
+ return [
47706
+ ["flags", flags, "#"],
47707
+ [this.viewsCount, "number", "int"],
47708
+ [this.recentViewers ?? null, ["bigint"], "flags.0?Vector<long>"],
47709
+ ];
47710
+ }
47711
+ constructor(params) {
47712
+ super();
47713
+ Object.defineProperty(this, "viewsCount", {
47714
+ enumerable: true,
47715
+ configurable: true,
47716
+ writable: true,
47717
+ value: void 0
47718
+ });
47719
+ Object.defineProperty(this, "recentViewers", {
47720
+ enumerable: true,
47721
+ configurable: true,
47722
+ writable: true,
47723
+ value: void 0
47724
+ });
47725
+ this.viewsCount = params.viewsCount;
47726
+ this.recentViewers = params.recentViewers;
47727
+ }
47728
+ }
47729
+ export class StoryItemDeleted extends TypeStoryItem {
47730
+ get [id]() {
47731
+ return 0x51E6EE4F;
47732
+ }
47733
+ static get [paramDesc]() {
47734
+ return [
47735
+ ["id", "number", "int"],
47736
+ ];
47737
+ }
47738
+ get [params]() {
47739
+ return [
47740
+ [this.id, "number", "int"],
47741
+ ];
47742
+ }
47743
+ constructor(params) {
47744
+ super();
47745
+ Object.defineProperty(this, "id", {
47746
+ enumerable: true,
47747
+ configurable: true,
47748
+ writable: true,
47749
+ value: void 0
47750
+ });
47751
+ this.id = params.id;
47752
+ }
47753
+ }
47754
+ export class StoryItemSkipped extends TypeStoryItem {
47755
+ get [id]() {
47756
+ return 0xFFADC913;
47757
+ }
47758
+ static get [paramDesc]() {
47759
+ return [
47760
+ ["flags", flags, "#"],
47761
+ ["closeFriends", "true", "flags.8?true"],
47762
+ ["id", "number", "int"],
47763
+ ["date", "number", "int"],
47764
+ ["expireDate", "number", "int"],
47765
+ ];
47766
+ }
47767
+ get [params]() {
47768
+ return [
47769
+ ["flags", flags, "#"],
47770
+ [this.closeFriends ?? null, "true", "flags.8?true"],
47771
+ [this.id, "number", "int"],
47772
+ [this.date, "number", "int"],
47773
+ [this.expireDate, "number", "int"],
47774
+ ];
47775
+ }
47776
+ constructor(params) {
47777
+ super();
47778
+ Object.defineProperty(this, "closeFriends", {
47779
+ enumerable: true,
47780
+ configurable: true,
47781
+ writable: true,
47782
+ value: void 0
47783
+ });
47784
+ Object.defineProperty(this, "id", {
47785
+ enumerable: true,
47786
+ configurable: true,
47787
+ writable: true,
47788
+ value: void 0
47789
+ });
47790
+ Object.defineProperty(this, "date", {
47791
+ enumerable: true,
47792
+ configurable: true,
47793
+ writable: true,
47794
+ value: void 0
47795
+ });
47796
+ Object.defineProperty(this, "expireDate", {
47797
+ enumerable: true,
47798
+ configurable: true,
47799
+ writable: true,
47800
+ value: void 0
47801
+ });
47802
+ this.closeFriends = params.closeFriends;
47803
+ this.id = params.id;
47804
+ this.date = params.date;
47805
+ this.expireDate = params.expireDate;
47806
+ }
47807
+ }
47808
+ export class StoryItem extends TypeStoryItem {
47809
+ get [id]() {
47810
+ return 0x562AA637;
47811
+ }
47812
+ static get [paramDesc]() {
47813
+ return [
47814
+ ["flags", flags, "#"],
47815
+ ["pinned", "true", "flags.5?true"],
47816
+ ["public", "true", "flags.7?true"],
47817
+ ["closeFriends", "true", "flags.8?true"],
47818
+ ["min", "true", "flags.9?true"],
47819
+ ["noforwards", "true", "flags.10?true"],
47820
+ ["edited", "true", "flags.11?true"],
47821
+ ["contacts", "true", "flags.12?true"],
47822
+ ["selectedContacts", "true", "flags.13?true"],
47823
+ ["id", "number", "int"],
47824
+ ["date", "number", "int"],
47825
+ ["expireDate", "number", "int"],
47826
+ ["caption", "string", "flags.0?string"],
47827
+ ["entities", [TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
47828
+ ["media", TypeMessageMedia, "MessageMedia"],
47829
+ ["privacy", [TypePrivacyRule], "flags.2?Vector<PrivacyRule>"],
47830
+ ["views", TypeStoryViews, "flags.3?StoryViews"],
47831
+ ];
47832
+ }
47833
+ get [params]() {
47834
+ return [
47835
+ ["flags", flags, "#"],
47836
+ [this.pinned ?? null, "true", "flags.5?true"],
47837
+ [this.public ?? null, "true", "flags.7?true"],
47838
+ [this.closeFriends ?? null, "true", "flags.8?true"],
47839
+ [this.min ?? null, "true", "flags.9?true"],
47840
+ [this.noforwards ?? null, "true", "flags.10?true"],
47841
+ [this.edited ?? null, "true", "flags.11?true"],
47842
+ [this.contacts ?? null, "true", "flags.12?true"],
47843
+ [this.selectedContacts ?? null, "true", "flags.13?true"],
47844
+ [this.id, "number", "int"],
47845
+ [this.date, "number", "int"],
47846
+ [this.expireDate, "number", "int"],
47847
+ [this.caption ?? null, "string", "flags.0?string"],
47848
+ [this.entities ?? null, [TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
47849
+ [this.media, TypeMessageMedia, "MessageMedia"],
47850
+ [this.privacy ?? null, [TypePrivacyRule], "flags.2?Vector<PrivacyRule>"],
47851
+ [this.views ?? null, TypeStoryViews, "flags.3?StoryViews"],
47852
+ ];
47853
+ }
47854
+ constructor(params) {
47855
+ super();
47856
+ Object.defineProperty(this, "pinned", {
47857
+ enumerable: true,
47858
+ configurable: true,
47859
+ writable: true,
47860
+ value: void 0
47861
+ });
47862
+ Object.defineProperty(this, "public", {
47863
+ enumerable: true,
47864
+ configurable: true,
47865
+ writable: true,
47866
+ value: void 0
47867
+ });
47868
+ Object.defineProperty(this, "closeFriends", {
47869
+ enumerable: true,
47870
+ configurable: true,
47871
+ writable: true,
47872
+ value: void 0
47873
+ });
47874
+ Object.defineProperty(this, "min", {
47875
+ enumerable: true,
47876
+ configurable: true,
47877
+ writable: true,
47878
+ value: void 0
47879
+ });
47880
+ Object.defineProperty(this, "noforwards", {
47881
+ enumerable: true,
47882
+ configurable: true,
47883
+ writable: true,
47884
+ value: void 0
47885
+ });
47886
+ Object.defineProperty(this, "edited", {
47887
+ enumerable: true,
47888
+ configurable: true,
47889
+ writable: true,
47890
+ value: void 0
47891
+ });
47892
+ Object.defineProperty(this, "contacts", {
47893
+ enumerable: true,
47894
+ configurable: true,
47895
+ writable: true,
47896
+ value: void 0
47897
+ });
47898
+ Object.defineProperty(this, "selectedContacts", {
47899
+ enumerable: true,
47900
+ configurable: true,
47901
+ writable: true,
47902
+ value: void 0
47903
+ });
47904
+ Object.defineProperty(this, "id", {
47905
+ enumerable: true,
47906
+ configurable: true,
47907
+ writable: true,
47908
+ value: void 0
47909
+ });
47910
+ Object.defineProperty(this, "date", {
47911
+ enumerable: true,
47912
+ configurable: true,
47913
+ writable: true,
47914
+ value: void 0
47915
+ });
47916
+ Object.defineProperty(this, "expireDate", {
47917
+ enumerable: true,
47918
+ configurable: true,
47919
+ writable: true,
47920
+ value: void 0
47921
+ });
47922
+ Object.defineProperty(this, "caption", {
47923
+ enumerable: true,
47924
+ configurable: true,
47925
+ writable: true,
47926
+ value: void 0
47927
+ });
47928
+ Object.defineProperty(this, "entities", {
47929
+ enumerable: true,
47930
+ configurable: true,
47931
+ writable: true,
47932
+ value: void 0
47933
+ });
47934
+ Object.defineProperty(this, "media", {
47935
+ enumerable: true,
47936
+ configurable: true,
47937
+ writable: true,
47938
+ value: void 0
47939
+ });
47940
+ Object.defineProperty(this, "privacy", {
47941
+ enumerable: true,
47942
+ configurable: true,
47943
+ writable: true,
47944
+ value: void 0
47945
+ });
47946
+ Object.defineProperty(this, "views", {
47947
+ enumerable: true,
47948
+ configurable: true,
47949
+ writable: true,
47950
+ value: void 0
47951
+ });
47952
+ this.pinned = params.pinned;
47953
+ this.public = params.public;
47954
+ this.closeFriends = params.closeFriends;
47955
+ this.min = params.min;
47956
+ this.noforwards = params.noforwards;
47957
+ this.edited = params.edited;
47958
+ this.contacts = params.contacts;
47959
+ this.selectedContacts = params.selectedContacts;
47960
+ this.id = params.id;
47961
+ this.date = params.date;
47962
+ this.expireDate = params.expireDate;
47963
+ this.caption = params.caption;
47964
+ this.entities = params.entities;
47965
+ this.media = params.media;
47966
+ this.privacy = params.privacy;
47967
+ this.views = params.views;
47968
+ }
47969
+ }
47970
+ export class UserStories extends TypeUserStories {
47971
+ get [id]() {
47972
+ return 0x8611A200;
47973
+ }
47974
+ static get [paramDesc]() {
47975
+ return [
47976
+ ["flags", flags, "#"],
47977
+ ["userId", "bigint", "long"],
47978
+ ["maxReadId", "number", "flags.0?int"],
47979
+ ["stories", [TypeStoryItem], "Vector<StoryItem>"],
47980
+ ];
47981
+ }
47982
+ get [params]() {
47983
+ return [
47984
+ ["flags", flags, "#"],
47985
+ [this.userId, "bigint", "long"],
47986
+ [this.maxReadId ?? null, "number", "flags.0?int"],
47987
+ [this.stories, [TypeStoryItem], "Vector<StoryItem>"],
47988
+ ];
47989
+ }
47990
+ constructor(params) {
47991
+ super();
47992
+ Object.defineProperty(this, "userId", {
47993
+ enumerable: true,
47994
+ configurable: true,
47995
+ writable: true,
47996
+ value: void 0
47997
+ });
47998
+ Object.defineProperty(this, "maxReadId", {
47999
+ enumerable: true,
48000
+ configurable: true,
48001
+ writable: true,
48002
+ value: void 0
48003
+ });
48004
+ Object.defineProperty(this, "stories", {
48005
+ enumerable: true,
48006
+ configurable: true,
48007
+ writable: true,
48008
+ value: void 0
48009
+ });
48010
+ this.userId = params.userId;
48011
+ this.maxReadId = params.maxReadId;
48012
+ this.stories = params.stories;
48013
+ }
48014
+ }
48015
+ export class StoriesAllStoriesNotModified extends TypeStoriesAllStories {
48016
+ get [id]() {
48017
+ return 0x47E0A07E;
48018
+ }
48019
+ static get [paramDesc]() {
48020
+ return [
48021
+ ["state", "string", "string"],
48022
+ ];
48023
+ }
48024
+ get [params]() {
48025
+ return [
48026
+ [this.state, "string", "string"],
48027
+ ];
48028
+ }
48029
+ constructor(params) {
48030
+ super();
48031
+ Object.defineProperty(this, "state", {
48032
+ enumerable: true,
48033
+ configurable: true,
48034
+ writable: true,
48035
+ value: void 0
48036
+ });
48037
+ this.state = params.state;
48038
+ }
48039
+ }
48040
+ export class StoriesAllStories extends TypeStoriesAllStories {
48041
+ get [id]() {
48042
+ return 0x839E0428;
48043
+ }
48044
+ static get [paramDesc]() {
48045
+ return [
48046
+ ["flags", flags, "#"],
48047
+ ["hasMore", "true", "flags.0?true"],
48048
+ ["count", "number", "int"],
48049
+ ["state", "string", "string"],
48050
+ ["userStories", [TypeUserStories], "Vector<UserStories>"],
48051
+ ["users", [TypeUser], "Vector<User>"],
48052
+ ];
48053
+ }
48054
+ get [params]() {
48055
+ return [
48056
+ ["flags", flags, "#"],
48057
+ [this.hasMore ?? null, "true", "flags.0?true"],
48058
+ [this.count, "number", "int"],
48059
+ [this.state, "string", "string"],
48060
+ [this.userStories, [TypeUserStories], "Vector<UserStories>"],
48061
+ [this.users, [TypeUser], "Vector<User>"],
48062
+ ];
48063
+ }
48064
+ constructor(params) {
48065
+ super();
48066
+ Object.defineProperty(this, "hasMore", {
48067
+ enumerable: true,
48068
+ configurable: true,
48069
+ writable: true,
48070
+ value: void 0
48071
+ });
48072
+ Object.defineProperty(this, "count", {
48073
+ enumerable: true,
48074
+ configurable: true,
48075
+ writable: true,
48076
+ value: void 0
48077
+ });
48078
+ Object.defineProperty(this, "state", {
48079
+ enumerable: true,
48080
+ configurable: true,
48081
+ writable: true,
48082
+ value: void 0
48083
+ });
48084
+ Object.defineProperty(this, "userStories", {
48085
+ enumerable: true,
48086
+ configurable: true,
48087
+ writable: true,
48088
+ value: void 0
48089
+ });
48090
+ Object.defineProperty(this, "users", {
48091
+ enumerable: true,
48092
+ configurable: true,
48093
+ writable: true,
48094
+ value: void 0
48095
+ });
48096
+ this.hasMore = params.hasMore;
48097
+ this.count = params.count;
48098
+ this.state = params.state;
48099
+ this.userStories = params.userStories;
48100
+ this.users = params.users;
48101
+ }
48102
+ }
48103
+ export class StoriesStories extends TypeStoriesStories {
48104
+ get [id]() {
48105
+ return 0x4FE57DF1;
48106
+ }
48107
+ static get [paramDesc]() {
48108
+ return [
48109
+ ["count", "number", "int"],
48110
+ ["stories", [TypeStoryItem], "Vector<StoryItem>"],
48111
+ ["users", [TypeUser], "Vector<User>"],
48112
+ ];
48113
+ }
48114
+ get [params]() {
48115
+ return [
48116
+ [this.count, "number", "int"],
48117
+ [this.stories, [TypeStoryItem], "Vector<StoryItem>"],
48118
+ [this.users, [TypeUser], "Vector<User>"],
48119
+ ];
48120
+ }
48121
+ constructor(params) {
48122
+ super();
48123
+ Object.defineProperty(this, "count", {
48124
+ enumerable: true,
48125
+ configurable: true,
48126
+ writable: true,
48127
+ value: void 0
48128
+ });
48129
+ Object.defineProperty(this, "stories", {
48130
+ enumerable: true,
48131
+ configurable: true,
48132
+ writable: true,
48133
+ value: void 0
48134
+ });
48135
+ Object.defineProperty(this, "users", {
48136
+ enumerable: true,
48137
+ configurable: true,
48138
+ writable: true,
48139
+ value: void 0
48140
+ });
48141
+ this.count = params.count;
48142
+ this.stories = params.stories;
48143
+ this.users = params.users;
48144
+ }
48145
+ }
48146
+ export class StoriesUserStories extends TypeStoriesUserStories {
48147
+ get [id]() {
48148
+ return 0x37A6FF5F;
48149
+ }
48150
+ static get [paramDesc]() {
48151
+ return [
48152
+ ["stories", TypeUserStories, "UserStories"],
48153
+ ["users", [TypeUser], "Vector<User>"],
48154
+ ];
48155
+ }
48156
+ get [params]() {
48157
+ return [
48158
+ [this.stories, TypeUserStories, "UserStories"],
48159
+ [this.users, [TypeUser], "Vector<User>"],
48160
+ ];
48161
+ }
48162
+ constructor(params) {
48163
+ super();
48164
+ Object.defineProperty(this, "stories", {
48165
+ enumerable: true,
48166
+ configurable: true,
48167
+ writable: true,
48168
+ value: void 0
48169
+ });
48170
+ Object.defineProperty(this, "users", {
48171
+ enumerable: true,
48172
+ configurable: true,
48173
+ writable: true,
48174
+ value: void 0
48175
+ });
48176
+ this.stories = params.stories;
48177
+ this.users = params.users;
48178
+ }
48179
+ }
48180
+ export class StoryView extends TypeStoryView {
48181
+ get [id]() {
48182
+ return 0xA71AACC2;
48183
+ }
48184
+ static get [paramDesc]() {
48185
+ return [
48186
+ ["userId", "bigint", "long"],
48187
+ ["date", "number", "int"],
48188
+ ];
48189
+ }
48190
+ get [params]() {
48191
+ return [
48192
+ [this.userId, "bigint", "long"],
48193
+ [this.date, "number", "int"],
48194
+ ];
48195
+ }
48196
+ constructor(params) {
48197
+ super();
48198
+ Object.defineProperty(this, "userId", {
48199
+ enumerable: true,
48200
+ configurable: true,
48201
+ writable: true,
48202
+ value: void 0
48203
+ });
48204
+ Object.defineProperty(this, "date", {
48205
+ enumerable: true,
48206
+ configurable: true,
48207
+ writable: true,
48208
+ value: void 0
48209
+ });
48210
+ this.userId = params.userId;
48211
+ this.date = params.date;
48212
+ }
48213
+ }
48214
+ export class StoriesStoryViewsList extends TypeStoriesStoryViewsList {
48215
+ get [id]() {
48216
+ return 0xFB3F77AC;
48217
+ }
48218
+ static get [paramDesc]() {
48219
+ return [
48220
+ ["count", "number", "int"],
48221
+ ["views", [TypeStoryView], "Vector<StoryView>"],
48222
+ ["users", [TypeUser], "Vector<User>"],
48223
+ ];
48224
+ }
48225
+ get [params]() {
48226
+ return [
48227
+ [this.count, "number", "int"],
48228
+ [this.views, [TypeStoryView], "Vector<StoryView>"],
48229
+ [this.users, [TypeUser], "Vector<User>"],
48230
+ ];
48231
+ }
48232
+ constructor(params) {
48233
+ super();
48234
+ Object.defineProperty(this, "count", {
48235
+ enumerable: true,
48236
+ configurable: true,
48237
+ writable: true,
48238
+ value: void 0
48239
+ });
48240
+ Object.defineProperty(this, "views", {
48241
+ enumerable: true,
48242
+ configurable: true,
48243
+ writable: true,
48244
+ value: void 0
48245
+ });
48246
+ Object.defineProperty(this, "users", {
48247
+ enumerable: true,
48248
+ configurable: true,
48249
+ writable: true,
48250
+ value: void 0
48251
+ });
48252
+ this.count = params.count;
48253
+ this.views = params.views;
48254
+ this.users = params.users;
48255
+ }
48256
+ }
48257
+ export class StoriesStoryViews extends TypeStoriesStoryViews {
48258
+ get [id]() {
48259
+ return 0xDE9EED1D;
48260
+ }
48261
+ static get [paramDesc]() {
48262
+ return [
48263
+ ["views", [TypeStoryViews], "Vector<StoryViews>"],
48264
+ ["users", [TypeUser], "Vector<User>"],
48265
+ ];
48266
+ }
48267
+ get [params]() {
48268
+ return [
48269
+ [this.views, [TypeStoryViews], "Vector<StoryViews>"],
48270
+ [this.users, [TypeUser], "Vector<User>"],
48271
+ ];
48272
+ }
48273
+ constructor(params) {
48274
+ super();
48275
+ Object.defineProperty(this, "views", {
48276
+ enumerable: true,
48277
+ configurable: true,
48278
+ writable: true,
48279
+ value: void 0
48280
+ });
48281
+ Object.defineProperty(this, "users", {
48282
+ enumerable: true,
48283
+ configurable: true,
48284
+ writable: true,
48285
+ value: void 0
48286
+ });
48287
+ this.views = params.views;
48288
+ this.users = params.users;
48289
+ }
48290
+ }
48291
+ export class InputReplyToMessage extends TypeInputReplyTo {
48292
+ get [id]() {
48293
+ return 0x9C5386E4;
48294
+ }
48295
+ static get [paramDesc]() {
48296
+ return [
48297
+ ["flags", flags, "#"],
48298
+ ["replyToMsgId", "number", "int"],
48299
+ ["topMsgId", "number", "flags.0?int"],
48300
+ ];
48301
+ }
48302
+ get [params]() {
48303
+ return [
48304
+ ["flags", flags, "#"],
48305
+ [this.replyToMsgId, "number", "int"],
48306
+ [this.topMsgId ?? null, "number", "flags.0?int"],
48307
+ ];
48308
+ }
48309
+ constructor(params) {
48310
+ super();
48311
+ Object.defineProperty(this, "replyToMsgId", {
48312
+ enumerable: true,
48313
+ configurable: true,
48314
+ writable: true,
48315
+ value: void 0
48316
+ });
48317
+ Object.defineProperty(this, "topMsgId", {
48318
+ enumerable: true,
48319
+ configurable: true,
48320
+ writable: true,
48321
+ value: void 0
48322
+ });
48323
+ this.replyToMsgId = params.replyToMsgId;
48324
+ this.topMsgId = params.topMsgId;
48325
+ }
48326
+ }
48327
+ export class InputReplyToStory extends TypeInputReplyTo {
48328
+ get [id]() {
48329
+ return 0x15B0F283;
48330
+ }
48331
+ static get [paramDesc]() {
48332
+ return [
48333
+ ["userId", TypeInputUser, "InputUser"],
48334
+ ["storyId", "number", "int"],
48335
+ ];
48336
+ }
48337
+ get [params]() {
48338
+ return [
48339
+ [this.userId, TypeInputUser, "InputUser"],
48340
+ [this.storyId, "number", "int"],
48341
+ ];
48342
+ }
48343
+ constructor(params) {
48344
+ super();
48345
+ Object.defineProperty(this, "userId", {
48346
+ enumerable: true,
48347
+ configurable: true,
48348
+ writable: true,
48349
+ value: void 0
48350
+ });
48351
+ Object.defineProperty(this, "storyId", {
48352
+ enumerable: true,
48353
+ configurable: true,
48354
+ writable: true,
48355
+ value: void 0
48356
+ });
48357
+ this.userId = params.userId;
48358
+ this.storyId = params.storyId;
48359
+ }
48360
+ }
48361
+ export class ExportedStoryLink extends TypeExportedStoryLink {
48362
+ get [id]() {
48363
+ return 0x3FC9053B;
48364
+ }
48365
+ static get [paramDesc]() {
48366
+ return [
48367
+ ["link", "string", "string"],
48368
+ ];
48369
+ }
48370
+ get [params]() {
48371
+ return [
48372
+ [this.link, "string", "string"],
48373
+ ];
48374
+ }
48375
+ constructor(params) {
48376
+ super();
48377
+ Object.defineProperty(this, "link", {
48378
+ enumerable: true,
48379
+ configurable: true,
48380
+ writable: true,
48381
+ value: void 0
48382
+ });
48383
+ this.link = params.link;
48384
+ }
48385
+ }
47073
48386
  export const map = new Map([
47074
48387
  [0x05162463, ResPQ],
47075
48388
  [0xA9F55F95, PQInnerDataDC],
@@ -47137,6 +48450,7 @@ export const map = new Map([
47137
48450
  [0x971FA843, InputMediaGeoLive],
47138
48451
  [0x0F94E5F1, InputMediaPoll],
47139
48452
  [0xE66FBF7B, InputMediaDice],
48453
+ [0x9A86B58F, InputMediaStory],
47140
48454
  [0x1CA48F57, InputChatPhotoEmpty],
47141
48455
  [0xBDCDAEC0, InputChatUploadedPhoto],
47142
48456
  [0x8953AD37, InputChatPhoto],
@@ -47168,7 +48482,7 @@ export const map = new Map([
47168
48482
  [0xB3CEA0E4, StorageFileMp4],
47169
48483
  [0x1081464C, StorageFileWebp],
47170
48484
  [0xD3BC4B7A, UserEmpty],
47171
- [0x8F97C628, User],
48485
+ [0xABB5F120, User],
47172
48486
  [0x4F11BAE1, UserProfilePhotoEmpty],
47173
48487
  [0x82D1F706, UserProfilePhoto],
47174
48488
  [0x09D05049, UserStatusEmpty],
@@ -47199,7 +48513,7 @@ export const map = new Map([
47199
48513
  [0x56E0D474, MessageMediaGeo],
47200
48514
  [0x70322949, MessageMediaContact],
47201
48515
  [0x9F84F49E, MessageMediaUnsupported],
47202
- [0x9CB070D7, MessageMediaDocument],
48516
+ [0x4CF4D72D, MessageMediaDocument],
47203
48517
  [0xA32DD600, MessageMediaWebPage],
47204
48518
  [0x2EC0533F, MessageMediaVenue],
47205
48519
  [0xFDB19008, MessageMediaGame],
@@ -47207,6 +48521,7 @@ export const map = new Map([
47207
48521
  [0xB940C666, MessageMediaGeoLive],
47208
48522
  [0x4BD6E798, MessageMediaPoll],
47209
48523
  [0x3F7EE58B, MessageMediaDice],
48524
+ [0xCBB20D88, MessageMediaStory],
47210
48525
  [0xB6AEF7B0, MessageActionEmpty],
47211
48526
  [0xBD47CBAD, MessageActionChatCreate],
47212
48527
  [0xB5A1CE5A, MessageActionChatEditTitle],
@@ -47268,8 +48583,8 @@ export const map = new Map([
47268
48583
  [0x4A95E84E, InputNotifyChats],
47269
48584
  [0xB1DB7C7E, InputNotifyBroadcasts],
47270
48585
  [0x5C467992, InputNotifyForumTopic],
47271
- [0xDF1F002B, InputPeerNotifySettings],
47272
- [0xA83B0426, PeerNotifySettings],
48586
+ [0xCACB6AE2, InputPeerNotifySettings],
48587
+ [0x99622C0C, PeerNotifySettings],
47273
48588
  [0xA518110D, PeerSettings],
47274
48589
  [0xA437C3ED, WallPaper],
47275
48590
  [0xE0804116, WallPaperNoFile],
@@ -47283,7 +48598,7 @@ export const map = new Map([
47283
48598
  [0xF5DDD6E7, InputReportReasonFake],
47284
48599
  [0x0A8EB2BE, InputReportReasonIllegalDrugs],
47285
48600
  [0x9EC7863D, InputReportReasonPersonalDetails],
47286
- [0x93EADB53, UserFull],
48601
+ [0x4FE1CC86, UserFull],
47287
48602
  [0x145ADE0B, Contact],
47288
48603
  [0xC13E3C50, ImportedContact],
47289
48604
  [0x16D9703B, ContactStatus],
@@ -47391,7 +48706,7 @@ export const map = new Map([
47391
48706
  [0x8216FBA3, UpdateTheme],
47392
48707
  [0x871FB939, UpdateGeoLiveViewed],
47393
48708
  [0x564FE691, UpdateLoginToken],
47394
- [0x106395C9, UpdateMessagePollVote],
48709
+ [0x24F40E77, UpdateMessagePollVote],
47395
48710
  [0x26FFDE7D, UpdateDialogFilter],
47396
48711
  [0xA5D72105, UpdateDialogFilterOrder],
47397
48712
  [0x3504914F, UpdateDialogFilters],
@@ -47431,6 +48746,9 @@ export const map = new Map([
47431
48746
  [0x20529438, UpdateUser],
47432
48747
  [0xEC05B097, UpdateAutoSaveSettings],
47433
48748
  [0xCCF08AD6, UpdateGroupInvitePrivacyForbidden],
48749
+ [0x205A4133, UpdateStory],
48750
+ [0xFEB5345A, UpdateReadStories],
48751
+ [0x1BF335B9, UpdateStoryID],
47434
48752
  [0xA56C2A3E, UpdatesState],
47435
48753
  [0x5D75A138, UpdatesDifferenceEmpty],
47436
48754
  [0x00F49CA0, UpdatesDifference],
@@ -47510,6 +48828,7 @@ export const map = new Map([
47510
48828
  [0x0352DAFA, InputPrivacyKeyPhoneNumber],
47511
48829
  [0xD1219BDD, InputPrivacyKeyAddedByPhone],
47512
48830
  [0xAEE69D68, InputPrivacyKeyVoiceMessages],
48831
+ [0x3823CC40, InputPrivacyKeyAbout],
47513
48832
  [0xBC2EAB30, PrivacyKeyStatusTimestamp],
47514
48833
  [0x500E6DFA, PrivacyKeyChatInvite],
47515
48834
  [0x3D662B7B, PrivacyKeyPhoneCall],
@@ -47519,6 +48838,7 @@ export const map = new Map([
47519
48838
  [0xD19AE46D, PrivacyKeyPhoneNumber],
47520
48839
  [0x42FFD42B, PrivacyKeyAddedByPhone],
47521
48840
  [0x0697F414, PrivacyKeyVoiceMessages],
48841
+ [0xA486B761, PrivacyKeyAbout],
47522
48842
  [0x0D09E07B, InputPrivacyValueAllowContacts],
47523
48843
  [0x184B35CE, InputPrivacyValueAllowAll],
47524
48844
  [0x131CC67F, InputPrivacyValueAllowUsers],
@@ -47527,6 +48847,7 @@ export const map = new Map([
47527
48847
  [0x90110467, InputPrivacyValueDisallowUsers],
47528
48848
  [0x840649CF, InputPrivacyValueAllowChatParticipants],
47529
48849
  [0xE94F0F86, InputPrivacyValueDisallowChatParticipants],
48850
+ [0x2F453E49, InputPrivacyValueAllowCloseFriends],
47530
48851
  [0xFFFE1BAC, PrivacyValueAllowContacts],
47531
48852
  [0x65427B82, PrivacyValueAllowAll],
47532
48853
  [0xB8905FB2, PrivacyValueAllowUsers],
@@ -47535,12 +48856,13 @@ export const map = new Map([
47535
48856
  [0xE4621141, PrivacyValueDisallowUsers],
47536
48857
  [0x6B134E8E, PrivacyValueAllowChatParticipants],
47537
48858
  [0x41C87565, PrivacyValueDisallowChatParticipants],
48859
+ [0xF7E8D89B, PrivacyValueAllowCloseFriends],
47538
48860
  [0x50A04E45, AccountPrivacyRules],
47539
48861
  [0xB8D0AFDF, AccountDaysTTL],
47540
48862
  [0x6C37C15C, DocumentAttributeImageSize],
47541
48863
  [0x11B58939, DocumentAttributeAnimated],
47542
48864
  [0x6319D612, DocumentAttributeSticker],
47543
- [0x0EF02CE6, DocumentAttributeVideo],
48865
+ [0xD38FF1C2, DocumentAttributeVideo],
47544
48866
  [0x9852F9C6, DocumentAttributeAudio],
47545
48867
  [0x15590068, DocumentAttributeFilename],
47546
48868
  [0x9801D2F7, DocumentAttributeHasStickers],
@@ -47972,7 +49294,7 @@ export const map = new Map([
47972
49294
  [0x6CA9C2E9, PollAnswer],
47973
49295
  [0x86E18161, Poll],
47974
49296
  [0x3B6DDAD2, PollAnswerVoters],
47975
- [0xDCB82EA3, PollResults],
49297
+ [0x7ADF2420, PollResults],
47976
49298
  [0xF041E250, ChatOnlines],
47977
49299
  [0x47A971E0, StatsURL],
47978
49300
  [0x5FB224D5, ChatAdminRights],
@@ -47984,7 +49306,7 @@ export const map = new Map([
47984
49306
  [0xCDC3858C, AccountWallPapers],
47985
49307
  [0xAD253D78, CodeSettings],
47986
49308
  [0x1DC1BCA4, WallPaperSettings],
47987
- [0x8EFAB953, AutoDownloadSettings],
49309
+ [0xBAA57628, AutoDownloadSettings],
47988
49310
  [0x63CACF26, AccountAutoDownloadSettings],
47989
49311
  [0xD5B3B9F9, EmojiKeyword],
47990
49312
  [0x236DF622, EmojiKeywordDeleted],
@@ -48021,10 +49343,8 @@ export const map = new Map([
48021
49343
  [0x8FDE504F, InputThemeSettings],
48022
49344
  [0xFA58B6D4, ThemeSettings],
48023
49345
  [0x54B56617, WebPageAttributeTheme],
48024
- [0x34D247B4, MessageUserVote],
48025
- [0x3CA5B0EC, MessageUserVoteInputOption],
48026
- [0x8A65E557, MessageUserVoteMultiple],
48027
- [0x0823F649, MessagesVotesList],
49346
+ [0x939A4671, WebPageAttributeStory],
49347
+ [0x4899484E, MessagesVotesList],
48028
49348
  [0xF568028A, BankCardOpenURL],
48029
49349
  [0x3E24E573, PaymentsBankCardData],
48030
49350
  [0x7438F7E8, DialogFilter],
@@ -48048,7 +49368,7 @@ export const map = new Map([
48048
49368
  [0xD7584C87, StatsGroupTopAdmin],
48049
49369
  [0x535F779D, StatsGroupTopInviter],
48050
49370
  [0xEF7FF916, StatsMegagroupStats],
48051
- [0xBEA2F424, GlobalPrivacySettings],
49371
+ [0x734C4CCB, GlobalPrivacySettings],
48052
49372
  [0x4203C5EF, HelpCountryCode],
48053
49373
  [0xC3878E23, HelpCountry],
48054
49374
  [0x93CC1F32, HelpCountriesListNotModified],
@@ -48057,6 +49377,7 @@ export const map = new Map([
48057
49377
  [0xB6C4F543, MessagesMessageViews],
48058
49378
  [0xA6341782, MessagesDiscussionMessage],
48059
49379
  [0xA6D57763, MessageReplyHeader],
49380
+ [0x9C98BFC1, MessageReplyStoryHeader],
48060
49381
  [0x83D60FC2, MessageReplies],
48061
49382
  [0xE8FD8014, PeerBlocked],
48062
49383
  [0x8999F295, StatsMessageStats],
@@ -48098,7 +49419,7 @@ export const map = new Map([
48098
49419
  [0xE3779861, AccountResetPasswordFailedWait],
48099
49420
  [0xE9EFFC7D, AccountResetPasswordRequestedWait],
48100
49421
  [0xE926D63E, AccountResetPasswordOk],
48101
- [0xFC25B828, SponsoredMessage],
49422
+ [0xDAAFFF6B, SponsoredMessage],
48102
49423
  [0xC9EE1D87, MessagesSponsoredMessages],
48103
49424
  [0x1839490F, MessagesSponsoredMessagesEmpty],
48104
49425
  [0xC9B0539F, SearchResultsCalendarPeriod],
@@ -48216,5 +49537,24 @@ export const map = new Map([
48216
49537
  [0x1DCD839D, ChatlistsChatlistInvite],
48217
49538
  [0x93BD878D, ChatlistsChatlistUpdates],
48218
49539
  [0xE8A775B0, BotsBotInfo],
49540
+ [0xB6CC2D5C, MessagePeerVote],
49541
+ [0x74CDA504, MessagePeerVoteInputOption],
49542
+ [0x4628F6E6, MessagePeerVoteMultiple],
49543
+ [0x3DB8EC63, SponsoredWebPage],
49544
+ [0xD36760CF, StoryViews],
49545
+ [0x51E6EE4F, StoryItemDeleted],
49546
+ [0xFFADC913, StoryItemSkipped],
49547
+ [0x562AA637, StoryItem],
49548
+ [0x8611A200, UserStories],
49549
+ [0x47E0A07E, StoriesAllStoriesNotModified],
49550
+ [0x839E0428, StoriesAllStories],
49551
+ [0x4FE57DF1, StoriesStories],
49552
+ [0x37A6FF5F, StoriesUserStories],
49553
+ [0xA71AACC2, StoryView],
49554
+ [0xFB3F77AC, StoriesStoryViewsList],
49555
+ [0xDE9EED1D, StoriesStoryViews],
49556
+ [0x9C5386E4, InputReplyToMessage],
49557
+ [0x15B0F283, InputReplyToStory],
49558
+ [0x3FC9053B, ExportedStoryLink],
48219
49559
  // deno-lint-ignore no-explicit-any
48220
49560
  ]);