@@ -169,6 +169,7 @@ messageActionSetChatTheme#aa786345 emoticon:string = MessageAction;
169169messageActionChatJoinedByRequest#ebbca3cb = MessageAction ;
170170messageActionWebViewDataSentMe#47dd8079 text:string data:string = MessageAction ;
171171messageActionWebViewDataSent#b4c38cb5 text:string = MessageAction ;
172+ messageActionGiftPremium#aba0f5c6 currency:string amount:long months:int = MessageAction ;
172173
173174dialog#a8edd0f5 flags:# pinned:flags.2? true unread_mark:flags.3? true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int unread_reactions_count:int notify_settings:PeerNotifySettings pts:flags.0? int draft:flags.1? DraftMessage folder_id:flags.4? int = Dialog ;
174175dialogFolder#71bd134c flags:# pinned:flags.2? true folder:Folder peer:Peer top_message:int unread_muted_peers_count:int unread_unmuted_peers_count:int unread_muted_messages_count:int unread_unmuted_messages_count:int = Dialog ;
@@ -218,7 +219,7 @@ inputReportReasonFake#f5ddd6e7 = ReportReason;
218219inputReportReasonIllegalDrugs#a8eb2be = ReportReason ;
219220inputReportReasonPersonalDetails#9ec7863d = ReportReason ;
220221
221- userFull#8c72ea81 flags:# blocked:flags.0? true phone_calls_available:flags.4? true phone_calls_private:flags.5? true can_pin_message:flags.7? true has_scheduled:flags.12? true video_calls_available:flags.13? true id:long about:flags.1? string settings:PeerSettings profile_photo:flags.2? Photo notify_settings:PeerNotifySettings bot_info:flags.3? BotInfo pinned_msg_id:flags.6? int common_chats_count:int folder_id:flags.11? int ttl_period:flags.14? int theme_emoticon:flags.15? string private_forward_name:flags.16? string bot_group_admin_rights:flags.17? ChatAdminRights bot_broadcast_admin_rights:flags.18? ChatAdminRights = UserFull ;
222+ userFull#c4b1fc3f flags:# blocked:flags.0? true phone_calls_available:flags.4? true phone_calls_private:flags.5? true can_pin_message:flags.7? true has_scheduled:flags.12? true video_calls_available:flags.13? true voice_messages_forbidden:flags.20 ? true id:long about:flags.1? string settings:PeerSettings profile_photo:flags.2? Photo notify_settings:PeerNotifySettings bot_info:flags.3? BotInfo pinned_msg_id:flags.6? int common_chats_count:int folder_id:flags.11? int ttl_period:flags.14? int theme_emoticon:flags.15? string private_forward_name:flags.16? string bot_group_admin_rights:flags.17? ChatAdminRights bot_broadcast_admin_rights:flags.18? ChatAdminRights premium_gifts:flags.19 ? Vector < PremiumGiftOption > = UserFull ;
222223
223224contact#145ade0b user_id:long mutual:Bool = Contact ;
224225
@@ -300,7 +301,7 @@ updateDeleteChannelMessages#c32d5b12 channel_id:long messages:Vector<int> pts:in
300301updateChannelMessageViews#f226ac08 channel_id:long id:int views:int = Update ;
301302updateChatParticipantAdmin#d7ca61a2 chat_id:long user_id:long is_admin:Bool version:int = Update ;
302303updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update ;
303- updateStickerSetsOrder#bb2d201 flags:# masks:flags.0? true order:Vector<long > = Update ;
304+ updateStickerSetsOrder#bb2d201 flags:# masks:flags.0? true emojis:flags.1 ? true order:Vector<long > = Update ;
304305updateStickerSets#43ae3dec = Update ;
305306updateSavedGifs#9375341e = Update ;
306307updateBotInlineQuery#496f379c flags:# query_id:long user_id:long query:string geo:flags.0? GeoPoint peer_type:flags.1? InlineQueryPeerType offset:string = Update ;
@@ -369,6 +370,7 @@ updateWebViewResultSent#1592b79d query_id:long = Update;
369370updateBotMenuButton#14b85813 bot_id:long button:BotMenuButton = Update ;
370371updateSavedRingtones#74d8be99 = Update ;
371372updateTranscribedAudio#84cd5a flags:# pending:flags.0? true peer:Peer msg_id:int transcription_id:long text:string = Update ;
373+ updateReadFeaturedEmojiStickers#fb4c496c = Update ;
372374
373375updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates .State ;
374376
@@ -471,6 +473,7 @@ inputPrivacyKeyForwards#a4dd4c08 = InputPrivacyKey;
471473inputPrivacyKeyProfilePhoto#5719bacc = InputPrivacyKey ;
472474inputPrivacyKeyPhoneNumber#352dafa = InputPrivacyKey ;
473475inputPrivacyKeyAddedByPhone#d1219bdd = InputPrivacyKey ;
476+ inputPrivacyKeyVoiceMessages#aee69d68 = InputPrivacyKey ;
474477
475478privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey ;
476479privacyKeyChatInvite#500e6dfa = PrivacyKey ;
@@ -480,6 +483,7 @@ privacyKeyForwards#69ec56a3 = PrivacyKey;
480483privacyKeyProfilePhoto#96151fed = PrivacyKey ;
481484privacyKeyPhoneNumber#d19ae46d = PrivacyKey ;
482485privacyKeyAddedByPhone#42ffd42b = PrivacyKey ;
486+ privacyKeyVoiceMessages#697f414 = PrivacyKey ;
483487
484488inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule ;
485489inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule ;
@@ -510,6 +514,7 @@ documentAttributeVideo#ef02ce6 flags:# round_message:flags.0?true supports_strea
510514documentAttributeAudio#9852f9c6 flags:# voice:flags.10? true duration:int title:flags.0? string performer:flags.1? string waveform:flags.2? bytes = DocumentAttribute ;
511515documentAttributeFilename#15590068 file_name:string = DocumentAttribute ;
512516documentAttributeHasStickers#9801d2f7 = DocumentAttribute ;
517+ documentAttributeCustomEmoji#fd149899 flags:# free:flags.0? true alt:string stickerset:InputStickerSet = DocumentAttribute ;
513518
514519messages.stickersNotModified#f1749a22 = messages .Stickers ;
515520messages.stickers#30a6ec7e hash:long stickers:Vector<Document > = messages .Stickers ;
@@ -553,8 +558,9 @@ inputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet;
553558inputStickerSetAnimatedEmoji#28703c8 = InputStickerSet ;
554559inputStickerSetDice#e67f520e emoticon:string = InputStickerSet ;
555560inputStickerSetAnimatedEmojiAnimations#cde3739 = InputStickerSet ;
561+ inputStickerSetPremiumGifts#c88b3b02 = InputStickerSet ;
556562
557- stickerSet#d7df217a flags:# archived:flags.1? true official:flags.2? true masks:flags.3? true animated:flags.5? true videos:flags.6? true installed_date:flags.0? int id:long access_hash:long title:string short_name:string thumbs:flags.4? Vector <PhotoSize > thumb_dc_id:flags.4? int thumb_version:flags.4? int count:int hash:int = StickerSet ;
563+ stickerSet#2dd14edc flags:# archived:flags.1? true official:flags.2? true masks:flags.3? true animated:flags.5? true videos:flags.6? true emojis:flags.7 ? true installed_date:flags.0? int id:long access_hash:long title:string short_name:string thumbs:flags.4? Vector <PhotoSize > thumb_dc_id:flags.4? int thumb_version:flags.4? int thumb_document_id:flags.8 ? long count:int hash:int = StickerSet ;
558564
559565messages.stickerSet#b60a24a6 set:StickerSet packs:Vector<StickerPack > documents:Vector<Document > = messages .StickerSet ;
560566messages.stickerSetNotModified#d3f924eb = messages .StickerSet ;
@@ -606,6 +612,7 @@ messageEntityStrike#bf0693d4 offset:int length:int = MessageEntity;
606612messageEntityBlockquote#20df5d0 offset:int length:int = MessageEntity ;
607613messageEntityBankCard#761e6af4 offset:int length:int = MessageEntity ;
608614messageEntitySpoiler#32ca960f offset:int length:int = MessageEntity ;
615+ messageEntityCustomEmoji#c8cf05f8 offset:int length:int document_id:long = MessageEntity ;
609616
610617inputChannelEmpty#ee8c1e86 = InputChannel ;
611618inputChannel#f35aec28 channel_id:long access_hash:long = InputChannel ;
@@ -720,7 +727,7 @@ draftMessageEmpty#1b0c841a flags:# date:flags.0?int = DraftMessage;
720727draftMessage#fd8e711f flags:# no_webpage:flags.1? true reply_to_msg_id:flags.0? int message:string entities:flags.3? Vector <MessageEntity > date:int = DraftMessage ;
721728
722729messages.featuredStickersNotModified#c6dc0c66 count:int = messages .FeaturedStickers ;
723- messages.featuredStickers#84c02310 hash:long count:int sets:Vector<StickerSetCovered > unread:Vector<long > = messages .FeaturedStickers ;
730+ messages.featuredStickers#be382906 flags:# premium:flags.0 ? true hash:long count:int sets:Vector<StickerSetCovered > unread:Vector<long > = messages .FeaturedStickers ;
724731
725732messages.recentStickersNotModified#b17f890 = messages .RecentStickers ;
726733messages.recentStickers#88d37c56 hash:long packs:Vector<StickerPack > stickers:Vector<Document > dates:Vector<int > = messages .RecentStickers ;
@@ -732,6 +739,7 @@ messages.stickerSetInstallResultArchive#35e410a8 sets:Vector<StickerSetCovered>
732739
733740stickerSetCovered#6410a5d2 set:StickerSet cover:Document = StickerSetCovered ;
734741stickerSetMultiCovered#3407e51b set:StickerSet covers:Vector<Document > = StickerSetCovered ;
742+ stickerSetFullCovered#1aed5ee5 set:StickerSet packs:Vector<StickerPack > documents:Vector<Document > = StickerSetCovered ;
735743
736744maskCoords#aed6dbb2 n:int x:double y:double zoom:double = MaskCoords ;
737745
@@ -820,10 +828,11 @@ inputWebDocument#9bed434d url:string size:int mime_type:string attributes:Vector
820828
821829inputWebFileLocation#c239d686 url:string access_hash:long = InputWebFileLocation ;
822830inputWebFileGeoPointLocation#9f2221c9 geo_point:InputGeoPoint access_hash:long w:int h:int zoom:int scale:int = InputWebFileLocation ;
831+ inputWebFileAudioAlbumThumbLocation#f46fe924 flags:# small:flags.2? true document:flags.0? InputDocument title:flags.1? string performer:flags.1? string = InputWebFileLocation ;
823832
824833upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload .WebFile ;
825834
826- payments.paymentForm#b0133b37 flags:# can_save_credentials:flags.2? true password_missing:flags.3? true form_id:long bot_id:long title:string description:string photo:flags.5? WebDocument invoice:Invoice provider_id:long url:string native_provider:flags.4? string native_params:flags.4? DataJSON saved_info:flags.0? PaymentRequestedInfo saved_credentials:flags.1? PaymentSavedCredentials users:Vector<User > = payments .PaymentForm ;
835+ payments.paymentForm#a0058751 flags:# can_save_credentials:flags.2? true password_missing:flags.3? true form_id:long bot_id:long title:string description:string photo:flags.5? WebDocument invoice:Invoice provider_id:long url:string native_provider:flags.4? string native_params:flags.4? DataJSON additional_methods:flags.6 ? Vector < PaymentFormMethod > saved_info:flags.0? PaymentRequestedInfo saved_credentials:flags.1? Vector < PaymentSavedCredentials > users:Vector<User > = payments .PaymentForm ;
827836
828837payments.validatedRequestedInfo#d1451883 flags:# id:flags.0? string shipping_options:flags.1? Vector <ShippingOption > = payments .ValidatedRequestedInfo ;
829838
@@ -1365,6 +1374,13 @@ messages.transcribedAudio#93752c52 flags:# pending:flags.0?true transcription_id
13651374
13661375help.premiumPromo#8a4f3c29 status_text:string status_entities:Vector<MessageEntity > video_sections:Vector<string > videos:Vector<Document > currency:string monthly_amount:long users:Vector<User > = help .PremiumPromo ;
13671376
1377+ inputStorePaymentPremiumSubscription#a6751e66 flags:# restore:flags.0? true = InputStorePaymentPurpose ;
1378+ inputStorePaymentGiftPremium#616f7fe8 user_id:InputUser currency:string amount:long = InputStorePaymentPurpose ;
1379+
1380+ premiumGiftOption#74c34319 flags:# months:int currency:string amount:long bot_url:string store_product:flags.0? string = PremiumGiftOption ;
1381+
1382+ paymentFormMethod#88f8f21b url:string title:string = PaymentFormMethod ;
1383+
13681384---functions ---
13691385
13701386invokeAfterMsg#cb9f372d {X:Type} msg_id:long query :!X = X ;
@@ -1408,7 +1424,7 @@ account.checkUsername#2714d86c username:string = Bool;
14081424account.updateUsername#3e0bdd7c username:string = User ;
14091425account.getPrivacy#dadbc950 key:InputPrivacyKey = account .PrivacyRules ;
14101426account.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector<InputPrivacyRule > = account .PrivacyRules ;
1411- account.deleteAccount#418d4e0b reason:string = Bool ;
1427+ account.deleteAccount#a2c0cf74 flags:# reason:string password:flags.0 ? InputCheckPasswordSRP = Bool ;
14121428account.getAccountTTL#8fc711d = AccountDaysTTL ;
14131429account.setAccountTTL#2442485e ttl:AccountDaysTTL = Bool ;
14141430account.sendChangePhoneCode#82574ae5 phone_number:string settings:CodeSettings = auth .SentCode ;
@@ -1546,7 +1562,7 @@ messages.getMessagesViews#5784d3e1 peer:InputPeer id:Vector<int> increment:Bool
15461562messages.editChatAdmin#a85bd1c2 chat_id:long user_id:InputUser is_admin:Bool = Bool ;
15471563messages.migrateChat#a2875319 chat_id:long = Updates ;
15481564messages.searchGlobal#4bc6589a flags:# folder_id:flags.0? int q:string filter:MessagesFilter min_date:int max_date:int offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages .Messages ;
1549- messages.reorderStickerSets#78337739 flags:# masks:flags.0? true order:Vector<long > = Bool ;
1565+ messages.reorderStickerSets#78337739 flags:# masks:flags.0? true emojis:flags.1 ? true order:Vector<long > = Bool ;
15501566messages.getDocumentByHash#b1f2061f sha256:bytes size:long mime_type:string = Document ;
15511567messages.getSavedGifs#5cf09635 hash:long = messages .SavedGifs ;
15521568messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool ;
@@ -1566,7 +1582,7 @@ messages.readFeaturedStickers#5b118126 id:Vector<long> = Bool;
15661582messages.getRecentStickers#9da9403b flags:# attached:flags.0? true hash:long = messages .RecentStickers ;
15671583messages.saveRecentSticker#392718f8 flags:# attached:flags.0? true id:InputDocument unsave:Bool = Bool ;
15681584messages.clearRecentStickers#8999602d flags:# attached:flags.0? true = Bool ;
1569- messages.getArchivedStickers#57f17692 flags:# masks:flags.0? true offset_id:long limit:int = messages .ArchivedStickers ;
1585+ messages.getArchivedStickers#57f17692 flags:# masks:flags.0? true emojis:flags.1 ? true offset_id:long limit:int = messages .ArchivedStickers ;
15701586messages.getMaskStickers#640f82b8 hash:long = messages .AllStickers ;
15711587messages.getAttachedStickers#cc5b67cc media:InputStickeredMedia = Vector <StickerSetCovered >;
15721588messages.setGameScore#8ef8ecc0 flags:# edit_message:flags.0? true force:flags.1? true peer:InputPeer id:int user_id:InputUser score:int = Updates ;
@@ -1667,6 +1683,9 @@ messages.sendWebViewResultMessage#a4314f5 bot_query_id:string result:InputBotInl
16671683messages.sendWebViewData#dc0242c8 bot:InputUser random_id:long button_text:string data:string = Updates ;
16681684messages.transcribeAudio#269e9a49 peer:InputPeer msg_id:int = messages .TranscribedAudio ;
16691685messages.rateTranscribedAudio#7f1d072f peer:InputPeer msg_id:int transcription_id:long good:Bool = Bool ;
1686+ messages.getCustomEmojiDocuments#d9ab0f54 document_id:Vector<long > = Vector <Document >;
1687+ messages.getEmojiStickers#fbfca18f hash:long = messages .AllStickers ;
1688+ messages.getFeaturedEmojiStickers#ecf6736 hash:long = messages .FeaturedStickers ;
16701689
16711690updates.getState#edd4882a = updates .State ;
16721691updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0? int date:int qts:int = updates .Difference ;
@@ -1770,10 +1789,9 @@ payments.getSavedInfo#227d824b = payments.SavedInfo;
17701789payments.clearSavedInfo#d83d70c1 flags:# credentials:flags.0? true info:flags.1? true = Bool ;
17711790payments.getBankCardData#2e79d779 number:string = payments .BankCardData ;
17721791payments.exportInvoice#f91b065 invoice_media:InputMedia = payments .ExportedInvoice ;
1773- payments.assignAppStoreTransaction#fec13c6 flags:# restore:flags.0? true transaction_id:string receipt:bytes = Updates ;
1774- payments.assignPlayMarketTransaction#4faa4aed purchase_token:string = Updates ;
1775- payments.restorePlayMarketReceipt#d164e36a receipt:bytes = Updates ;
1776- payments.canPurchasePremium#aa6a90c8 = Bool ;
1792+ payments.assignAppStoreTransaction#80ed747d receipt:bytes purpose:InputStorePaymentPurpose = Updates ;
1793+ payments.assignPlayMarketTransaction#dffd50d3 receipt:DataJSON purpose:InputStorePaymentPurpose = Updates ;
1794+ payments.canPurchasePremium#9fc19eb6 purpose:InputStorePaymentPurpose = Bool ;
17771795payments.requestRecurringPayment#146e958d user_id:InputUser recurring_init_charge:string invoice_media:InputMedia = Updates ;
17781796
17791797stickers.createStickerSet#9021ab67 flags:# masks:flags.0? true animated:flags.1? true videos:flags.4? true user_id:InputUser title:string short_name:string thumb:flags.2? InputDocument stickers:Vector<InputStickerSetItem > software:flags.3? string = messages .StickerSet ;
@@ -1831,4 +1849,4 @@ stats.getMegagroupStats#dcdf8607 flags:# dark:flags.0?true channel:InputChannel
18311849stats.getMessagePublicForwards#5630281b channel:InputChannel msg_id:int offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages .Messages ;
18321850stats.getMessageStats#b6e0a3f5 flags:# dark:flags.0? true channel:InputChannel msg_id:int = stats .MessageStats ;
18331851
1834- // LAYER 143
1852+ // LAYER 144
0 commit comments