@mtcute/tl 209.0.0 → 211.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/compat/index.d.ts CHANGED
@@ -21,9 +21,11 @@ export declare namespace tlCompat {
21
21
  * Compared to the current schema, changes from this entry:
22
22
  *
23
23
  * Added arguments:
24
+ * require_premium: flags.6?true
25
+ * resale_ton_only: flags.7?true
24
26
  * owner_address: flags.2?string
25
27
  * gift_address: flags.3?string
26
- * resell_stars: flags.4?long
28
+ * resell_amount: flags.4?Vector<StarsAmount>
27
29
  * released_by: flags.5?Peer
28
30
  * Changed arguments:
29
31
  * owner_id: flags.0?int53 => flags.0?Peer
@@ -149,7 +151,7 @@ export declare namespace tlCompat {
149
151
  * from_id: flags.6?Peer
150
152
  * peer: flags.7?Peer
151
153
  * saved_id: flags.7?long
152
- * resale_stars: flags.8?long
154
+ * resale_amount: flags.8?StarsAmount
153
155
  * can_transfer_at: flags.9?int
154
156
  * can_resell_at: flags.10?int
155
157
  */
@@ -189,8 +191,10 @@ export declare namespace tlCompat {
189
191
  * Compared to the current schema, changes from this entry:
190
192
  *
191
193
  * Added arguments:
194
+ * require_premium: flags.6?true
195
+ * resale_ton_only: flags.7?true
192
196
  * gift_address: flags.3?string
193
- * resell_stars: flags.4?long
197
+ * resell_amount: flags.4?Vector<StarsAmount>
194
198
  * released_by: flags.5?Peer
195
199
  */
196
200
  interface RawStarGiftUnique_layer198 {
@@ -213,6 +217,9 @@ export declare namespace tlCompat {
213
217
  * display_gifts_button: flags2.16?true
214
218
  * send_paid_messages_stars: flags2.14?long
215
219
  * disallowed_gifts: flags2.15?DisallowedGiftsSettings
220
+ * stars_rating: flags2.17?StarsRating
221
+ * stars_my_pending_rating: flags2.18?StarsRating
222
+ * stars_my_pending_rating_date: flags2.18?int
216
223
  * Removed arguments: premium_gifts
217
224
  */
218
225
  interface RawUserFull_layer199 {
@@ -432,6 +439,9 @@ export declare namespace tlCompat {
432
439
  * Added arguments:
433
440
  * display_gifts_button: flags2.16?true
434
441
  * disallowed_gifts: flags2.15?DisallowedGiftsSettings
442
+ * stars_rating: flags2.17?StarsRating
443
+ * stars_my_pending_rating: flags2.18?StarsRating
444
+ * stars_my_pending_rating_date: flags2.18?int
435
445
  */
436
446
  interface RawUserFull_layer200 {
437
447
  _: 'userFull_layer200';
@@ -486,7 +496,9 @@ export declare namespace tlCompat {
486
496
  * Compared to the current schema, changes from this entry:
487
497
  *
488
498
  * Added arguments:
489
- * resell_stars: flags.4?long
499
+ * require_premium: flags.6?true
500
+ * resale_ton_only: flags.7?true
501
+ * resell_amount: flags.4?Vector<StarsAmount>
490
502
  * released_by: flags.5?Peer
491
503
  */
492
504
  interface RawStarGiftUnique_layer202 {
@@ -507,10 +519,14 @@ export declare namespace tlCompat {
507
519
  * Compared to the current schema, changes from this entry:
508
520
  *
509
521
  * Added arguments:
522
+ * require_premium: flags.7?true
523
+ * limited_per_user: flags.8?true
510
524
  * availability_resale: flags.4?long
511
525
  * resell_min_stars: flags.4?long
512
526
  * title: flags.5?string
513
527
  * released_by: flags.6?Peer
528
+ * per_user_total: flags.8?int
529
+ * per_user_remains: flags.8?int
514
530
  */
515
531
  interface RawStarGift_layer202 {
516
532
  _: 'starGift_layer202';
@@ -531,7 +547,7 @@ export declare namespace tlCompat {
531
547
  * Compared to the current schema, changes from this entry:
532
548
  *
533
549
  * Added arguments:
534
- * resale_stars: flags.8?long
550
+ * resale_amount: flags.8?StarsAmount
535
551
  * can_transfer_at: flags.9?int
536
552
  * can_resell_at: flags.10?int
537
553
  */
@@ -776,7 +792,11 @@ export declare namespace tlCompat {
776
792
  * Compared to the current schema, changes from this entry:
777
793
  *
778
794
  * Added arguments:
795
+ * require_premium: flags.6?true
796
+ * resale_ton_only: flags.7?true
797
+ * resell_amount: flags.4?Vector<StarsAmount>
779
798
  * released_by: flags.5?Peer
799
+ * Removed arguments: resell_stars
780
800
  */
781
801
  interface RawStarGiftUnique_layer206 {
782
802
  _: 'starGiftUnique_layer206';
@@ -797,7 +817,11 @@ export declare namespace tlCompat {
797
817
  * Compared to the current schema, changes from this entry:
798
818
  *
799
819
  * Added arguments:
820
+ * require_premium: flags.7?true
821
+ * limited_per_user: flags.8?true
800
822
  * released_by: flags.6?Peer
823
+ * per_user_total: flags.8?int
824
+ * per_user_remains: flags.8?int
801
825
  */
802
826
  interface RawStarGift_layer206 {
803
827
  _: 'starGift_layer206';
@@ -837,19 +861,244 @@ export declare namespace tlCompat {
837
861
  quoteEntities?: tl.TypeMessageEntity[];
838
862
  quoteOffset?: number;
839
863
  }
864
+ /**
865
+ * Compared to the current schema, changes from this entry:
866
+ *
867
+ * Added arguments:
868
+ * stars_rating: flags2.17?StarsRating
869
+ * stars_my_pending_rating: flags2.18?StarsRating
870
+ * stars_my_pending_rating_date: flags2.18?int
871
+ */
872
+ interface RawUserFull_layer209 {
873
+ _: 'userFull_layer209';
874
+ blocked?: boolean;
875
+ phoneCallsAvailable?: boolean;
876
+ phoneCallsPrivate?: boolean;
877
+ canPinMessage?: boolean;
878
+ hasScheduled?: boolean;
879
+ videoCallsAvailable?: boolean;
880
+ voiceMessagesForbidden?: boolean;
881
+ translationsDisabled?: boolean;
882
+ storiesPinnedAvailable?: boolean;
883
+ blockedMyStoriesFrom?: boolean;
884
+ wallpaperOverridden?: boolean;
885
+ contactRequirePremium?: boolean;
886
+ readDatesPrivate?: boolean;
887
+ sponsoredEnabled?: boolean;
888
+ canViewRevenue?: boolean;
889
+ botCanManageEmojiStatus?: boolean;
890
+ displayGiftsButton?: boolean;
891
+ id: number;
892
+ about?: string;
893
+ settings: tl.TypePeerSettings;
894
+ personalPhoto?: tl.TypePhoto;
895
+ profilePhoto?: tl.TypePhoto;
896
+ fallbackPhoto?: tl.TypePhoto;
897
+ notifySettings: tl.TypePeerNotifySettings;
898
+ botInfo?: tl.TypeBotInfo;
899
+ pinnedMsgId?: number;
900
+ commonChatsCount: number;
901
+ folderId?: number;
902
+ ttlPeriod?: number;
903
+ themeEmoticon?: string;
904
+ privateForwardName?: string;
905
+ botGroupAdminRights?: tl.TypeChatAdminRights;
906
+ botBroadcastAdminRights?: tl.TypeChatAdminRights;
907
+ wallpaper?: tl.TypeWallPaper;
908
+ stories?: tl.TypePeerStories;
909
+ businessWorkHours?: tl.TypeBusinessWorkHours;
910
+ businessLocation?: tl.TypeBusinessLocation;
911
+ businessGreetingMessage?: tl.TypeBusinessGreetingMessage;
912
+ businessAwayMessage?: tl.TypeBusinessAwayMessage;
913
+ businessIntro?: tl.TypeBusinessIntro;
914
+ birthday?: tl.TypeBirthday;
915
+ personalChannelId?: number;
916
+ personalChannelMessage?: number;
917
+ stargiftsCount?: number;
918
+ starrefProgram?: tl.TypeStarRefProgram;
919
+ botVerification?: tl.TypeBotVerification;
920
+ sendPaidMessagesStars?: Long;
921
+ disallowedGifts?: tl.TypeDisallowedGiftsSettings;
922
+ }
923
+ /**
924
+ * Compared to the current schema, changes from this entry:
925
+ *
926
+ * Added arguments:
927
+ * require_premium: flags.7?true
928
+ * limited_per_user: flags.8?true
929
+ * per_user_total: flags.8?int
930
+ * per_user_remains: flags.8?int
931
+ */
932
+ interface RawStarGift_layer209 {
933
+ _: 'starGift_layer209';
934
+ limited?: boolean;
935
+ soldOut?: boolean;
936
+ birthday?: boolean;
937
+ id: Long;
938
+ sticker: tl.TypeDocument;
939
+ stars: Long;
940
+ availabilityRemains?: number;
941
+ availabilityTotal?: number;
942
+ availabilityResale?: Long;
943
+ convertStars: Long;
944
+ firstSaleDate?: number;
945
+ lastSaleDate?: number;
946
+ upgradeStars?: Long;
947
+ resellMinStars?: Long;
948
+ title?: string;
949
+ releasedBy?: tl.TypePeer;
950
+ }
951
+ /**
952
+ * Compared to the current schema, changes from this entry:
953
+ *
954
+ * Added arguments:
955
+ * stars_my_pending_rating: flags2.18?StarsRating
956
+ * stars_my_pending_rating_date: flags2.18?int
957
+ */
958
+ interface RawUserFull_layer210 {
959
+ _: 'userFull_layer210';
960
+ blocked?: boolean;
961
+ phoneCallsAvailable?: boolean;
962
+ phoneCallsPrivate?: boolean;
963
+ canPinMessage?: boolean;
964
+ hasScheduled?: boolean;
965
+ videoCallsAvailable?: boolean;
966
+ voiceMessagesForbidden?: boolean;
967
+ translationsDisabled?: boolean;
968
+ storiesPinnedAvailable?: boolean;
969
+ blockedMyStoriesFrom?: boolean;
970
+ wallpaperOverridden?: boolean;
971
+ contactRequirePremium?: boolean;
972
+ readDatesPrivate?: boolean;
973
+ sponsoredEnabled?: boolean;
974
+ canViewRevenue?: boolean;
975
+ botCanManageEmojiStatus?: boolean;
976
+ displayGiftsButton?: boolean;
977
+ id: number;
978
+ about?: string;
979
+ settings: tl.TypePeerSettings;
980
+ personalPhoto?: tl.TypePhoto;
981
+ profilePhoto?: tl.TypePhoto;
982
+ fallbackPhoto?: tl.TypePhoto;
983
+ notifySettings: tl.TypePeerNotifySettings;
984
+ botInfo?: tl.TypeBotInfo;
985
+ pinnedMsgId?: number;
986
+ commonChatsCount: number;
987
+ folderId?: number;
988
+ ttlPeriod?: number;
989
+ themeEmoticon?: string;
990
+ privateForwardName?: string;
991
+ botGroupAdminRights?: tl.TypeChatAdminRights;
992
+ botBroadcastAdminRights?: tl.TypeChatAdminRights;
993
+ wallpaper?: tl.TypeWallPaper;
994
+ stories?: tl.TypePeerStories;
995
+ businessWorkHours?: tl.TypeBusinessWorkHours;
996
+ businessLocation?: tl.TypeBusinessLocation;
997
+ businessGreetingMessage?: tl.TypeBusinessGreetingMessage;
998
+ businessAwayMessage?: tl.TypeBusinessAwayMessage;
999
+ businessIntro?: tl.TypeBusinessIntro;
1000
+ birthday?: tl.TypeBirthday;
1001
+ personalChannelId?: number;
1002
+ personalChannelMessage?: number;
1003
+ stargiftsCount?: number;
1004
+ starrefProgram?: tl.TypeStarRefProgram;
1005
+ botVerification?: tl.TypeBotVerification;
1006
+ sendPaidMessagesStars?: Long;
1007
+ disallowedGifts?: tl.TypeDisallowedGiftsSettings;
1008
+ starsRating?: tl.TypeStarsRating;
1009
+ }
1010
+ /**
1011
+ * Compared to the current schema, changes from this entry:
1012
+ *
1013
+ * Added arguments:
1014
+ * albums: flags.19?Vector<int>
1015
+ */
1016
+ interface RawStoryItem_layer210 {
1017
+ _: 'storyItem_layer210';
1018
+ pinned?: boolean;
1019
+ public?: boolean;
1020
+ closeFriends?: boolean;
1021
+ min?: boolean;
1022
+ noforwards?: boolean;
1023
+ edited?: boolean;
1024
+ contacts?: boolean;
1025
+ selectedContacts?: boolean;
1026
+ out?: boolean;
1027
+ id: number;
1028
+ date: number;
1029
+ fromId?: tl.TypePeer;
1030
+ fwdFrom?: tl.TypeStoryFwdHeader;
1031
+ expireDate: number;
1032
+ caption?: string;
1033
+ entities?: tl.TypeMessageEntity[];
1034
+ media: tlCompat.TypeMessageMedia;
1035
+ mediaAreas?: tl.TypeMediaArea[];
1036
+ privacy?: tl.TypePrivacyRule[];
1037
+ views?: tl.TypeStoryViews;
1038
+ sentReaction?: tl.TypeReaction;
1039
+ }
1040
+ /**
1041
+ * Compared to the current schema, changes from this entry:
1042
+ *
1043
+ * Added arguments:
1044
+ * resale_amount: flags.8?StarsAmount
1045
+ * Removed arguments: resale_stars
1046
+ */
1047
+ interface RawMessageActionStarGiftUnique_layer210 {
1048
+ _: 'messageActionStarGiftUnique_layer210';
1049
+ upgrade?: boolean;
1050
+ transferred?: boolean;
1051
+ saved?: boolean;
1052
+ refunded?: boolean;
1053
+ gift: tlCompat.TypeStarGift;
1054
+ canExportAt?: number;
1055
+ transferStars?: Long;
1056
+ fromId?: tl.TypePeer;
1057
+ peer?: tl.TypePeer;
1058
+ savedId?: Long;
1059
+ resaleStars?: Long;
1060
+ canTransferAt?: number;
1061
+ canResellAt?: number;
1062
+ }
1063
+ /**
1064
+ * Compared to the current schema, changes from this entry:
1065
+ *
1066
+ * Added arguments:
1067
+ * resale_ton_only: flags.7?true
1068
+ * resell_amount: flags.4?Vector<StarsAmount>
1069
+ * Removed arguments: resell_stars
1070
+ */
1071
+ interface RawStarGiftUnique_layer210 {
1072
+ _: 'starGiftUnique_layer210';
1073
+ requirePremium?: boolean;
1074
+ id: Long;
1075
+ title: string;
1076
+ slug: string;
1077
+ num: number;
1078
+ ownerId?: tl.TypePeer;
1079
+ ownerName?: string;
1080
+ ownerAddress?: string;
1081
+ attributes: tl.TypeStarGiftAttribute[];
1082
+ availabilityIssued: number;
1083
+ availabilityTotal: number;
1084
+ giftAddress?: string;
1085
+ resellStars?: Long;
1086
+ releasedBy?: tl.TypePeer;
1087
+ }
840
1088
  interface RpcCallReturn {
841
1089
  }
842
- type TypeStarGift = tlCompat.RawStarGiftUnique_layer197 | tlCompat.RawStarGiftUnique_layer198 | tlCompat.RawStarGiftUnique_layer202 | tlCompat.RawStarGift_layer202 | tlCompat.RawStarGiftUnique_layer206 | tlCompat.RawStarGift_layer206 | AnyToNever<tl.TypeStarGift>
1090
+ type TypeStarGift = tlCompat.RawStarGiftUnique_layer197 | tlCompat.RawStarGiftUnique_layer198 | tlCompat.RawStarGiftUnique_layer202 | tlCompat.RawStarGift_layer202 | tlCompat.RawStarGiftUnique_layer206 | tlCompat.RawStarGift_layer206 | tlCompat.RawStarGift_layer209 | tlCompat.RawStarGiftUnique_layer210 | AnyToNever<tl.TypeStarGift>
843
1091
  type TypeEmojiStatus = tlCompat.RawEmojiStatus_layer197 | AnyToNever<tl.TypeEmojiStatus>
844
1092
  type TypeMessageMedia = tlCompat.RawMessageMediaDocument_layer197 | AnyToNever<tl.TypeMessageMedia>
845
1093
  type TypeChatFull = tlCompat.RawChannelFull_layer197 | tlCompat.RawChannelFull_layer204 | AnyToNever<tl.TypeChatFull>
846
- type TypeMessageAction = tlCompat.RawMessageActionStarGiftUnique_layer197 | tlCompat.RawMessageActionStarGift_layer197 | tlCompat.RawMessageActionStarGiftUnique_layer202 | tlCompat.RawMessageActionPaidMessagesPrice_layer203 | AnyToNever<tl.TypeMessageAction>
847
- type TypeUserFull = tlCompat.RawUserFull_layer199 | tlCompat.RawUserFull_layer200 | AnyToNever<tl.TypeUserFull>
1094
+ type TypeMessageAction = tlCompat.RawMessageActionStarGiftUnique_layer197 | tlCompat.RawMessageActionStarGift_layer197 | tlCompat.RawMessageActionStarGiftUnique_layer202 | tlCompat.RawMessageActionPaidMessagesPrice_layer203 | tlCompat.RawMessageActionStarGiftUnique_layer210 | AnyToNever<tl.TypeMessageAction>
1095
+ type TypeUserFull = tlCompat.RawUserFull_layer199 | tlCompat.RawUserFull_layer200 | tlCompat.RawUserFull_layer209 | tlCompat.RawUserFull_layer210 | AnyToNever<tl.TypeUserFull>
848
1096
  type TypeUser = tlCompat.RawUser_layer199 | AnyToNever<tl.TypeUser>
849
1097
  type TypeChat = tlCompat.RawChannel_layer199 | tlCompat.RawChannel_layer203 | AnyToNever<tl.TypeChat>
850
1098
  type TypeMessage = tlCompat.RawMessage_layer199 | tlCompat.RawMessageService_layer204 | tlCompat.RawMessage_layer204 | AnyToNever<tl.TypeMessage>
851
1099
  type TypePhoneCallDiscardReason = tlCompat.RawPhoneCallDiscardReasonAllowGroupCall_layer202 | AnyToNever<tl.TypePhoneCallDiscardReason>
852
1100
  type TypeMessageReplyHeader = tlCompat.RawMessageReplyHeader_layer206 | AnyToNever<tl.TypeMessageReplyHeader>
1101
+ type TypeStoryItem = tlCompat.RawStoryItem_layer210 | AnyToNever<tl.TypeStoryItem>
853
1102
 
854
1103
  type TlObject =
855
1104
  | tlCompat.RawStarGiftUnique_layer197
@@ -876,5 +1125,11 @@ export declare namespace tlCompat {
876
1125
  | tlCompat.RawStarGiftUnique_layer206
877
1126
  | tlCompat.RawStarGift_layer206
878
1127
  | tlCompat.RawMessageReplyHeader_layer206
1128
+ | tlCompat.RawUserFull_layer209
1129
+ | tlCompat.RawStarGift_layer209
1130
+ | tlCompat.RawUserFull_layer210
1131
+ | tlCompat.RawStoryItem_layer210
1132
+ | tlCompat.RawMessageActionStarGiftUnique_layer210
1133
+ | tlCompat.RawStarGiftUnique_layer210
879
1134
  | tl.TlObject
880
1135
  }
package/compat/reader.js CHANGED
@@ -26,5 +26,11 @@ var m={
26
26
  1678891913:function(r){var flags=r.uint();return{_:'starGiftUnique_layer206',id:r.long(),title:r.string(),slug:r.string(),num:r.int(),ownerId:flags&1?r.object():void 0,ownerName:flags&2?r.string():void 0,ownerAddress:flags&4?r.string():void 0,attributes:r.vector(r.object),availabilityIssued:r.int(),availabilityTotal:r.int(),giftAddress:flags&8?r.string():void 0,resellStars:flags&16?r.long():void 0,}},
27
27
  3324693032:function(r){var flags=r.uint();return{_:'starGift_layer206',limited:!!(flags&1),soldOut:!!(flags&2),birthday:!!(flags&4),id:r.long(),sticker:r.object(),stars:r.long(),availabilityRemains:flags&1?r.int():void 0,availabilityTotal:flags&1?r.int():void 0,availabilityResale:flags&16?r.long():void 0,convertStars:r.long(),firstSaleDate:flags&2?r.int():void 0,lastSaleDate:flags&2?r.int():void 0,upgradeStars:flags&8?r.long():void 0,resellMinStars:flags&16?r.long():void 0,title:flags&32?r.string():void 0,}},
28
28
  2948336091:function(r){var flags=r.uint();return{_:'messageReplyHeader_layer206',replyToScheduled:!!(flags&4),forumTopic:!!(flags&8),quote:!!(flags&512),replyToMsgId:flags&16?r.int():void 0,replyToPeerId:flags&1?r.object():void 0,replyFrom:flags&32?r.object():void 0,replyMedia:flags&256?r.object():void 0,replyToTopId:flags&2?r.int():void 0,quoteText:flags&64?r.string():void 0,quoteEntities:flags&128?r.vector(r.object):void 0,quoteOffset:flags&1024?r.int():void 0,}},
29
+ 2582085701:function(r){var flags=r.uint(),flags2=r.uint();return{_:'userFull_layer209',blocked:!!(flags&1),phoneCallsAvailable:!!(flags&16),phoneCallsPrivate:!!(flags&32),canPinMessage:!!(flags&128),hasScheduled:!!(flags&4096),videoCallsAvailable:!!(flags&8192),voiceMessagesForbidden:!!(flags&1048576),translationsDisabled:!!(flags&8388608),storiesPinnedAvailable:!!(flags&67108864),blockedMyStoriesFrom:!!(flags&134217728),wallpaperOverridden:!!(flags&268435456),contactRequirePremium:!!(flags&536870912),readDatesPrivate:!!(flags&1073741824),sponsoredEnabled:!!(flags2&128),canViewRevenue:!!(flags2&512),botCanManageEmojiStatus:!!(flags2&1024),displayGiftsButton:!!(flags2&65536),id:r.int53(),about:flags&2?r.string():void 0,settings:r.object(),personalPhoto:flags&2097152?r.object():void 0,profilePhoto:flags&4?r.object():void 0,fallbackPhoto:flags&4194304?r.object():void 0,notifySettings:r.object(),botInfo:flags&8?r.object():void 0,pinnedMsgId:flags&64?r.int():void 0,commonChatsCount:r.int(),folderId:flags&2048?r.int():void 0,ttlPeriod:flags&16384?r.int():void 0,themeEmoticon:flags&32768?r.string():void 0,privateForwardName:flags&65536?r.string():void 0,botGroupAdminRights:flags&131072?r.object():void 0,botBroadcastAdminRights:flags&262144?r.object():void 0,wallpaper:flags&16777216?r.object():void 0,stories:flags&33554432?r.object():void 0,businessWorkHours:flags2&1?r.object():void 0,businessLocation:flags2&2?r.object():void 0,businessGreetingMessage:flags2&4?r.object():void 0,businessAwayMessage:flags2&8?r.object():void 0,businessIntro:flags2&16?r.object():void 0,birthday:flags2&32?r.object():void 0,personalChannelId:flags2&64?r.int53():void 0,personalChannelMessage:flags2&64?r.int():void 0,stargiftsCount:flags2&256?r.int():void 0,starrefProgram:flags2&2048?r.object():void 0,botVerification:flags2&4096?r.object():void 0,sendPaidMessagesStars:flags2&16384?r.long():void 0,disallowedGifts:flags2&32768?r.object():void 0,}},
30
+ 2139438098:function(r){var flags=r.uint();return{_:'starGift_layer209',limited:!!(flags&1),soldOut:!!(flags&2),birthday:!!(flags&4),id:r.long(),sticker:r.object(),stars:r.long(),availabilityRemains:flags&1?r.int():void 0,availabilityTotal:flags&1?r.int():void 0,availabilityResale:flags&16?r.long():void 0,convertStars:r.long(),firstSaleDate:flags&2?r.int():void 0,lastSaleDate:flags&2?r.int():void 0,upgradeStars:flags&8?r.long():void 0,resellMinStars:flags&16?r.long():void 0,title:flags&32?r.string():void 0,releasedBy:flags&64?r.object():void 0,}},
31
+ 702447806:function(r){var flags=r.uint(),flags2=r.uint();return{_:'userFull_layer210',blocked:!!(flags&1),phoneCallsAvailable:!!(flags&16),phoneCallsPrivate:!!(flags&32),canPinMessage:!!(flags&128),hasScheduled:!!(flags&4096),videoCallsAvailable:!!(flags&8192),voiceMessagesForbidden:!!(flags&1048576),translationsDisabled:!!(flags&8388608),storiesPinnedAvailable:!!(flags&67108864),blockedMyStoriesFrom:!!(flags&134217728),wallpaperOverridden:!!(flags&268435456),contactRequirePremium:!!(flags&536870912),readDatesPrivate:!!(flags&1073741824),sponsoredEnabled:!!(flags2&128),canViewRevenue:!!(flags2&512),botCanManageEmojiStatus:!!(flags2&1024),displayGiftsButton:!!(flags2&65536),id:r.int53(),about:flags&2?r.string():void 0,settings:r.object(),personalPhoto:flags&2097152?r.object():void 0,profilePhoto:flags&4?r.object():void 0,fallbackPhoto:flags&4194304?r.object():void 0,notifySettings:r.object(),botInfo:flags&8?r.object():void 0,pinnedMsgId:flags&64?r.int():void 0,commonChatsCount:r.int(),folderId:flags&2048?r.int():void 0,ttlPeriod:flags&16384?r.int():void 0,themeEmoticon:flags&32768?r.string():void 0,privateForwardName:flags&65536?r.string():void 0,botGroupAdminRights:flags&131072?r.object():void 0,botBroadcastAdminRights:flags&262144?r.object():void 0,wallpaper:flags&16777216?r.object():void 0,stories:flags&33554432?r.object():void 0,businessWorkHours:flags2&1?r.object():void 0,businessLocation:flags2&2?r.object():void 0,businessGreetingMessage:flags2&4?r.object():void 0,businessAwayMessage:flags2&8?r.object():void 0,businessIntro:flags2&16?r.object():void 0,birthday:flags2&32?r.object():void 0,personalChannelId:flags2&64?r.int53():void 0,personalChannelMessage:flags2&64?r.int():void 0,stargiftsCount:flags2&256?r.int():void 0,starrefProgram:flags2&2048?r.object():void 0,botVerification:flags2&4096?r.object():void 0,sendPaidMessagesStars:flags2&16384?r.long():void 0,disallowedGifts:flags2&32768?r.object():void 0,starsRating:flags2&131072?r.object():void 0,}},
32
+ 2041735716:function(r){var flags=r.uint();return{_:'storyItem_layer210',pinned:!!(flags&32),public:!!(flags&128),closeFriends:!!(flags&256),min:!!(flags&512),noforwards:!!(flags&1024),edited:!!(flags&2048),contacts:!!(flags&4096),selectedContacts:!!(flags&8192),out:!!(flags&65536),id:r.int(),date:r.int(),fromId:flags&262144?r.object():void 0,fwdFrom:flags&131072?r.object():void 0,expireDate:r.int(),caption:flags&1?r.string():void 0,entities:flags&2?r.vector(r.object):void 0,media:r.object(),mediaAreas:flags&16384?r.vector(r.object):void 0,privacy:flags&4?r.vector(r.object):void 0,views:flags&8?r.object():void 0,sentReaction:flags&32768?r.object():void 0,}},
33
+ 775611918:function(r){var flags=r.uint();return{_:'messageActionStarGiftUnique_layer210',upgrade:!!(flags&1),transferred:!!(flags&2),saved:!!(flags&4),refunded:!!(flags&32),gift:r.object(),canExportAt:flags&8?r.int():void 0,transferStars:flags&16?r.long():void 0,fromId:flags&64?r.object():void 0,peer:flags&128?r.object():void 0,savedId:flags&128?r.long():void 0,resaleStars:flags&256?r.long():void 0,canTransferAt:flags&512?r.int():void 0,canResellAt:flags&1024?r.int():void 0,}},
34
+ 4130830510:function(r){var flags=r.uint();return{_:'starGiftUnique_layer210',requirePremium:!!(flags&64),id:r.long(),title:r.string(),slug:r.string(),num:r.int(),ownerId:flags&1?r.object():void 0,ownerName:flags&2?r.string():void 0,ownerAddress:flags&4?r.string():void 0,attributes:r.vector(r.object),availabilityIssued:r.int(),availabilityTotal:r.int(),giftAddress:flags&8?r.string():void 0,resellStars:flags&16?r.long():void 0,releasedBy:flags&32?r.object():void 0,}},
29
35
  }
30
36
  exports.__tlReaderMapCompat = m;