@mtcute/tl 220.0.0 → 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,7 +108,7 @@ 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(),}},
@@ -173,6 +173,8 @@ var m={
173
173
  1777932024:function(r){var flags=r.uint();return{_:'messageActionSuggestedPostRefund',payerInitiated:!!(flags&1),}},
174
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,}},
175
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(),}},
176
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,}},
177
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(),}},
178
180
  590459437:function(r){return{_:'photoEmpty',id:r.long(),}},
@@ -1390,7 +1392,7 @@ var m={
1390
1392
  1617438738:function(r){return{_:'starsTransactionPeerAds'}},
1391
1393
  4184308397:function(r){return{_:'starsTransactionPeerAPI'}},
1392
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(),}},
1393
- 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),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,offer:!!(flags&536870912),}},
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,}},
1394
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),}},
1395
1397
  3900361664:function(r){return{_:'foundStory',peer:r.object(),story:r.object(),}},
1396
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),}},
@@ -1496,7 +1498,7 @@ var m={
1496
1498
  2279989220:function(r){return{_:'inputChatThemeUniqueGift',slug:r.string(),}},
1497
1499
  2582262557:function(r){return{_:'starGiftUpgradePrice',date:r.int(),upgradeStars:r.long(),}},
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),peerId:flags&8?r.object():void 0,anonymous:!!(flags&4),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(),}},
@@ -1512,8 +1514,6 @@ var m={
1512
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(),}},
1515
- 2000845012:function(r){var flags=r.uint();return{_:'messageActionStarGiftPurchaseOffer',accepted:!!(flags&1),declined:!!(flags&2),gift:r.object(),price:r.object(),expiresAt:r.int(),}},
1516
- 1940760427:function(r){var flags=r.uint();return{_:'messageActionStarGiftPurchaseOfferDeclined',expired:!!(flags&1),gift:r.object(),price:r.object(),}},
1517
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
1518
  4175473180:function(r){return{_:'account.passkeys',passkeys:r.vector(r.object),}},
1519
1519
  3781909729:function(r){return{_:'account.passkeyRegistrationOptions',options:r.object(),}},
@@ -1525,6 +1525,12 @@ var m={
1525
1525
  984483112:function(r){return{_:'starGiftAuctionRound',num:r.int(),duration:r.int(),}},
1526
1526
  178266597:function(r){return{_:'starGiftAuctionRoundExtendable',num:r.int(),duration:r.int(),extendTop:r.int(),extendWindow:r.int(),}},
1527
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,}},
1528
1534
  422509539:function(r){var flags=r.uint();return{_:'updateChannelPinnedTopic',pinned:!!(flags&1),channelId:r.int53(),topicId:r.int(),}},
1529
1535
  4263085570:function(r){var flags=r.uint();return{_:'updateChannelPinnedTopics',channelId:r.int53(),order:flags&1?r.vector(r.int):void 0,}},
1530
1536
  _results:{
package/binary/writer.js CHANGED
@@ -95,8 +95,8 @@ var m={
95
95
  'chatPhotoEmpty':function(w){w.uint(935395612);},
96
96
  'chatPhoto':function(w,v){w.uint(476978193);var flags=0;if(v.hasVideo===true)flags|=1;var _strippedThumb=v.strippedThumb!==undefined;if(_strippedThumb)flags|=2;w.uint(flags);w.long(h(v,'photoId'));if(_strippedThumb)w.bytes(v.strippedThumb);w.int(h(v,'dcId'));},
97
97
  'messageEmpty':function(w,v){w.uint(2426849924);var flags=0;var _peerId=v.peerId!==undefined;if(_peerId)flags|=1;w.uint(flags);w.int(h(v,'id'));if(_peerId)w.object(v.peerId);},
98
- 'message':function(w,v){w.uint(3106895567);var flags=0;if(v.out===true)flags|=2;var _fwdFrom=v.fwdFrom!==undefined;if(_fwdFrom)flags|=4;var _replyTo=v.replyTo!==undefined;if(_replyTo)flags|=8;if(v.mentioned===true)flags|=16;if(v.mediaUnread===true)flags|=32;var _replyMarkup=v.replyMarkup!==undefined;if(_replyMarkup)flags|=64;var _entities=v.entities&&v.entities.length;if(_entities)flags|=128;var _fromId=v.fromId!==undefined;if(_fromId)flags|=256;var _media=v.media!==undefined;if(_media)flags|=512;var _views=v.views!==undefined;var _forwards=v.forwards!==undefined;var _flags_10=_views||_forwards;if(_flags_10)flags|=1024;var _viaBotId=v.viaBotId!==undefined;if(_viaBotId)flags|=2048;if(v.silent===true)flags|=8192;if(v.post===true)flags|=16384;var _editDate=v.editDate!==undefined;if(_editDate)flags|=32768;var _postAuthor=v.postAuthor!==undefined;if(_postAuthor)flags|=65536;var _groupedId=v.groupedId!==undefined;if(_groupedId)flags|=131072;if(v.fromScheduled===true)flags|=262144;if(v.legacy===true)flags|=524288;var _reactions=v.reactions!==undefined;if(_reactions)flags|=1048576;if(v.editHide===true)flags|=2097152;var _restrictionReason=v.restrictionReason&&v.restrictionReason.length;if(_restrictionReason)flags|=4194304;var _replies=v.replies!==undefined;if(_replies)flags|=8388608;if(v.pinned===true)flags|=16777216;var _ttlPeriod=v.ttlPeriod!==undefined;if(_ttlPeriod)flags|=33554432;if(v.noforwards===true)flags|=67108864;if(v.invertMedia===true)flags|=134217728;var _savedPeerId=v.savedPeerId!==undefined;if(_savedPeerId)flags|=268435456;var _fromBoostsApplied=v.fromBoostsApplied!==undefined;if(_fromBoostsApplied)flags|=536870912;var _quickReplyShortcutId=v.quickReplyShortcutId!==undefined;if(_quickReplyShortcutId)flags|=1073741824;w.uint(flags);var flags2=0;var _viaBusinessBotId=v.viaBusinessBotId!==undefined;if(_viaBusinessBotId)flags2|=1;if(v.offline===true)flags2|=2;var _effect=v.effect!==undefined;if(_effect)flags2|=4;var _factcheck=v.factcheck!==undefined;if(_factcheck)flags2|=8;if(v.videoProcessingPending===true)flags2|=16;var _reportDeliveryUntilDate=v.reportDeliveryUntilDate!==undefined;if(_reportDeliveryUntilDate)flags2|=32;var _paidMessageStars=v.paidMessageStars!==undefined;if(_paidMessageStars)flags2|=64;var _suggestedPost=v.suggestedPost!==undefined;if(_suggestedPost)flags2|=128;if(v.paidSuggestedPostStars===true)flags2|=256;if(v.paidSuggestedPostTon===true)flags2|=512;var _scheduleRepeatPeriod=v.scheduleRepeatPeriod!==undefined;if(_scheduleRepeatPeriod)flags2|=1024;w.uint(flags2);w.int(h(v,'id'));if(_fromId)w.object(v.fromId);if(_fromBoostsApplied)w.int(v.fromBoostsApplied);w.object(h(v,'peerId'));if(_savedPeerId)w.object(v.savedPeerId);if(_fwdFrom)w.object(v.fwdFrom);if(_viaBotId)w.int53(v.viaBotId);if(_viaBusinessBotId)w.int53(v.viaBusinessBotId);if(_replyTo)w.object(v.replyTo);w.int(h(v,'date'));w.string(h(v,'message'));if(_media)w.object(v.media);if(_replyMarkup)w.object(v.replyMarkup);if(_entities)w.vector(w.object,v.entities);if(_flags_10)w.int(v.views);if(_flags_10)w.int(v.forwards);if(_replies)w.object(v.replies);if(_editDate)w.int(v.editDate);if(_postAuthor)w.string(v.postAuthor);if(_groupedId)w.long(v.groupedId);if(_reactions)w.object(v.reactions);if(_restrictionReason)w.vector(w.object,v.restrictionReason);if(_ttlPeriod)w.int(v.ttlPeriod);if(_quickReplyShortcutId)w.int(v.quickReplyShortcutId);if(_effect)w.long(v.effect);if(_factcheck)w.object(v.factcheck);if(_reportDeliveryUntilDate)w.int(v.reportDeliveryUntilDate);if(_paidMessageStars)w.long(v.paidMessageStars);if(_suggestedPost)w.object(v.suggestedPost);if(_scheduleRepeatPeriod)w.int(v.scheduleRepeatPeriod);},
99
- 'messageService':function(w,v){w.uint(2055212554);var flags=0;if(v.out===true)flags|=2;var _replyTo=v.replyTo!==undefined;if(_replyTo)flags|=8;if(v.mentioned===true)flags|=16;if(v.mediaUnread===true)flags|=32;var _fromId=v.fromId!==undefined;if(_fromId)flags|=256;if(v.reactionsArePossible===true)flags|=512;if(v.silent===true)flags|=8192;if(v.post===true)flags|=16384;if(v.legacy===true)flags|=524288;var _reactions=v.reactions!==undefined;if(_reactions)flags|=1048576;var _ttlPeriod=v.ttlPeriod!==undefined;if(_ttlPeriod)flags|=33554432;var _savedPeerId=v.savedPeerId!==undefined;if(_savedPeerId)flags|=268435456;w.uint(flags);w.int(h(v,'id'));if(_fromId)w.object(v.fromId);w.object(h(v,'peerId'));if(_savedPeerId)w.object(v.savedPeerId);if(_replyTo)w.object(v.replyTo);w.int(h(v,'date'));w.object(h(v,'action'));if(_reactions)w.object(v.reactions);if(_ttlPeriod)w.int(v.ttlPeriod);},
98
+ 'message':function(w,v){w.uint(2629079273);var flags=0;if(v.out===true)flags|=2;var _fwdFrom=v.fwdFrom!==undefined;if(_fwdFrom)flags|=4;var _replyTo=v.replyTo!==undefined;if(_replyTo)flags|=8;if(v.mentioned===true)flags|=16;if(v.mediaUnread===true)flags|=32;var _replyMarkup=v.replyMarkup!==undefined;if(_replyMarkup)flags|=64;var _entities=v.entities&&v.entities.length;if(_entities)flags|=128;var _fromId=v.fromId!==undefined;if(_fromId)flags|=256;var _media=v.media!==undefined;if(_media)flags|=512;var _views=v.views!==undefined;var _forwards=v.forwards!==undefined;var _flags_10=_views||_forwards;if(_flags_10)flags|=1024;var _viaBotId=v.viaBotId!==undefined;if(_viaBotId)flags|=2048;if(v.silent===true)flags|=8192;if(v.post===true)flags|=16384;var _editDate=v.editDate!==undefined;if(_editDate)flags|=32768;var _postAuthor=v.postAuthor!==undefined;if(_postAuthor)flags|=65536;var _groupedId=v.groupedId!==undefined;if(_groupedId)flags|=131072;if(v.fromScheduled===true)flags|=262144;if(v.legacy===true)flags|=524288;var _reactions=v.reactions!==undefined;if(_reactions)flags|=1048576;if(v.editHide===true)flags|=2097152;var _restrictionReason=v.restrictionReason&&v.restrictionReason.length;if(_restrictionReason)flags|=4194304;var _replies=v.replies!==undefined;if(_replies)flags|=8388608;if(v.pinned===true)flags|=16777216;var _ttlPeriod=v.ttlPeriod!==undefined;if(_ttlPeriod)flags|=33554432;if(v.noforwards===true)flags|=67108864;if(v.invertMedia===true)flags|=134217728;var _savedPeerId=v.savedPeerId!==undefined;if(_savedPeerId)flags|=268435456;var _fromBoostsApplied=v.fromBoostsApplied!==undefined;if(_fromBoostsApplied)flags|=536870912;var _quickReplyShortcutId=v.quickReplyShortcutId!==undefined;if(_quickReplyShortcutId)flags|=1073741824;w.uint(flags);var flags2=0;var _viaBusinessBotId=v.viaBusinessBotId!==undefined;if(_viaBusinessBotId)flags2|=1;if(v.offline===true)flags2|=2;var _effect=v.effect!==undefined;if(_effect)flags2|=4;var _factcheck=v.factcheck!==undefined;if(_factcheck)flags2|=8;if(v.videoProcessingPending===true)flags2|=16;var _reportDeliveryUntilDate=v.reportDeliveryUntilDate!==undefined;if(_reportDeliveryUntilDate)flags2|=32;var _paidMessageStars=v.paidMessageStars!==undefined;if(_paidMessageStars)flags2|=64;var _suggestedPost=v.suggestedPost!==undefined;if(_suggestedPost)flags2|=128;if(v.paidSuggestedPostStars===true)flags2|=256;if(v.paidSuggestedPostTon===true)flags2|=512;var _scheduleRepeatPeriod=v.scheduleRepeatPeriod!==undefined;if(_scheduleRepeatPeriod)flags2|=1024;var _summaryFromLanguage=v.summaryFromLanguage!==undefined;if(_summaryFromLanguage)flags2|=2048;w.uint(flags2);w.int(h(v,'id'));if(_fromId)w.object(v.fromId);if(_fromBoostsApplied)w.int(v.fromBoostsApplied);w.object(h(v,'peerId'));if(_savedPeerId)w.object(v.savedPeerId);if(_fwdFrom)w.object(v.fwdFrom);if(_viaBotId)w.int53(v.viaBotId);if(_viaBusinessBotId)w.int53(v.viaBusinessBotId);if(_replyTo)w.object(v.replyTo);w.int(h(v,'date'));w.string(h(v,'message'));if(_media)w.object(v.media);if(_replyMarkup)w.object(v.replyMarkup);if(_entities)w.vector(w.object,v.entities);if(_flags_10)w.int(v.views);if(_flags_10)w.int(v.forwards);if(_replies)w.object(v.replies);if(_editDate)w.int(v.editDate);if(_postAuthor)w.string(v.postAuthor);if(_groupedId)w.long(v.groupedId);if(_reactions)w.object(v.reactions);if(_restrictionReason)w.vector(w.object,v.restrictionReason);if(_ttlPeriod)w.int(v.ttlPeriod);if(_quickReplyShortcutId)w.int(v.quickReplyShortcutId);if(_effect)w.long(v.effect);if(_factcheck)w.object(v.factcheck);if(_reportDeliveryUntilDate)w.int(v.reportDeliveryUntilDate);if(_paidMessageStars)w.long(v.paidMessageStars);if(_suggestedPost)w.object(v.suggestedPost);if(_scheduleRepeatPeriod)w.int(v.scheduleRepeatPeriod);if(_summaryFromLanguage)w.string(v.summaryFromLanguage);},
99
+ 'messageService':function(w,v){w.uint(2055212554);var flags=0;if(v.out===true)flags|=2;var _replyTo=v.replyTo!==undefined;if(_replyTo)flags|=8;if(v.mentioned===true)flags|=16;if(v.mediaUnread===true)flags|=32;var _fromId=v.fromId!==undefined;if(_fromId)flags|=256;if(v.reactionsArePossible===true)flags|=512;if(v.silent===true)flags|=8192;if(v.post===true)flags|=16384;if(v.legacyIos===true)flags|=131072;if(v.legacy===true)flags|=524288;var _reactions=v.reactions!==undefined;if(_reactions)flags|=1048576;var _ttlPeriod=v.ttlPeriod!==undefined;if(_ttlPeriod)flags|=33554432;var _savedPeerId=v.savedPeerId!==undefined;if(_savedPeerId)flags|=268435456;w.uint(flags);w.int(h(v,'id'));if(_fromId)w.object(v.fromId);w.object(h(v,'peerId'));if(_savedPeerId)w.object(v.savedPeerId);if(_replyTo)w.object(v.replyTo);w.int(h(v,'date'));w.object(h(v,'action'));if(_reactions)w.object(v.reactions);if(_ttlPeriod)w.int(v.ttlPeriod);},
100
100
  'messageMediaEmpty':function(w){w.uint(1038967584);},
101
101
  'messageMediaPhoto':function(w,v){w.uint(1766936791);var flags=0;var _photo=v.photo!==undefined;if(_photo)flags|=1;var _ttlSeconds=v.ttlSeconds!==undefined;if(_ttlSeconds)flags|=4;if(v.spoiler===true)flags|=8;w.uint(flags);if(_photo)w.object(v.photo);if(_ttlSeconds)w.int(v.ttlSeconds);},
102
102
  'messageMediaGeo':function(w,v){w.uint(1457575028);w.object(h(v,'geo'));},
@@ -109,7 +109,7 @@ var m={
109
109
  'messageMediaInvoice':function(w,v){w.uint(4138027219);var flags=0;var _photo=v.photo!==undefined;if(_photo)flags|=1;if(v.shippingAddressRequested===true)flags|=2;var _receiptMsgId=v.receiptMsgId!==undefined;if(_receiptMsgId)flags|=4;if(v.test===true)flags|=8;var _extendedMedia=v.extendedMedia!==undefined;if(_extendedMedia)flags|=16;w.uint(flags);w.string(h(v,'title'));w.string(h(v,'description'));if(_photo)w.object(v.photo);if(_receiptMsgId)w.int(v.receiptMsgId);w.string(h(v,'currency'));w.long(h(v,'totalAmount'));w.string(h(v,'startParam'));if(_extendedMedia)w.object(v.extendedMedia);},
110
110
  'messageMediaGeoLive':function(w,v){w.uint(3108030054);var flags=0;var _heading=v.heading!==undefined;if(_heading)flags|=1;var _proximityNotificationRadius=v.proximityNotificationRadius!==undefined;if(_proximityNotificationRadius)flags|=2;w.uint(flags);w.object(h(v,'geo'));if(_heading)w.int(v.heading);w.int(h(v,'period'));if(_proximityNotificationRadius)w.int(v.proximityNotificationRadius);},
111
111
  'messageMediaPoll':function(w,v){w.uint(1272375192);w.object(h(v,'poll'));w.object(h(v,'results'));},
112
- 'messageMediaDice':function(w,v){w.uint(1065280907);w.int(h(v,'value'));w.string(h(v,'emoticon'));},
112
+ 'messageMediaDice':function(w,v){w.uint(147581959);var flags=0;var _gameOutcome=v.gameOutcome!==undefined;if(_gameOutcome)flags|=1;w.uint(flags);w.int(h(v,'value'));w.string(h(v,'emoticon'));if(_gameOutcome)w.object(v.gameOutcome);},
113
113
  'messageMediaStory':function(w,v){w.uint(1758159491);var flags=0;var _story=v.story!==undefined;if(_story)flags|=1;if(v.viaMention===true)flags|=2;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'id'));if(_story)w.object(v.story);},
114
114
  'messageMediaGiveaway':function(w,v){w.uint(2852600811);var flags=0;if(v.onlyNewSubscribers===true)flags|=1;var _countriesIso2=v.countriesIso2&&v.countriesIso2.length;if(_countriesIso2)flags|=2;if(v.winnersAreVisible===true)flags|=4;var _prizeDescription=v.prizeDescription!==undefined;if(_prizeDescription)flags|=8;var _months=v.months!==undefined;if(_months)flags|=16;var _stars=v.stars!==undefined;if(_stars)flags|=32;w.uint(flags);w.vector(w.int53,h(v,'channels'));if(_countriesIso2)w.vector(w.string,v.countriesIso2);if(_prizeDescription)w.string(v.prizeDescription);w.int(h(v,'quantity'));if(_months)w.int(v.months);if(_stars)w.long(v.stars);w.int(h(v,'untilDate'));},
115
115
  'messageMediaGiveawayResults':function(w,v){w.uint(3467263649);var flags=0;if(v.onlyNewSubscribers===true)flags|=1;var _prizeDescription=v.prizeDescription!==undefined;if(_prizeDescription)flags|=2;if(v.refunded===true)flags|=4;var _additionalPeersCount=v.additionalPeersCount!==undefined;if(_additionalPeersCount)flags|=8;var _months=v.months!==undefined;if(_months)flags|=16;var _stars=v.stars!==undefined;if(_stars)flags|=32;w.uint(flags);w.long(h(v,'channelId'));if(_additionalPeersCount)w.int(v.additionalPeersCount);w.int(h(v,'launchMsgId'));w.int(h(v,'winnersCount'));w.int(h(v,'unclaimedCount'));w.vector(w.long,h(v,'winners'));if(_months)w.int(v.months);if(_stars)w.long(v.stars);if(_prizeDescription)w.string(v.prizeDescription);w.int(h(v,'untilDate'));},
@@ -174,6 +174,8 @@ var m={
174
174
  'messageActionSuggestedPostRefund':function(w,v){w.uint(1777932024);var flags=0;if(v.payerInitiated===true)flags|=1;w.uint(flags);},
175
175
  'messageActionGiftTon':function(w,v){w.uint(2829305497);var flags=0;var _transactionId=v.transactionId!==undefined;if(_transactionId)flags|=1;w.uint(flags);w.string(h(v,'currency'));w.long(h(v,'amount'));w.string(h(v,'cryptoCurrency'));w.long(h(v,'cryptoAmount'));if(_transactionId)w.string(v.transactionId);},
176
176
  'messageActionSuggestBirthday':function(w,v){w.uint(747579941);w.object(h(v,'birthday'));},
177
+ 'messageActionStarGiftPurchaseOffer':function(w,v){w.uint(2000845012);var flags=0;if(v.accepted===true)flags|=1;if(v.declined===true)flags|=2;w.uint(flags);w.object(h(v,'gift'));w.object(h(v,'price'));w.int(h(v,'expiresAt'));},
178
+ 'messageActionStarGiftPurchaseOfferDeclined':function(w,v){w.uint(1940760427);var flags=0;if(v.expired===true)flags|=1;w.uint(flags);w.object(h(v,'gift'));w.object(h(v,'price'));},
177
179
  'dialog':function(w,v){w.uint(3582593222);var flags=0;var _pts=v.pts!==undefined;if(_pts)flags|=1;var _draft=v.draft!==undefined;if(_draft)flags|=2;if(v.pinned===true)flags|=4;if(v.unreadMark===true)flags|=8;var _folderId=v.folderId!==undefined;if(_folderId)flags|=16;var _ttlPeriod=v.ttlPeriod!==undefined;if(_ttlPeriod)flags|=32;if(v.viewForumAsMessages===true)flags|=64;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'topMessage'));w.int(h(v,'readInboxMaxId'));w.int(h(v,'readOutboxMaxId'));w.int(h(v,'unreadCount'));w.int(h(v,'unreadMentionsCount'));w.int(h(v,'unreadReactionsCount'));w.object(h(v,'notifySettings'));if(_pts)w.int(v.pts);if(_draft)w.object(v.draft);if(_folderId)w.int(v.folderId);if(_ttlPeriod)w.int(v.ttlPeriod);},
178
180
  'dialogFolder':function(w,v){w.uint(1908216652);var flags=0;if(v.pinned===true)flags|=4;w.uint(flags);w.object(h(v,'folder'));w.object(h(v,'peer'));w.int(h(v,'topMessage'));w.int(h(v,'unreadMutedPeersCount'));w.int(h(v,'unreadUnmutedPeersCount'));w.int(h(v,'unreadMutedMessagesCount'));w.int(h(v,'unreadUnmutedMessagesCount'));},
179
181
  'photoEmpty':function(w,v){w.uint(590459437);w.long(h(v,'id'));},
@@ -1497,7 +1499,7 @@ var m={
1497
1499
  'inputChatThemeUniqueGift':function(w,v){w.uint(2279989220);w.string(h(v,'slug'));},
1498
1500
  'starGiftUpgradePrice':function(w,v){w.uint(2582262557);w.int(h(v,'date'));w.long(h(v,'upgradeStars'));},
1499
1501
  'groupCallMessage':function(w,v){w.uint(445316222);var flags=0;var _paidMessageStars=v.paidMessageStars!==undefined;if(_paidMessageStars)flags|=1;if(v.fromAdmin===true)flags|=2;w.uint(flags);w.int(h(v,'id'));w.object(h(v,'fromId'));w.int(h(v,'date'));w.object(h(v,'message'));if(_paidMessageStars)w.long(v.paidMessageStars);},
1500
- 'groupCallDonor':function(w,v){w.uint(3997371525);var flags=0;if(v.top===true)flags|=1;if(v.my===true)flags|=2;if(v.anonymous===true)flags|=4;var _peerId=v.peerId!==undefined;if(_peerId)flags|=8;w.uint(flags);if(_peerId)w.object(v.peerId);w.long(h(v,'stars'));},
1502
+ 'groupCallDonor':function(w,v){w.uint(3997371525);var flags=0;if(v.top===true)flags|=1;if(v.my===true)flags|=2;var _peerId=v.peerId!==undefined;if(_peerId)flags|=8;w.uint(flags);if(_peerId)w.object(v.peerId);w.long(h(v,'stars'));},
1501
1503
  'phone.groupCallStars':function(w,v){w.uint(2635971878);w.long(h(v,'totalStars'));w.vector(w.object,h(v,'topDonors'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
1502
1504
  'recentStory':function(w,v){w.uint(1897752877);var flags=0;if(v.live===true)flags|=1;var _maxId=v.maxId!==undefined;if(_maxId)flags|=2;w.uint(flags);if(_maxId)w.int(v.maxId);},
1503
1505
  'auctionBidLevel':function(w,v){w.uint(822231244);w.int(h(v,'pos'));w.long(h(v,'amount'));w.int(h(v,'date'));},
@@ -1513,8 +1515,6 @@ var m={
1513
1515
  'payments.starGiftActiveAuctions':function(w,v){w.uint(2935401404);w.vector(w.object,h(v,'auctions'));w.vector(w.object,h(v,'users'));w.vector(w.object,h(v,'chats'));},
1514
1516
  'inputStarGiftAuction':function(w,v){w.uint(48327832);w.long(h(v,'giftId'));},
1515
1517
  'inputStarGiftAuctionSlug':function(w,v){w.uint(2058715912);w.string(h(v,'slug'));},
1516
- 'messageActionStarGiftPurchaseOffer':function(w,v){w.uint(2000845012);var flags=0;if(v.accepted===true)flags|=1;if(v.declined===true)flags|=2;w.uint(flags);w.object(h(v,'gift'));w.object(h(v,'price'));w.int(h(v,'expiresAt'));},
1517
- 'messageActionStarGiftPurchaseOfferDeclined':function(w,v){w.uint(1940760427);var flags=0;if(v.expired===true)flags|=1;w.uint(flags);w.object(h(v,'gift'));w.object(h(v,'price'));},
1518
1518
  'passkey':function(w,v){w.uint(2556509887);var flags=0;var _softwareEmojiId=v.softwareEmojiId!==undefined;if(_softwareEmojiId)flags|=1;var _lastUsageDate=v.lastUsageDate!==undefined;if(_lastUsageDate)flags|=2;w.uint(flags);w.string(h(v,'id'));w.string(h(v,'name'));w.int(h(v,'date'));if(_softwareEmojiId)w.long(v.softwareEmojiId);if(_lastUsageDate)w.int(v.lastUsageDate);},
1519
1519
  'account.passkeys':function(w,v){w.uint(4175473180);w.vector(w.object,h(v,'passkeys'));},
1520
1520
  'account.passkeyRegistrationOptions':function(w,v){w.uint(3781909729);w.object(h(v,'options'));},
@@ -1526,6 +1526,12 @@ var m={
1526
1526
  'starGiftAuctionRound':function(w,v){w.uint(984483112);w.int(h(v,'num'));w.int(h(v,'duration'));},
1527
1527
  'starGiftAuctionRoundExtendable':function(w,v){w.uint(178266597);w.int(h(v,'num'));w.int(h(v,'duration'));w.int(h(v,'extendTop'));w.int(h(v,'extendWindow'));},
1528
1528
  'payments.starGiftUpgradeAttributes':function(w,v){w.uint(1187439471);w.vector(w.object,h(v,'attributes'));},
1529
+ 'inputMediaStakeDice':function(w,v){w.uint(4087948362);w.string(h(v,'gameHash'));w.long(h(v,'tonAmount'));w.bytes(h(v,'clientSeed'));},
1530
+ 'updateEmojiGameInfo':function(w,v){w.uint(4221326458);w.object(h(v,'info'));},
1531
+ 'inputPasskeyCredentialFirebasePNV':function(w,v){w.uint(1528613672);w.string(h(v,'pnvToken'));},
1532
+ 'messages.emojiGameOutcome':function(w,v){w.uint(3660240455);w.bytes(h(v,'seed'));w.long(h(v,'stakeTonAmount'));w.long(h(v,'tonAmount'));},
1533
+ 'messages.emojiGameUnavailable':function(w){w.uint(1508266805);},
1534
+ 'messages.emojiGameDiceInfo':function(w,v){w.uint(1155883043);var flags=0;var _playsLeft=v.playsLeft!==undefined;if(_playsLeft)flags|=1;w.uint(flags);w.string(h(v,'gameHash'));w.long(h(v,'prevStake'));w.int(h(v,'currentStreak'));w.vector(w.int,h(v,'params'));if(_playsLeft)w.int(v.playsLeft);},
1529
1535
  'updateChannelPinnedTopic':function(w,v){w.uint(422509539);var flags=0;if(v.pinned===true)flags|=1;w.uint(flags);w.int53(h(v,'channelId'));w.int(h(v,'topicId'));},
1530
1536
  'updateChannelPinnedTopics':function(w,v){w.uint(4263085570);var flags=0;var _order=v.order&&v.order.length;if(_order)flags|=1;w.uint(flags);w.int53(h(v,'channelId'));if(_order)w.vector(w.int,v.order);},
1531
1537
  'invokeAfterMsg':function(w,v){w.uint(3416209197);w.long(h(v,'msgId'));w.object(h(v,'query'));},
@@ -1563,6 +1569,8 @@ var m={
1563
1569
  'auth.resetLoginEmail':function(w,v){w.uint(2123760019);w.string(h(v,'phoneNumber'));w.string(h(v,'phoneCodeHash'));},
1564
1570
  'auth.reportMissingCode':function(w,v){w.uint(3416125430);w.string(h(v,'phoneNumber'));w.string(h(v,'phoneCodeHash'));w.string(h(v,'mnc'));},
1565
1571
  'auth.checkPaidAuth':function(w,v){w.uint(1457889180);w.string(h(v,'phoneNumber'));w.string(h(v,'phoneCodeHash'));w.long(h(v,'formId'));},
1572
+ 'auth.initPasskeyLogin':function(w,v){w.uint(1368051895);w.int(h(v,'apiId'));w.string(h(v,'apiHash'));},
1573
+ 'auth.finishPasskeyLogin':function(w,v){w.uint(2555882759);var flags=0;var _fromDcId=v.fromDcId!==undefined;var _fromAuthKeyId=v.fromAuthKeyId!==undefined;var _flags_0=_fromDcId||_fromAuthKeyId;if(_flags_0)flags|=1;w.uint(flags);w.object(h(v,'credential'));if(_flags_0)w.int(v.fromDcId);if(_flags_0)w.long(v.fromAuthKeyId);},
1566
1574
  'account.registerDevice':function(w,v){w.uint(3968205178);var flags=0;if(v.noMuted===true)flags|=1;w.uint(flags);w.int(h(v,'tokenType'));w.string(h(v,'token'));w.boolean(h(v,'appSandbox'));w.bytes(h(v,'secret'));w.vector(w.int53,h(v,'otherUids'));},
1567
1575
  'account.unregisterDevice':function(w,v){w.uint(1779249670);w.int(h(v,'tokenType'));w.string(h(v,'token'));w.vector(w.int53,h(v,'otherUids'));},
1568
1576
  'account.updateNotifySettings':function(w,v){w.uint(2227067795);w.object(h(v,'peer'));w.object(h(v,'settings'));},
@@ -1682,6 +1690,10 @@ var m={
1682
1690
  'account.saveMusic':function(w,v){w.uint(2993107625);var flags=0;if(v.unsave===true)flags|=1;var _afterId=v.afterId!==undefined;if(_afterId)flags|=2;w.uint(flags);w.object(h(v,'id'));if(_afterId)w.object(v.afterId);},
1683
1691
  'account.getSavedMusicIds':function(w,v){w.uint(3768410031);w.long(h(v,'hash'));},
1684
1692
  'account.getUniqueGiftChatThemes':function(w,v){w.uint(3828148681);w.string(h(v,'offset'));w.int(h(v,'limit'));w.long(h(v,'hash'));},
1693
+ 'account.initPasskeyRegistration':function(w){w.uint(1117079528);},
1694
+ 'account.registerPasskey':function(w,v){w.uint(1437867990);w.object(h(v,'credential'));},
1695
+ 'account.getPasskeys':function(w){w.uint(3927903314);},
1696
+ 'account.deletePasskey':function(w,v){w.uint(4122302015);w.string(h(v,'id'));},
1685
1697
  'users.getUsers':function(w,v){w.uint(227648840);w.vector(w.object,h(v,'id'));},
1686
1698
  'users.getFullUser':function(w,v){w.uint(3054459160);w.object(h(v,'id'));},
1687
1699
  'users.setSecureValueErrors':function(w,v){w.uint(2429064373);w.object(h(v,'id'));w.vector(w.object,h(v,'errors'));},
@@ -2144,6 +2156,9 @@ var m={
2144
2156
  'payments.getStarGiftAuctionState':function(w,v){w.uint(1553986774);w.object(h(v,'auction'));w.int(h(v,'version'));},
2145
2157
  'payments.getStarGiftAuctionAcquiredGifts':function(w,v){w.uint(1805831148);w.long(h(v,'giftId'));},
2146
2158
  'payments.getStarGiftActiveAuctions':function(w,v){w.uint(2781892941);w.long(h(v,'hash'));},
2159
+ 'payments.resolveStarGiftOffer':function(w,v){w.uint(3922622492);var flags=0;if(v.decline===true)flags|=1;w.uint(flags);w.int(h(v,'offerMsgId'));},
2160
+ 'payments.sendStarGiftOffer':function(w,v){w.uint(2411227969);var flags=0;var _allowPaidStars=v.allowPaidStars!==undefined;if(_allowPaidStars)flags|=1;w.uint(flags);w.object(h(v,'peer'));w.string(h(v,'slug'));w.object(h(v,'price'));w.int(h(v,'duration'));w.long(h(v,'randomId'));if(_allowPaidStars)w.long(v.allowPaidStars);},
2161
+ 'payments.getStarGiftUpgradeAttributes':function(w,v){w.uint(1828948824);w.long(h(v,'giftId'));},
2147
2162
  'stickers.createStickerSet':function(w,v){w.uint(2418125671);var flags=0;if(v.masks===true)flags|=1;var _thumb=v.thumb!==undefined;if(_thumb)flags|=4;var _software=v.software!==undefined;if(_software)flags|=8;if(v.emojis===true)flags|=32;if(v.textColor===true)flags|=64;w.uint(flags);w.object(h(v,'userId'));w.string(h(v,'title'));w.string(h(v,'shortName'));if(_thumb)w.object(v.thumb);w.vector(w.object,h(v,'stickers'));if(_software)w.string(v.software);},
2148
2163
  'stickers.removeStickerFromSet':function(w,v){w.uint(4151709521);w.object(h(v,'sticker'));},
2149
2164
  'stickers.changeStickerPosition':function(w,v){w.uint(4290172106);w.object(h(v,'sticker'));w.int(h(v,'position'));},
@@ -2268,15 +2283,8 @@ var m={
2268
2283
  'smsjobs.getSmsJob':function(w,v){w.uint(2005766191);w.string(h(v,'jobId'));},
2269
2284
  'smsjobs.finishJob':function(w,v){w.uint(1327415076);var flags=0;var _error=v.error!==undefined;if(_error)flags|=1;w.uint(flags);w.string(h(v,'jobId'));if(_error)w.string(v.error);},
2270
2285
  'fragment.getCollectibleInfo':function(w,v){w.uint(3189671354);w.object(h(v,'collectible'));},
2271
- 'auth.initPasskeyLogin':function(w,v){w.uint(1368051895);w.int(h(v,'apiId'));w.string(h(v,'apiHash'));},
2272
- 'auth.finishPasskeyLogin':function(w,v){w.uint(2555882759);var flags=0;var _fromDcId=v.fromDcId!==undefined;var _fromAuthKeyId=v.fromAuthKeyId!==undefined;var _flags_0=_fromDcId||_fromAuthKeyId;if(_flags_0)flags|=1;w.uint(flags);w.object(h(v,'credential'));if(_flags_0)w.int(v.fromDcId);if(_flags_0)w.long(v.fromAuthKeyId);},
2273
- 'account.initPasskeyRegistration':function(w){w.uint(1117079528);},
2274
- 'account.registerPasskey':function(w,v){w.uint(1437867990);w.object(h(v,'credential'));},
2275
- 'account.getPasskeys':function(w){w.uint(3927903314);},
2276
- 'account.deletePasskey':function(w,v){w.uint(4122302015);w.string(h(v,'id'));},
2277
- 'payments.resolveStarGiftOffer':function(w,v){w.uint(3922622492);var flags=0;if(v.decline===true)flags|=1;w.uint(flags);w.int(h(v,'offerMsgId'));},
2278
- 'payments.sendStarGiftOffer':function(w,v){w.uint(2411227969);var flags=0;var _allowPaidStars=v.allowPaidStars!==undefined;if(_allowPaidStars)flags|=1;w.uint(flags);w.object(h(v,'peer'));w.string(h(v,'slug'));w.object(h(v,'price'));w.int(h(v,'duration'));w.long(h(v,'randomId'));if(_allowPaidStars)w.long(v.allowPaidStars);},
2279
- 'payments.getStarGiftUpgradeAttributes':function(w,v){w.uint(1828948824);w.long(h(v,'giftId'));},
2286
+ 'messages.getEmojiGameInfo':function(w){w.uint(4219374759);},
2287
+ 'messages.summarizeText':function(w,v){w.uint(2638284002);var flags=0;var _toLang=v.toLang!==undefined;if(_toLang)flags|=1;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'id'));if(_toLang)w.string(v.toLang);},
2280
2288
  'channels.createForumTopic':function(w,v){w.uint(4094427684);var flags=0;var _iconColor=v.iconColor!==undefined;if(_iconColor)flags|=1;var _sendAs=v.sendAs!==undefined;if(_sendAs)flags|=4;var _iconEmojiId=v.iconEmojiId!==undefined;if(_iconEmojiId)flags|=8;w.uint(flags);w.object(h(v,'channel'));w.string(h(v,'title'));if(_iconColor)w.int(v.iconColor);if(_iconEmojiId)w.long(v.iconEmojiId);w.long(h(v,'randomId'));if(_sendAs)w.object(v.sendAs);},
2281
2289
  'channels.getForumTopics':function(w,v){w.uint(233136337);var flags=0;var _q=v.q!==undefined;if(_q)flags|=1;w.uint(flags);w.object(h(v,'channel'));if(_q)w.string(v.q);w.int(h(v,'offsetDate'));w.int(h(v,'offsetId'));w.int(h(v,'offsetTopic'));w.int(h(v,'limit'));},
2282
2290
  'channels.getForumTopicsByID':function(w,v){w.uint(2961383097);w.object(h(v,'channel'));w.vector(w.int,h(v,'topics'));},
@@ -2864,6 +2872,7 @@ _staticSize:{
2864
2872
  'starGiftBackground':16,
2865
2873
  'starGiftAuctionRound':12,
2866
2874
  'starGiftAuctionRoundExtendable':20,
2875
+ 'messages.emojiGameUnavailable':4,
2867
2876
  'updateChannelPinnedTopic':20,
2868
2877
  'auth.logOut':4,
2869
2878
  'auth.resetAuthorizations':4,
@@ -2916,6 +2925,8 @@ _staticSize:{
2916
2925
  'account.getCollectibleEmojiStatuses':12,
2917
2926
  'account.setMainProfileTab':8,
2918
2927
  'account.getSavedMusicIds':12,
2928
+ 'account.initPasskeyRegistration':4,
2929
+ 'account.getPasskeys':4,
2919
2930
  'contacts.getContactIDs':12,
2920
2931
  'contacts.getStatuses':4,
2921
2932
  'contacts.getContacts':12,
@@ -3005,6 +3016,8 @@ _staticSize:{
3005
3016
  'payments.checkCanSendGift':12,
3006
3017
  'payments.getStarGiftAuctionAcquiredGifts':12,
3007
3018
  'payments.getStarGiftActiveAuctions':12,
3019
+ 'payments.resolveStarGiftOffer':12,
3020
+ 'payments.getStarGiftUpgradeAttributes':12,
3008
3021
  'phone.getCallConfig':4,
3009
3022
  'phone.receivedCall':24,
3010
3023
  'phone.declineConferenceCallInvite':8,
@@ -3022,10 +3035,7 @@ _staticSize:{
3022
3035
  'smsjobs.leave':4,
3023
3036
  'smsjobs.updateSettings':8,
3024
3037
  'smsjobs.getStatus':4,
3025
- 'account.initPasskeyRegistration':4,
3026
- 'account.getPasskeys':4,
3027
- 'payments.resolveStarGiftOffer':12,
3028
- 'payments.getStarGiftUpgradeAttributes':12,
3038
+ 'messages.getEmojiGameInfo':4,
3029
3039
  'mt_dh_gen_ok':52,
3030
3040
  'mt_dh_gen_retry':52,
3031
3041
  'mt_dh_gen_fail':52,
package/compat/index.d.ts CHANGED
@@ -439,6 +439,7 @@ export declare namespace tlCompat {
439
439
  * paid_message_stars: flags2.6?long
440
440
  * suggested_post: flags2.7?SuggestedPost
441
441
  * schedule_repeat_period: flags2.10?int
442
+ * summary_from_language: flags2.11?string
442
443
  */
443
444
  interface RawMessage_layer199 {
444
445
  _: 'message_layer199';
@@ -796,6 +797,7 @@ export declare namespace tlCompat {
796
797
  *
797
798
  * Added arguments:
798
799
  * saved_peer_id: flags.28?Peer
800
+ * legacy_ios: flags.17?true
799
801
  */
800
802
  interface RawMessageService_layer204 {
801
803
  _: 'messageService_layer204';
@@ -823,6 +825,7 @@ export declare namespace tlCompat {
823
825
  * paid_suggested_post_ton: flags2.9?true
824
826
  * suggested_post: flags2.7?SuggestedPost
825
827
  * schedule_repeat_period: flags2.10?int
828
+ * summary_from_language: flags2.11?string
826
829
  */
827
830
  interface RawMessage_layer204 {
828
831
  _: 'message_layer204';
@@ -1817,6 +1820,7 @@ export declare namespace tlCompat {
1817
1820
  *
1818
1821
  * Added arguments:
1819
1822
  * schedule_repeat_period: flags2.10?int
1823
+ * summary_from_language: flags2.11?string
1820
1824
  */
1821
1825
  interface RawMessage_layer216 {
1822
1826
  _: 'message_layer216';
@@ -1975,18 +1979,84 @@ export declare namespace tlCompat {
1975
1979
  giftMsgId?: number;
1976
1980
  toId?: tl.TypePeer;
1977
1981
  }
1982
+ /**
1983
+ * Compared to the current schema, changes from this entry:
1984
+ *
1985
+ * Added arguments:
1986
+ * flags: #
1987
+ * game_outcome: flags.0?messages.EmojiGameOutcome
1988
+ */
1989
+ interface RawMessageMediaDice_layer220 {
1990
+ _: 'messageMediaDice_layer220';
1991
+ value: number;
1992
+ emoticon: string;
1993
+ }
1994
+ /**
1995
+ * Compared to the current schema, changes from this entry:
1996
+ *
1997
+ * Added arguments:
1998
+ * summary_from_language: flags2.11?string
1999
+ */
2000
+ interface RawMessage_layer220 {
2001
+ _: 'message_layer220';
2002
+ out?: boolean;
2003
+ mentioned?: boolean;
2004
+ mediaUnread?: boolean;
2005
+ silent?: boolean;
2006
+ post?: boolean;
2007
+ fromScheduled?: boolean;
2008
+ legacy?: boolean;
2009
+ editHide?: boolean;
2010
+ pinned?: boolean;
2011
+ noforwards?: boolean;
2012
+ invertMedia?: boolean;
2013
+ offline?: boolean;
2014
+ videoProcessingPending?: boolean;
2015
+ paidSuggestedPostStars?: boolean;
2016
+ paidSuggestedPostTon?: boolean;
2017
+ id: number;
2018
+ fromId?: tl.TypePeer;
2019
+ fromBoostsApplied?: number;
2020
+ peerId: tl.TypePeer;
2021
+ savedPeerId?: tl.TypePeer;
2022
+ fwdFrom?: tl.TypeMessageFwdHeader;
2023
+ viaBotId?: number;
2024
+ viaBusinessBotId?: number;
2025
+ replyTo?: tlCompat.TypeMessageReplyHeader;
2026
+ date: number;
2027
+ message: string;
2028
+ media?: tlCompat.TypeMessageMedia;
2029
+ replyMarkup?: tl.TypeReplyMarkup;
2030
+ entities?: tl.TypeMessageEntity[];
2031
+ views?: number;
2032
+ forwards?: number;
2033
+ replies?: tl.TypeMessageReplies;
2034
+ editDate?: number;
2035
+ postAuthor?: string;
2036
+ groupedId?: Long;
2037
+ reactions?: tl.TypeMessageReactions;
2038
+ restrictionReason?: tl.TypeRestrictionReason[];
2039
+ ttlPeriod?: number;
2040
+ quickReplyShortcutId?: number;
2041
+ effect?: Long;
2042
+ factcheck?: tl.TypeFactCheck;
2043
+ reportDeliveryUntilDate?: number;
2044
+ paidMessageStars?: Long;
2045
+ suggestedPost?: tl.TypeSuggestedPost;
2046
+ scheduleRepeatPeriod?: number;
2047
+ }
1978
2048
  interface RpcCallReturn {
1979
2049
  }
1980
2050
  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 | tlCompat.RawStarGiftUnique_layer211 | tlCompat.RawStarGift_layer211 | tlCompat.RawStarGiftUnique_layer214 | tlCompat.RawStarGift_layer216 | tlCompat.RawStarGiftUnique_layer218 | tlCompat.RawStarGift_layer218 | tl.TypeStarGift
1981
2051
  type TypeEmojiStatus = tlCompat.RawEmojiStatus_layer197 | tlCompat.RawEmojiStatusUntil_layer214 | tl.TypeEmojiStatus
1982
- type TypeMessageMedia = tlCompat.RawMessageMediaDocument_layer197 | tl.TypeMessageMedia
2052
+ type TypeMessageMedia = tlCompat.RawMessageMediaDocument_layer197 | tlCompat.RawMessageMediaDice_layer220 | tl.TypeMessageMedia
1983
2053
  type TypeChatFull = tlCompat.RawChannelFull_layer197 | tlCompat.RawChannelFull_layer204 | tlCompat.RawChannelFull_layer211 | tl.TypeChatFull
1984
2054
  type TypeMessageAction = tlCompat.RawMessageActionStarGiftUnique_layer197 | tlCompat.RawMessageActionStarGift_layer197 | tlCompat.RawMessageActionStarGiftUnique_layer202 | tlCompat.RawMessageActionPaidMessagesPrice_layer203 | tlCompat.RawMessageActionStarGiftUnique_layer210 | tlCompat.RawMessageActionStarGift_layer211 | tlCompat.RawMessageActionSetChatTheme_layer211 | tlCompat.RawMessageActionStarGiftUnique_layer214 | tlCompat.RawMessageActionStarGift_layer216 | tlCompat.RawMessageActionGiftCode_layer216 | tlCompat.RawMessageActionGiftPremium_layer216 | tlCompat.RawMessageActionStarGift_layer218 | tl.TypeMessageAction
1985
2055
  type TypeUserFull = tlCompat.RawUserFull_layer199 | tlCompat.RawUserFull_layer200 | tlCompat.RawUserFull_layer209 | tlCompat.RawUserFull_layer210 | tlCompat.RawUserFull_layer211 | tlCompat.RawUserFull_layer214 | tl.TypeUserFull
1986
2056
  type TypePremiumGiftOption = tlCompat.RawPremiumGiftOption_layer199
1987
2057
  type TypeUser = tlCompat.RawUser_layer199 | tlCompat.RawUser_layer216 | tl.TypeUser
1988
2058
  type TypeChat = tlCompat.RawChannel_layer199 | tlCompat.RawChannel_layer203 | tlCompat.RawChannel_layer216 | tl.TypeChat
1989
- type TypeMessage = tlCompat.RawMessage_layer199 | tlCompat.RawMessageService_layer204 | tlCompat.RawMessage_layer204 | tlCompat.RawMessage_layer216 | tl.TypeMessage
2059
+ type TypeMessage = tlCompat.RawMessage_layer199 | tlCompat.RawMessageService_layer204 | tlCompat.RawMessage_layer204 | tlCompat.RawMessage_layer216 | tlCompat.RawMessage_layer220 | tl.TypeMessage
1990
2060
  type TypePhoneCallDiscardReason = tlCompat.RawPhoneCallDiscardReasonAllowGroupCall_layer202 | tl.TypePhoneCallDiscardReason
1991
2061
  type TypeMessageReplyHeader = tlCompat.RawMessageReplyHeader_layer206 | tl.TypeMessageReplyHeader
1992
2062
  type TypeStoryItem = tlCompat.RawStoryItem_layer210 | tl.TypeStoryItem
@@ -2047,5 +2117,7 @@ export declare namespace tlCompat {
2047
2117
  | tlCompat.RawStarGiftUnique_layer218
2048
2118
  | tlCompat.RawStarGift_layer218
2049
2119
  | tlCompat.RawMessageActionStarGift_layer218
2120
+ | tlCompat.RawMessageMediaDice_layer220
2121
+ | tlCompat.RawMessage_layer220
2050
2122
  | tl.TlObject
2051
2123
  }
package/compat/reader.js CHANGED
@@ -55,5 +55,7 @@ var m={
55
55
  2965337115:function(r){var flags=r.uint();return{_:'starGiftUnique_layer218',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,}},
56
56
  463097215:function(r){var flags=r.uint();return{_:'starGift_layer218',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,}},
57
57
  3680068944:function(r){var flags=r.uint();return{_:'messageActionStarGift_layer218',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,}},
58
+ 1065280907:function(r){return{_:'messageMediaDice_layer220',value:r.int(),emoticon:r.string(),}},
59
+ 3106895567:function(r){var flags=r.uint(),flags2=r.uint();return{_:'message_layer220',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,}},
58
60
  }
59
61
  exports.__tlReaderMapCompat = m;