@mtcute/tl 218.0.1 → 221.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/binary/reader.js CHANGED
@@ -94,8 +94,8 @@ var m={
94
94
  935395612:function(r){return{_:'chatPhotoEmpty'}},
95
95
  476978193:function(r){var flags=r.uint();return{_:'chatPhoto',hasVideo:!!(flags&1),photoId:r.long(),strippedThumb:flags&2?r.bytes():void 0,dcId:r.int(),}},
96
96
  2426849924:function(r){var flags=r.uint();return{_:'messageEmpty',id:r.int(),peerId:flags&1?r.object():void 0,}},
97
- 3106895567:function(r){var flags=r.uint(),flags2=r.uint();return{_:'message',out:!!(flags&2),mentioned:!!(flags&16),mediaUnread:!!(flags&32),silent:!!(flags&8192),post:!!(flags&16384),fromScheduled:!!(flags&262144),legacy:!!(flags&524288),editHide:!!(flags&2097152),pinned:!!(flags&16777216),noforwards:!!(flags&67108864),invertMedia:!!(flags&134217728),offline:!!(flags2&2),videoProcessingPending:!!(flags2&16),paidSuggestedPostStars:!!(flags2&256),paidSuggestedPostTon:!!(flags2&512),id:r.int(),fromId:flags&256?r.object():void 0,fromBoostsApplied:flags&536870912?r.int():void 0,peerId:r.object(),savedPeerId:flags&268435456?r.object():void 0,fwdFrom:flags&4?r.object():void 0,viaBotId:flags&2048?r.int53():void 0,viaBusinessBotId:flags2&1?r.int53():void 0,replyTo:flags&8?r.object():void 0,date:r.int(),message:r.string(),media:flags&512?r.object():void 0,replyMarkup:flags&64?r.object():void 0,entities:flags&128?r.vector(r.object):void 0,views:flags&1024?r.int():void 0,forwards:flags&1024?r.int():void 0,replies:flags&8388608?r.object():void 0,editDate:flags&32768?r.int():void 0,postAuthor:flags&65536?r.string():void 0,groupedId:flags&131072?r.long():void 0,reactions:flags&1048576?r.object():void 0,restrictionReason:flags&4194304?r.vector(r.object):void 0,ttlPeriod:flags&33554432?r.int():void 0,quickReplyShortcutId:flags&1073741824?r.int():void 0,effect:flags2&4?r.long():void 0,factcheck:flags2&8?r.object():void 0,reportDeliveryUntilDate:flags2&32?r.int():void 0,paidMessageStars:flags2&64?r.long():void 0,suggestedPost:flags2&128?r.object():void 0,scheduleRepeatPeriod:flags2&1024?r.int():void 0,}},
98
- 2055212554:function(r){var flags=r.uint();return{_:'messageService',out:!!(flags&2),mentioned:!!(flags&16),mediaUnread:!!(flags&32),reactionsArePossible:!!(flags&512),silent:!!(flags&8192),post:!!(flags&16384),legacy:!!(flags&524288),id:r.int(),fromId:flags&256?r.object():void 0,peerId:r.object(),savedPeerId:flags&268435456?r.object():void 0,replyTo:flags&8?r.object():void 0,date:r.int(),action:r.object(),reactions:flags&1048576?r.object():void 0,ttlPeriod:flags&33554432?r.int():void 0,}},
97
+ 2629079273:function(r){var flags=r.uint(),flags2=r.uint();return{_:'message',out:!!(flags&2),mentioned:!!(flags&16),mediaUnread:!!(flags&32),silent:!!(flags&8192),post:!!(flags&16384),fromScheduled:!!(flags&262144),legacy:!!(flags&524288),editHide:!!(flags&2097152),pinned:!!(flags&16777216),noforwards:!!(flags&67108864),invertMedia:!!(flags&134217728),offline:!!(flags2&2),videoProcessingPending:!!(flags2&16),paidSuggestedPostStars:!!(flags2&256),paidSuggestedPostTon:!!(flags2&512),id:r.int(),fromId:flags&256?r.object():void 0,fromBoostsApplied:flags&536870912?r.int():void 0,peerId:r.object(),savedPeerId:flags&268435456?r.object():void 0,fwdFrom:flags&4?r.object():void 0,viaBotId:flags&2048?r.int53():void 0,viaBusinessBotId:flags2&1?r.int53():void 0,replyTo:flags&8?r.object():void 0,date:r.int(),message:r.string(),media:flags&512?r.object():void 0,replyMarkup:flags&64?r.object():void 0,entities:flags&128?r.vector(r.object):void 0,views:flags&1024?r.int():void 0,forwards:flags&1024?r.int():void 0,replies:flags&8388608?r.object():void 0,editDate:flags&32768?r.int():void 0,postAuthor:flags&65536?r.string():void 0,groupedId:flags&131072?r.long():void 0,reactions:flags&1048576?r.object():void 0,restrictionReason:flags&4194304?r.vector(r.object):void 0,ttlPeriod:flags&33554432?r.int():void 0,quickReplyShortcutId:flags&1073741824?r.int():void 0,effect:flags2&4?r.long():void 0,factcheck:flags2&8?r.object():void 0,reportDeliveryUntilDate:flags2&32?r.int():void 0,paidMessageStars:flags2&64?r.long():void 0,suggestedPost:flags2&128?r.object():void 0,scheduleRepeatPeriod:flags2&1024?r.int():void 0,summaryFromLanguage:flags2&2048?r.string():void 0,}},
98
+ 2055212554:function(r){var flags=r.uint();return{_:'messageService',out:!!(flags&2),mentioned:!!(flags&16),mediaUnread:!!(flags&32),reactionsArePossible:!!(flags&512),silent:!!(flags&8192),post:!!(flags&16384),legacy:!!(flags&524288),id:r.int(),fromId:flags&256?r.object():void 0,peerId:r.object(),savedPeerId:flags&268435456?r.object():void 0,replyTo:flags&8?r.object():void 0,date:r.int(),action:r.object(),reactions:flags&1048576?r.object():void 0,ttlPeriod:flags&33554432?r.int():void 0,legacyIos:!!(flags&131072),}},
99
99
  1038967584:function(r){return{_:'messageMediaEmpty'}},
100
100
  1766936791:function(r){var flags=r.uint();return{_:'messageMediaPhoto',spoiler:!!(flags&8),photo:flags&1?r.object():void 0,ttlSeconds:flags&4?r.int():void 0,}},
101
101
  1457575028:function(r){return{_:'messageMediaGeo',geo:r.object(),}},
@@ -108,12 +108,13 @@ var m={
108
108
  4138027219:function(r){var flags=r.uint();return{_:'messageMediaInvoice',shippingAddressRequested:!!(flags&2),test:!!(flags&8),title:r.string(),description:r.string(),photo:flags&1?r.object():void 0,receiptMsgId:flags&4?r.int():void 0,currency:r.string(),totalAmount:r.long(),startParam:r.string(),extendedMedia:flags&16?r.object():void 0,}},
109
109
  3108030054:function(r){var flags=r.uint();return{_:'messageMediaGeoLive',geo:r.object(),heading:flags&1?r.int():void 0,period:r.int(),proximityNotificationRadius:flags&2?r.int():void 0,}},
110
110
  1272375192:function(r){return{_:'messageMediaPoll',poll:r.object(),results:r.object(),}},
111
- 1065280907:function(r){return{_:'messageMediaDice',value:r.int(),emoticon:r.string(),}},
111
+ 147581959:function(r){var flags=r.uint();return{_:'messageMediaDice',value:r.int(),emoticon:r.string(),gameOutcome:flags&1?r.object():void 0,}},
112
112
  1758159491:function(r){var flags=r.uint();return{_:'messageMediaStory',viaMention:!!(flags&2),peer:r.object(),id:r.int(),story:flags&1?r.object():void 0,}},
113
113
  2852600811:function(r){var flags=r.uint();return{_:'messageMediaGiveaway',onlyNewSubscribers:!!(flags&1),winnersAreVisible:!!(flags&4),channels:r.vector(r.int53),countriesIso2:flags&2?r.vector(r.string):void 0,prizeDescription:flags&8?r.string():void 0,quantity:r.int(),months:flags&16?r.int():void 0,stars:flags&32?r.long():void 0,untilDate:r.int(),}},
114
114
  3467263649:function(r){var flags=r.uint();return{_:'messageMediaGiveawayResults',onlyNewSubscribers:!!(flags&1),refunded:!!(flags&4),channelId:r.long(),additionalPeersCount:flags&8?r.int():void 0,launchMsgId:r.int(),winnersCount:r.int(),unclaimedCount:r.int(),winners:r.vector(r.long),months:flags&16?r.int():void 0,stars:flags&32?r.long():void 0,prizeDescription:flags&2?r.string():void 0,untilDate:r.int(),}},
115
115
  2827297937:function(r){return{_:'messageMediaPaidMedia',starsAmount:r.long(),extendedMedia:r.vector(r.object),}},
116
116
  2320740372:function(r){var flags=r.uint();return{_:'messageMediaToDo',todo:r.object(),completions:flags&1?r.vector(r.object):void 0,}},
117
+ 3395070857:function(r){var flags=r.uint();return{_:'messageMediaVideoStream',rtmpStream:!!(flags&1),call:r.object(),}},
117
118
  3064919984:function(r){return{_:'messageActionEmpty'}},
118
119
  3175599021:function(r){return{_:'messageActionChatCreate',title:r.string(),users:r.vector(r.int53),}},
119
120
  3047280218:function(r){return{_:'messageActionChatEditTitle',title:r.string(),}},
@@ -160,8 +161,8 @@ var m={
160
161
  1102307842:function(r){var flags=r.uint();return{_:'messageActionPaymentRefunded',peer:r.object(),currency:r.string(),totalAmount:r.long(),payload:flags&1?r.bytes():void 0,charge:r.object(),}},
161
162
  1171632161:function(r){var flags=r.uint();return{_:'messageActionGiftStars',currency:r.string(),amount:r.long(),stars:r.long(),cryptoCurrency:flags&1?r.string():void 0,cryptoAmount:flags&1?r.long():void 0,transactionId:flags&2?r.string():void 0,}},
162
163
  2953594786:function(r){var flags=r.uint();return{_:'messageActionPrizeStars',unclaimed:!!(flags&1),stars:r.long(),transactionId:r.string(),boostPeer:r.object(),giveawayMsgId:r.int(),}},
163
- 3680068944:function(r){var flags=r.uint();return{_:'messageActionStarGift',nameHidden:!!(flags&1),saved:!!(flags&4),converted:!!(flags&8),upgraded:!!(flags&32),refunded:!!(flags&512),canUpgrade:!!(flags&1024),prepaidUpgrade:!!(flags&8192),upgradeSeparate:!!(flags&65536),auctionAcquired:!!(flags&131072),gift:r.object(),message:flags&2?r.object():void 0,convertStars:flags&16?r.long():void 0,upgradeMsgId:flags&32?r.int():void 0,upgradeStars:flags&256?r.long():void 0,fromId:flags&2048?r.object():void 0,peer:flags&4096?r.object():void 0,savedId:flags&4096?r.long():void 0,prepaidUpgradeHash:flags&16384?r.string():void 0,giftMsgId:flags&32768?r.int():void 0,toId:flags&262144?r.object():void 0,}},
164
- 2507310403:function(r){var flags=r.uint();return{_:'messageActionStarGiftUnique',upgrade:!!(flags&1),transferred:!!(flags&2),saved:!!(flags&4),refunded:!!(flags&32),prepaidUpgrade:!!(flags&2048),assigned:!!(flags&8192),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,resaleAmount:flags&256?r.object():void 0,canTransferAt:flags&512?r.int():void 0,canResellAt:flags&1024?r.int():void 0,dropOriginalDetailsStars:flags&4096?r.long():void 0,}},
164
+ 3928764883:function(r){var flags=r.uint();return{_:'messageActionStarGift',nameHidden:!!(flags&1),saved:!!(flags&4),converted:!!(flags&8),upgraded:!!(flags&32),refunded:!!(flags&512),canUpgrade:!!(flags&1024),prepaidUpgrade:!!(flags&8192),upgradeSeparate:!!(flags&65536),auctionAcquired:!!(flags&131072),gift:r.object(),message:flags&2?r.object():void 0,convertStars:flags&16?r.long():void 0,upgradeMsgId:flags&32?r.int():void 0,upgradeStars:flags&256?r.long():void 0,fromId:flags&2048?r.object():void 0,peer:flags&4096?r.object():void 0,savedId:flags&4096?r.long():void 0,prepaidUpgradeHash:flags&16384?r.string():void 0,giftMsgId:flags&32768?r.int():void 0,toId:flags&262144?r.object():void 0,giftNum:flags&524288?r.int():void 0,}},
165
+ 2507310403:function(r){var flags=r.uint();return{_:'messageActionStarGiftUnique',upgrade:!!(flags&1),transferred:!!(flags&2),saved:!!(flags&4),refunded:!!(flags&32),prepaidUpgrade:!!(flags&2048),assigned:!!(flags&8192),fromOffer:!!(flags&16384),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,resaleAmount:flags&256?r.object():void 0,canTransferAt:flags&512?r.int():void 0,canResellAt:flags&1024?r.int():void 0,dropOriginalDetailsStars:flags&4096?r.long():void 0,}},
165
166
  2887720909:function(r){return{_:'messageActionPaidMessagesRefunded',count:r.int(),stars:r.long(),}},
166
167
  2226685304:function(r){var flags=r.uint();return{_:'messageActionPaidMessagesPrice',broadcastMessagesAllowed:!!(flags&1),stars:r.long(),}},
167
168
  805187450:function(r){var flags=r.uint();return{_:'messageActionConferenceCall',missed:!!(flags&1),active:!!(flags&2),video:!!(flags&16),callId:r.long(),duration:flags&4?r.int():void 0,otherParticipants:flags&8?r.vector(r.object):void 0,}},
@@ -172,6 +173,8 @@ var m={
172
173
  1777932024:function(r){var flags=r.uint();return{_:'messageActionSuggestedPostRefund',payerInitiated:!!(flags&1),}},
173
174
  2829305497:function(r){var flags=r.uint();return{_:'messageActionGiftTon',currency:r.string(),amount:r.long(),cryptoCurrency:r.string(),cryptoAmount:r.long(),transactionId:flags&1?r.string():void 0,}},
174
175
  747579941:function(r){return{_:'messageActionSuggestBirthday',birthday:r.object(),}},
176
+ 2000845012:function(r){var flags=r.uint();return{_:'messageActionStarGiftPurchaseOffer',accepted:!!(flags&1),declined:!!(flags&2),gift:r.object(),price:r.object(),expiresAt:r.int(),}},
177
+ 1940760427:function(r){var flags=r.uint();return{_:'messageActionStarGiftPurchaseOfferDeclined',expired:!!(flags&1),gift:r.object(),price:r.object(),}},
175
178
  3582593222:function(r){var flags=r.uint();return{_:'dialog',pinned:!!(flags&4),unreadMark:!!(flags&8),viewForumAsMessages:!!(flags&64),peer:r.object(),topMessage:r.int(),readInboxMaxId:r.int(),readOutboxMaxId:r.int(),unreadCount:r.int(),unreadMentionsCount:r.int(),unreadReactionsCount:r.int(),notifySettings:r.object(),pts:flags&1?r.int():void 0,draft:flags&2?r.object():void 0,folderId:flags&16?r.int():void 0,ttlPeriod:flags&32?r.int():void 0,}},
176
179
  1908216652:function(r){var flags=r.uint();return{_:'dialogFolder',pinned:!!(flags&4),folder:r.object(),peer:r.object(),topMessage:r.int(),unreadMutedPeersCount:r.int(),unreadUnmutedPeersCount:r.int(),unreadMutedMessagesCount:r.int(),unreadUnmutedMessagesCount:r.int(),}},
177
180
  590459437:function(r){return{_:'photoEmpty',id:r.long(),}},
@@ -394,6 +397,9 @@ var m={
394
397
  3377964902:function(r){return{_:'updateGroupCallEncryptedMessage',call:r.object(),fromId:r.object(),encryptedMessage:r.bytes(),}},
395
398
  1748708434:function(r){var flags=r.uint();return{_:'updatePinnedForumTopic',pinned:!!(flags&1),peer:r.object(),topicId:r.int(),}},
396
399
  3740353488:function(r){var flags=r.uint();return{_:'updatePinnedForumTopics',peer:r.object(),order:flags&1?r.vector(r.int):void 0,}},
400
+ 1048963372:function(r){return{_:'updateDeleteGroupCallMessages',call:r.object(),messages:r.vector(r.int),}},
401
+ 1222788802:function(r){return{_:'updateStarGiftAuctionState',giftId:r.long(),state:r.object(),}},
402
+ 3696816926:function(r){return{_:'updateStarGiftAuctionUserState',giftId:r.long(),userState:r.object(),}},
397
403
  2775329342:function(r){return{_:'updates.state',pts:r.int(),qts:r.int(),date:r.int(),seq:r.int(),unreadCount:r.int(),}},
398
404
  1567990072:function(r){return{_:'updates.differenceEmpty',date:r.int(),seq:r.int(),}},
399
405
  16030880:function(r){return{_:'updates.difference',newMessages:r.vector(r.object),newEncryptedMessages:r.vector(r.object),otherUpdates:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),state:r.object(),}},
@@ -478,6 +484,7 @@ var m={
478
484
  3596227020:function(r){return{_:'inputPrivacyKeyBirthday'}},
479
485
  3782419265:function(r){return{_:'inputPrivacyKeyStarGiftsAutoSave'}},
480
486
  3183843252:function(r){return{_:'inputPrivacyKeyNoPaidMessages'}},
487
+ 1304334886:function(r){return{_:'inputPrivacyKeySavedMusic'}},
481
488
  3157175088:function(r){return{_:'privacyKeyStatusTimestamp'}},
482
489
  1343122938:function(r){return{_:'privacyKeyChatInvite'}},
483
490
  1030105979:function(r){return{_:'privacyKeyPhoneCall'}},
@@ -491,6 +498,7 @@ var m={
491
498
  536913176:function(r){return{_:'privacyKeyBirthday'}},
492
499
  749010424:function(r){return{_:'privacyKeyStarGiftsAutoSave'}},
493
500
  399722706:function(r){return{_:'privacyKeyNoPaidMessages'}},
501
+ 4286207771:function(r){return{_:'privacyKeySavedMusic'}},
494
502
  218751099:function(r){return{_:'inputPrivacyValueAllowContacts'}},
495
503
  407582158:function(r){return{_:'inputPrivacyValueAllowAll'}},
496
504
  320652927:function(r){return{_:'inputPrivacyValueAllowUsers',users:r.vector(r.object),}},
@@ -1026,6 +1034,7 @@ var m={
1026
1034
  1355547603:function(r){var flags=r.uint();return{_:'webPageAttributeStickerSet',emojis:!!(flags&1),textColor:!!(flags&2),stickers:r.vector(r.object),}},
1027
1035
  3480186296:function(r){return{_:'webPageAttributeUniqueStarGift',gift:r.object(),}},
1028
1036
  835375875:function(r){return{_:'webPageAttributeStarGiftCollection',icons:r.vector(r.object),}},
1037
+ 29770178:function(r){return{_:'webPageAttributeStarGiftAuction',gift:r.object(),endDate:r.int(),}},
1029
1038
  1218005070:function(r){var flags=r.uint();return{_:'messages.votesList',count:r.int(),votes:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),nextOffset:flags&1?r.string():void 0,}},
1030
1039
  4117234314:function(r){return{_:'bankCardOpenUrl',url:r.string(),name:r.string(),}},
1031
1040
  1042605427:function(r){return{_:'payments.bankCardData',title:r.string(),openUrls:r.vector(r.object),}},
@@ -1165,6 +1174,7 @@ var m={
1165
1174
  2584430776:function(r){return{_:'inputInvoiceStarGiftPrepaidUpgrade',peer:r.object(),hash:r.string(),}},
1166
1175
  1048049172:function(r){return{_:'inputInvoicePremiumAuthCode',purpose:r.object(),}},
1167
1176
  153344209:function(r){return{_:'inputInvoiceStarGiftDropOriginalDetails',stargift:r.object(),}},
1177
+ 516618768:function(r){var flags=r.uint();return{_:'inputInvoiceStarGiftAuctionBid',hideName:!!(flags&1),updateBid:!!(flags&4),peer:flags&8?r.object():void 0,giftId:r.long(),bidAmount:r.long(),message:flags&2?r.object():void 0,}},
1168
1178
  2932919257:function(r){return{_:'payments.exportedInvoice',url:r.string(),}},
1169
1179
  3485063511:function(r){var flags=r.uint();return{_:'messages.transcribedAudio',pending:!!(flags&1),transcriptionId:r.long(),text:r.string(),trialRemainsNum:flags&2?r.int():void 0,trialRemainsUntilDate:flags&2?r.int():void 0,}},
1170
1180
  1395946908:function(r){return{_:'help.premiumPromo',statusText:r.string(),statusEntities:r.vector(r.object),videoSections:r.vector(r.string),videos:r.vector(r.object),periodOptions:r.vector(r.object),users:r.vector(r.object),}},
@@ -1382,7 +1392,7 @@ var m={
1382
1392
  1617438738:function(r){return{_:'starsTransactionPeerAds'}},
1383
1393
  4184308397:function(r){return{_:'starsTransactionPeerAPI'}},
1384
1394
  198776256:function(r){var flags=r.uint();return{_:'starsTopupOption',extended:!!(flags&2),stars:r.long(),storeProduct:flags&1?r.string():void 0,currency:r.string(),amount:r.long(),}},
1385
- 325426864:function(r){var flags=r.uint();return{_:'starsTransaction',refund:!!(flags&8),pending:!!(flags&16),failed:!!(flags&64),gift:!!(flags&1024),reaction:!!(flags&2048),stargiftUpgrade:!!(flags&262144),businessTransfer:!!(flags&2097152),stargiftResale:!!(flags&4194304),postsSearch:!!(flags&16777216),stargiftPrepaidUpgrade:!!(flags&33554432),stargiftDropOriginalDetails:!!(flags&67108864),id:r.string(),amount:r.object(),date:r.int(),peer:r.object(),title:flags&1?r.string():void 0,description:flags&2?r.string():void 0,photo:flags&4?r.object():void 0,transactionDate:flags&32?r.int():void 0,transactionUrl:flags&32?r.string():void 0,botPayload:flags&128?r.bytes():void 0,msgId:flags&256?r.int():void 0,extendedMedia:flags&512?r.vector(r.object):void 0,subscriptionPeriod:flags&4096?r.int():void 0,giveawayPostId:flags&8192?r.int():void 0,stargift:flags&16384?r.object():void 0,floodskipNumber:flags&32768?r.int():void 0,starrefCommissionPermille:flags&65536?r.int():void 0,starrefPeer:flags&131072?r.object():void 0,starrefAmount:flags&131072?r.object():void 0,paidMessages:flags&524288?r.int():void 0,premiumGiftMonths:flags&1048576?r.int():void 0,adsProceedsFromDate:flags&8388608?r.int():void 0,adsProceedsToDate:flags&8388608?r.int():void 0,phonegroupMessage:!!(flags&134217728),stargiftAuctionBid:!!(flags&268435456),}},
1395
+ 325426864:function(r){var flags=r.uint();return{_:'starsTransaction',refund:!!(flags&8),pending:!!(flags&16),failed:!!(flags&64),gift:!!(flags&1024),reaction:!!(flags&2048),stargiftUpgrade:!!(flags&262144),businessTransfer:!!(flags&2097152),stargiftResale:!!(flags&4194304),postsSearch:!!(flags&16777216),stargiftPrepaidUpgrade:!!(flags&33554432),stargiftDropOriginalDetails:!!(flags&67108864),phonegroupMessage:!!(flags&134217728),stargiftAuctionBid:!!(flags&268435456),offer:!!(flags&536870912),id:r.string(),amount:r.object(),date:r.int(),peer:r.object(),title:flags&1?r.string():void 0,description:flags&2?r.string():void 0,photo:flags&4?r.object():void 0,transactionDate:flags&32?r.int():void 0,transactionUrl:flags&32?r.string():void 0,botPayload:flags&128?r.bytes():void 0,msgId:flags&256?r.int():void 0,extendedMedia:flags&512?r.vector(r.object):void 0,subscriptionPeriod:flags&4096?r.int():void 0,giveawayPostId:flags&8192?r.int():void 0,stargift:flags&16384?r.object():void 0,floodskipNumber:flags&32768?r.int():void 0,starrefCommissionPermille:flags&65536?r.int():void 0,starrefPeer:flags&131072?r.object():void 0,starrefAmount:flags&131072?r.object():void 0,paidMessages:flags&524288?r.int():void 0,premiumGiftMonths:flags&1048576?r.int():void 0,adsProceedsFromDate:flags&8388608?r.int():void 0,adsProceedsToDate:flags&8388608?r.int():void 0,}},
1386
1396
  1822222573:function(r){var flags=r.uint();return{_:'payments.starsStatus',balance:r.object(),subscriptions:flags&2?r.vector(r.object):void 0,subscriptionsNextOffset:flags&4?r.string():void 0,subscriptionsMissingBalance:flags&16?r.long():void 0,history:flags&8?r.vector(r.object):void 0,nextOffset:flags&1?r.string():void 0,chats:r.vector(r.object),users:r.vector(r.object),}},
1387
1397
  3900361664:function(r){return{_:'foundStory',peer:r.object(),story:r.object(),}},
1388
1398
  3806230327:function(r){var flags=r.uint();return{_:'stories.foundStories',count:r.int(),stories:r.vector(r.object),nextOffset:flags&1?r.string():void 0,chats:r.vector(r.object),users:r.vector(r.object),}},
@@ -1401,8 +1411,8 @@ var m={
1401
1411
  1269016922:function(r){var flags=r.uint();return{_:'messageReactor',top:!!(flags&1),my:!!(flags&2),anonymous:!!(flags&4),peerId:flags&8?r.object():void 0,count:r.int(),}},
1402
1412
  2496562474:function(r){var flags=r.uint();return{_:'starsGiveawayOption',extended:!!(flags&1),default:!!(flags&2),stars:r.long(),yearlyBoosts:r.int(),storeProduct:flags&4?r.string():void 0,currency:r.string(),amount:r.long(),winners:r.vector(r.object),}},
1403
1413
  1411605001:function(r){var flags=r.uint();return{_:'starsGiveawayWinnersOption',default:!!(flags&1),users:r.int(),perUserStars:r.long(),}},
1404
- 463097215:function(r){var flags=r.uint();return{_:'starGift',limited:!!(flags&1),soldOut:!!(flags&2),birthday:!!(flags&4),requirePremium:!!(flags&128),limitedPerUser:!!(flags&256),peerColorAvailable:!!(flags&1024),auction:!!(flags&2048),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,perUserTotal:flags&256?r.int():void 0,perUserRemains:flags&256?r.int():void 0,lockedUntilDate:flags&512?r.int():void 0,auctionSlug:flags&2048?r.string():void 0,giftsPerRound:flags&2048?r.int():void 0,}},
1405
- 2965337115:function(r){var flags=r.uint();return{_:'starGiftUnique',requirePremium:!!(flags&64),resaleTonOnly:!!(flags&128),themeAvailable:!!(flags&512),id:r.long(),giftId: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,resellAmount:flags&16?r.vector(r.object):void 0,releasedBy:flags&32?r.object():void 0,valueAmount:flags&256?r.long():void 0,valueCurrency:flags&256?r.string():void 0,themePeer:flags&1024?r.object():void 0,peerColor:flags&2048?r.object():void 0,hostId:flags&4096?r.object():void 0,}},
1414
+ 825922887:function(r){var flags=r.uint();return{_:'starGift',limited:!!(flags&1),soldOut:!!(flags&2),birthday:!!(flags&4),requirePremium:!!(flags&128),limitedPerUser:!!(flags&256),peerColorAvailable:!!(flags&1024),auction:!!(flags&2048),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,perUserTotal:flags&256?r.int():void 0,perUserRemains:flags&256?r.int():void 0,lockedUntilDate:flags&512?r.int():void 0,auctionSlug:flags&2048?r.string():void 0,giftsPerRound:flags&2048?r.int():void 0,auctionStartDate:flags&2048?r.int():void 0,upgradeVariants:flags&4096?r.int():void 0,background:flags&8192?r.object():void 0,}},
1415
+ 1453155529:function(r){var flags=r.uint();return{_:'starGiftUnique',requirePremium:!!(flags&64),resaleTonOnly:!!(flags&128),themeAvailable:!!(flags&512),id:r.long(),giftId: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,resellAmount:flags&16?r.vector(r.object):void 0,releasedBy:flags&32?r.object():void 0,valueAmount:flags&256?r.long():void 0,valueCurrency:flags&256?r.string():void 0,valueUsdAmount:flags&256?r.long():void 0,themePeer:flags&1024?r.object():void 0,peerColor:flags&2048?r.object():void 0,hostId:flags&4096?r.object():void 0,offerMinStars:flags&8192?r.int():void 0,}},
1406
1416
  2743640936:function(r){return{_:'payments.starGiftsNotModified'}},
1407
1417
  785918357:function(r){return{_:'payments.starGifts',hash:r.int(),gifts:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
1408
1418
  2030298073:function(r){return{_:'messageReportOption',text:r.string(),option:r.bytes(),}},
@@ -1431,7 +1441,7 @@ var m={
1431
1441
  828000628:function(r){return{_:'users.usersSlice',count:r.int(),users:r.vector(r.object),}},
1432
1442
  1097619176:function(r){return{_:'payments.uniqueStarGift',gift:r.object(),chats:r.vector(r.object),users:r.vector(r.object),}},
1433
1443
  2358937772:function(r){return{_:'messages.webPagePreview',media:r.object(),chats:r.vector(r.object),users:r.vector(r.object),}},
1434
- 2307105874:function(r){var flags=r.uint();return{_:'savedStarGift',nameHidden:!!(flags&1),unsaved:!!(flags&32),refunded:!!(flags&512),canUpgrade:!!(flags&1024),pinnedToTop:!!(flags&4096),upgradeSeparate:!!(flags&131072),fromId:flags&2?r.object():void 0,date:r.int(),gift:r.object(),message:flags&4?r.object():void 0,msgId:flags&8?r.int():void 0,savedId:flags&2048?r.long():void 0,convertStars:flags&16?r.long():void 0,upgradeStars:flags&64?r.long():void 0,canExportAt:flags&128?r.int():void 0,transferStars:flags&256?r.long():void 0,canTransferAt:flags&8192?r.int():void 0,canResellAt:flags&16384?r.int():void 0,collectionId:flags&32768?r.vector(r.int):void 0,prepaidUpgradeHash:flags&65536?r.string():void 0,dropOriginalDetailsStars:flags&262144?r.long():void 0,}},
1444
+ 3939926110:function(r){var flags=r.uint();return{_:'savedStarGift',nameHidden:!!(flags&1),unsaved:!!(flags&32),refunded:!!(flags&512),canUpgrade:!!(flags&1024),pinnedToTop:!!(flags&4096),upgradeSeparate:!!(flags&131072),fromId:flags&2?r.object():void 0,date:r.int(),gift:r.object(),message:flags&4?r.object():void 0,msgId:flags&8?r.int():void 0,savedId:flags&2048?r.long():void 0,convertStars:flags&16?r.long():void 0,upgradeStars:flags&64?r.long():void 0,canExportAt:flags&128?r.int():void 0,transferStars:flags&256?r.long():void 0,canTransferAt:flags&8192?r.int():void 0,canResellAt:flags&16384?r.int():void 0,collectionId:flags&32768?r.vector(r.int):void 0,prepaidUpgradeHash:flags&65536?r.string():void 0,dropOriginalDetailsStars:flags&262144?r.long():void 0,giftNum:flags&524288?r.int():void 0,}},
1435
1445
  2515765681:function(r){var flags=r.uint();return{_:'payments.savedStarGifts',count:r.int(),chatNotificationsEnabled:flags&2?r.boolean():void 0,gifts:r.vector(r.object),nextOffset:flags&1?r.string():void 0,chats:r.vector(r.object),users:r.vector(r.object),}},
1436
1446
  1764202389:function(r){return{_:'inputSavedStarGiftUser',msgId:r.int(),}},
1437
1447
  4043418239:function(r){return{_:'inputSavedStarGiftChat',peer:r.object(),savedId:r.long(),}},
@@ -1487,31 +1497,40 @@ var m={
1487
1497
  3376277852:function(r){return{_:'inputChatTheme',emoticon:r.string(),}},
1488
1498
  2279989220:function(r){return{_:'inputChatThemeUniqueGift',slug:r.string(),}},
1489
1499
  2582262557:function(r){return{_:'starGiftUpgradePrice',date:r.int(),upgradeStars:r.long(),}},
1490
- 3395070857:function(r){var flags=r.uint();return{_:'messageMediaVideoStream',rtmpStream:!!(flags&1),call:r.object(),}},
1491
- 1048963372:function(r){return{_:'updateDeleteGroupCallMessages',call:r.object(),messages:r.vector(r.int),}},
1492
- 1222788802:function(r){return{_:'updateStarGiftAuctionState',giftId:r.long(),state:r.object(),}},
1493
- 3696816926:function(r){return{_:'updateStarGiftAuctionUserState',giftId:r.long(),userState:r.object(),}},
1494
- 1304334886:function(r){return{_:'inputPrivacyKeySavedMusic'}},
1495
- 4286207771:function(r){return{_:'privacyKeySavedMusic'}},
1496
- 55150251:function(r){return{_:'webPageAttributeStarGiftAuction',gift:r.object(),endDate:r.int(),centerColor:r.int(),edgeColor:r.int(),textColor:r.int(),}},
1497
- 516618768:function(r){var flags=r.uint();return{_:'inputInvoiceStarGiftAuctionBid',hideName:!!(flags&1),updateBid:!!(flags&4),peer:flags&8?r.object():void 0,giftId:r.long(),bidAmount:r.long(),message:flags&2?r.object():void 0,}},
1498
1500
  445316222:function(r){var flags=r.uint();return{_:'groupCallMessage',fromAdmin:!!(flags&2),id:r.int(),fromId:r.object(),date:r.int(),message:r.object(),paidMessageStars:flags&1?r.long():void 0,}},
1499
- 3997371525:function(r){var flags=r.uint();return{_:'groupCallDonor',top:!!(flags&1),my:!!(flags&2),anonymous:!!(flags&4),peerId:flags&8?r.object():void 0,stars:r.long(),}},
1501
+ 3997371525:function(r){var flags=r.uint();return{_:'groupCallDonor',top:!!(flags&1),my:!!(flags&2),peerId:flags&8?r.object():void 0,stars:r.long(),}},
1500
1502
  2635971878:function(r){return{_:'phone.groupCallStars',totalStars:r.long(),topDonors:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
1501
1503
  1897752877:function(r){var flags=r.uint();return{_:'recentStory',live:!!(flags&1),maxId:flags&2?r.int():void 0,}},
1502
1504
  822231244:function(r){return{_:'auctionBidLevel',pos:r.int(),amount:r.long(),date:r.int(),}},
1503
1505
  4264769874:function(r){return{_:'starGiftAuctionStateNotModified'}},
1504
- 1571835723:function(r){return{_:'starGiftAuctionState',version:r.int(),startDate:r.int(),endDate:r.int(),minBidAmount:r.long(),bidLevels:r.vector(r.object),topBidders:r.vector(r.long),nextRoundAt:r.int(),giftsLeft:r.int(),currentRound:r.int(),totalRounds:r.int(),}},
1505
- 2107014202:function(r){return{_:'starGiftAuctionStateFinished',startDate:r.int(),endDate:r.int(),averagePrice:r.long(),}},
1506
+ 1998212710:function(r){return{_:'starGiftAuctionState',version:r.int(),startDate:r.int(),endDate:r.int(),minBidAmount:r.long(),bidLevels:r.vector(r.object),topBidders:r.vector(r.long),nextRoundAt:r.int(),lastGiftNum:r.int(),giftsLeft:r.int(),currentRound:r.int(),totalRounds:r.int(),rounds:r.vector(r.object),}},
1507
+ 2536352703:function(r){var flags=r.uint();return{_:'starGiftAuctionStateFinished',startDate:r.int(),endDate:r.int(),averagePrice:r.long(),listedCount:flags&1?r.int():void 0,fragmentListedCount:flags&2?r.int():void 0,fragmentListedUrl:flags&2?r.string():void 0,}},
1506
1508
  787403204:function(r){var flags=r.uint();return{_:'starGiftAuctionUserState',returned:!!(flags&2),bidAmount:flags&1?r.long():void 0,bidDate:flags&1?r.int():void 0,minBidAmount:flags&1?r.long():void 0,bidPeer:flags&1?r.object():void 0,acquiredCount:r.int(),}},
1507
- 244900980:function(r){return{_:'payments.starGiftAuctionState',gift:r.object(),state:r.object(),userState:r.object(),timeout:r.int(),users:r.vector(r.object),}},
1508
- 2875253259:function(r){var flags=r.uint();return{_:'starGiftAuctionAcquiredGift',nameHidden:!!(flags&1),peer:r.object(),date:r.int(),bidAmount:r.long(),round:r.int(),pos:r.int(),message:flags&2?r.object():void 0,}},
1509
+ 1798960364:function(r){return{_:'payments.starGiftAuctionState',gift:r.object(),state:r.object(),userState:r.object(),timeout:r.int(),users:r.vector(r.object),chats:r.vector(r.object),}},
1510
+ 1118831432:function(r){var flags=r.uint();return{_:'starGiftAuctionAcquiredGift',nameHidden:!!(flags&1),peer:r.object(),date:r.int(),bidAmount:r.long(),round:r.int(),pos:r.int(),message:flags&2?r.object():void 0,giftNum:flags&4?r.int():void 0,}},
1509
1511
  2103169520:function(r){return{_:'payments.starGiftAuctionAcquiredGifts',gifts:r.vector(r.object),users:r.vector(r.object),chats:r.vector(r.object),}},
1510
1512
  3541812317:function(r){return{_:'starGiftActiveAuctionState',gift:r.object(),state:r.object(),userState:r.object(),}},
1511
1513
  3677608656:function(r){return{_:'payments.starGiftActiveAuctionsNotModified'}},
1512
- 2549188568:function(r){return{_:'payments.starGiftActiveAuctions',auctions:r.vector(r.object),users:r.vector(r.object),}},
1514
+ 2935401404:function(r){return{_:'payments.starGiftActiveAuctions',auctions:r.vector(r.object),users:r.vector(r.object),chats:r.vector(r.object),}},
1513
1515
  48327832:function(r){return{_:'inputStarGiftAuction',giftId:r.long(),}},
1514
1516
  2058715912:function(r){return{_:'inputStarGiftAuctionSlug',slug:r.string(),}},
1517
+ 2556509887:function(r){var flags=r.uint();return{_:'passkey',id:r.string(),name:r.string(),date:r.int(),softwareEmojiId:flags&1?r.long():void 0,lastUsageDate:flags&2?r.int():void 0,}},
1518
+ 4175473180:function(r){return{_:'account.passkeys',passkeys:r.vector(r.object),}},
1519
+ 3781909729:function(r){return{_:'account.passkeyRegistrationOptions',options:r.object(),}},
1520
+ 3791878025:function(r){return{_:'auth.passkeyLoginOptions',options:r.object(),}},
1521
+ 1046713180:function(r){return{_:'inputPasskeyResponseRegister',clientData:r.object(),attestationData:r.bytes(),}},
1522
+ 3273638218:function(r){return{_:'inputPasskeyResponseLogin',clientData:r.object(),authenticatorData:r.bytes(),signature:r.bytes(),userHandle:r.string(),}},
1523
+ 1009235855:function(r){return{_:'inputPasskeyCredentialPublicKey',id:r.string(),rawId:r.string(),response:r.object(),}},
1524
+ 2952094616:function(r){return{_:'starGiftBackground',centerColor:r.int(),edgeColor:r.int(),textColor:r.int(),}},
1525
+ 984483112:function(r){return{_:'starGiftAuctionRound',num:r.int(),duration:r.int(),}},
1526
+ 178266597:function(r){return{_:'starGiftAuctionRoundExtendable',num:r.int(),duration:r.int(),extendTop:r.int(),extendWindow:r.int(),}},
1527
+ 1187439471:function(r){return{_:'payments.starGiftUpgradeAttributes',attributes:r.vector(r.object),}},
1528
+ 4087948362:function(r){return{_:'inputMediaStakeDice',gameHash:r.string(),tonAmount:r.long(),clientSeed:r.bytes(),}},
1529
+ 4221326458:function(r){return{_:'updateEmojiGameInfo',info:r.object(),}},
1530
+ 1528613672:function(r){return{_:'inputPasskeyCredentialFirebasePNV',pnvToken:r.string(),}},
1531
+ 3660240455:function(r){return{_:'messages.emojiGameOutcome',seed:r.bytes(),stakeTonAmount:r.long(),tonAmount:r.long(),}},
1532
+ 1508266805:function(r){return{_:'messages.emojiGameUnavailable'}},
1533
+ 1155883043:function(r){var flags=r.uint();return{_:'messages.emojiGameDiceInfo',gameHash:r.string(),prevStake:r.long(),currentStreak:r.int(),params:r.vector(r.int),playsLeft:flags&1?r.int():void 0,}},
1515
1534
  422509539:function(r){var flags=r.uint();return{_:'updateChannelPinnedTopic',pinned:!!(flags&1),channelId:r.int53(),topicId:r.int(),}},
1516
1535
  4263085570:function(r){var flags=r.uint();return{_:'updateChannelPinnedTopics',channelId:r.int53(),order:flags&1?r.vector(r.int):void 0,}},
1517
1536
  _results:{