@@ -81,8 +81,6 @@ inputPhotoLegacyFileLocation#d83466f3 id:long access_hash:long file_reference:by
8181inputPeerPhotoFileLocation#37257e99 flags:# big:flags.0? true peer:InputPeer photo_id:long = InputFileLocation ;
8282inputStickerSetThumb#9d84f3db stickerset:InputStickerSet thumb_version:int = InputFileLocation ;
8383inputGroupCallStream#598a92a flags:# call:InputGroupCall time_ms:long scale:int video_channel:flags.0? int video_quality:flags.0? int = InputFileLocation ;
84- inputPeerPhotoFileLocationLegacy#27d69997 flags:# big:flags.0? true peer:InputPeer volume_id:long local_id:int = InputFileLocation ;
85- inputStickerSetThumbLegacy#dbaeae9 stickerset:InputStickerSet volume_id:long local_id:int = InputFileLocation ;
8684
8785peerUser#59511722 user_id:long = Peer ;
8886peerChat#36c6019a chat_id:long = Peer ;
@@ -261,7 +259,7 @@ inputReportReasonFake#f5ddd6e7 = ReportReason;
261259inputReportReasonIllegalDrugs#a8eb2be = ReportReason ;
262260inputReportReasonPersonalDetails#9ec7863d = ReportReason ;
263261
264- userFull#1f58e369 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 translations_disabled:flags.23?true stories_pinned_available:flags.26?true blocked_my_stories_from:flags.27?true wallpaper_overridden:flags.28?true contact_require_premium:flags.29?true read_dates_private:flags.30?true flags2:# sponsored_enabled:flags2.7?true can_view_revenue:flags2.9?true bot_can_manage_emoji_status:flags2.10?true id:long about:flags.1?string settings:PeerSettings personal_photo:flags.21?Photo profile_photo:flags.2?Photo fallback_photo:flags.22?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> wallpaper:flags.24?WallPaper stories:flags.25?PeerStories business_work_hours:flags2.0?BusinessWorkHours business_location:flags2.1?BusinessLocation business_greeting_message:flags2.2?BusinessGreetingMessage business_away_message:flags2.3?BusinessAwayMessage business_intro:flags2.4?BusinessIntro birthday:flags2.5?Birthday personal_channel_id:flags2.6?long personal_channel_message:flags2.6?int stargifts_count:flags2.8?int = UserFull;
262+ userFull#979d2376 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 translations_disabled:flags.23?true stories_pinned_available:flags.26?true blocked_my_stories_from:flags.27?true wallpaper_overridden:flags.28?true contact_require_premium:flags.29?true read_dates_private:flags.30?true flags2:# sponsored_enabled:flags2.7?true can_view_revenue:flags2.9?true bot_can_manage_emoji_status:flags2.10?true id:long about:flags.1?string settings:PeerSettings personal_photo:flags.21?Photo profile_photo:flags.2?Photo fallback_photo:flags.22?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> wallpaper:flags.24?WallPaper stories:flags.25?PeerStories business_work_hours:flags2.0?BusinessWorkHours business_location:flags2.1?BusinessLocation business_greeting_message:flags2.2?BusinessGreetingMessage business_away_message:flags2.3?BusinessAwayMessage business_intro:flags2.4?BusinessIntro birthday:flags2.5?Birthday personal_channel_id:flags2.6?long personal_channel_message:flags2.6?int stargifts_count:flags2.8?int starref_program:flags2.11?StarRefProgram = UserFull;
265263
266264contact#145ade0b user_id:long mutual:Bool = Contact ;
267265
@@ -448,7 +446,7 @@ updateBotEditBusinessMessage#7df587c flags:# connection_id:string message:Messag
448446updateBotDeleteBusinessMessage#a02a982e connection_id:string peer:Peer messages:Vector<int > qts:int = Update ;
449447updateNewStoryReaction#1824e40b story_id:int peer:Peer reaction:Reaction = Update ;
450448updateBroadcastRevenueTransactions#dfd961f5 peer:Peer balances:BroadcastRevenueBalances = Update ;
451- updateStarsBalance#fb85198 balance:long = Update ;
449+ updateStarsBalance#4e80a379 balance:StarsAmount = Update ;
452450updateBusinessBotCallbackQuery#1ea2fda7 flags:# query_id:long user_id:long connection_id:string message:Message reply_to_message:flags.2? Message chat_instance:long data:flags.0? bytes = Update ;
453451updateStarsRevenueStatus#a584b019 peer:Peer status:StarsRevenueStatus = Update ;
454452updateBotPurchasedPaidMedia#283bd312 user_id:long payload:string qts:int = Update ;
@@ -952,7 +950,7 @@ inputWebFileAudioAlbumThumbLocation#f46fe924 flags:# small:flags.2?true document
952950upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload .WebFile ;
953951
954952payments.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 ;
955- payments.paymentFormStars#7bf6b15c flags:# can_save_credentials:flags.2? true form_id:long password_missing:flags.3? true bot_id:long title:string description:string photo:flags.5? WebDocument invoice:Invoice users:Vector<User > = payments .PaymentForm ;
953+ payments.paymentFormStars#7bf6b15c 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 users:Vector<User > = payments .PaymentForm ;
956954payments.paymentFormStarGift#b425cfe1 form_id:long invoice:Invoice = payments .PaymentForm ;
957955
958956payments.validatedRequestedInfo#d1451883 flags:# id:flags.0? string shipping_options:flags.1? Vector <ShippingOption > = payments .ValidatedRequestedInfo ;
@@ -1865,9 +1863,9 @@ starsTransactionPeerAPI#f9677aad = StarsTransactionPeer;
18651863
18661864starsTopupOption#bd915c0 flags:# extended:flags.1? true stars:long store_product:flags.0? string currency:string amount:long = StarsTopupOption ;
18671865
1868- starsTransaction#35d4f276 flags:# refund:flags.3? true pending:flags.4? true failed:flags.6? true gift:flags.10? true reaction:flags.11? true subscription:flags.12? true id:string floodskip:flags.15? true stars:long date:int peer:StarsTransactionPeer title:flags.0? string description:flags.1? string photo:flags.2? WebDocument transaction_date:flags.5? int transaction_url:flags.5? string bot_payload:flags.7? bytes msg_id:flags.8? int extended_media:flags.9? Vector <MessageMedia > subscription_period:flags.12? int giveaway_post_id:flags.13? int stargift:flags.14? StarGift floodskip_number:flags.15? int = StarsTransaction ;
1866+ starsTransaction#64dfc926 flags:# refund:flags.3? true pending:flags.4? true failed:flags.6? true gift:flags.10? true reaction:flags.11? true subscription:flags.12? true floodskip:flags.15? true id:string stars:StarsAmount date:int peer:StarsTransactionPeer title:flags.0? string description:flags.1? string photo:flags.2? WebDocument transaction_date:flags.5? int transaction_url:flags.5? string bot_payload:flags.7? bytes msg_id:flags.8? int extended_media:flags.9? Vector <MessageMedia > subscription_period:flags.12? int giveaway_post_id:flags.13? int stargift:flags.14? StarGift floodskip_number:flags.15? int starref_commission_permille:flags.16 ? int starref_peer:flags.17 ? Peer starref_amount:flags.17 ? StarsAmount = StarsTransaction ;
18691867
1870- payments.starsStatus#bbfa316c flags:# balance:long subscriptions:flags.1? Vector <StarsSubscription > subscriptions_next_offset:flags.2? string subscriptions_missing_balance:flags.4? long history:flags.3? Vector <StarsTransaction > next_offset:flags.0? string chats:Vector<Chat > users:Vector<User > = payments .StarsStatus ;
1868+ payments.starsStatus#6c9ce8ed flags:# balance:StarsAmount subscriptions:flags.1? Vector <StarsSubscription > subscriptions_next_offset:flags.2? string subscriptions_missing_balance:flags.4? long history:flags.3? Vector <StarsTransaction > next_offset:flags.0? string chats:Vector<Chat > users:Vector<User > = payments .StarsStatus ;
18711869
18721870foundStory#e87acbc0 peer:Peer story:StoryItem = FoundStory ;
18731871
@@ -1924,22 +1922,28 @@ messages.preparedInlineMessage#ff57708d query_id:long result:BotInlineResult pee
19241922
19251923botAppSettings#c99b1950 flags:# placeholder_path:flags.0? bytes background_color:flags.1? int background_dark_color:flags.2? int header_color:flags.3? int header_dark_color:flags.4? int = BotAppSettings ;
19261924
1925+ connectedBotStarRef#19a13f71 flags:# revoked:flags.1? true url:string date:int bot_id:long commission_permille:int duration_months:flags.0? int participants:long revenue:long = ConnectedBotStarRef ;
1926+
19271927appWebViewResultUrl#3c1b4f0d url:string = AppWebViewResultUrl ;
19281928
19291929messages.messageEmpty#3f4e0648 = messages .MessageEmpty ;
19301930
1931+ messages.foundStickersNotModified#6010c534 flags:# next_offset:flags.0? int = messages .FoundStickers ;
1932+ messages.foundStickers#82c9e290 flags:# next_offset:flags.0? int hash:long stickers:Vector<Document > = messages .FoundStickers ;
1933+
19311934fileLocationUnavailable#7c596b46 volume_id:long local_id:int secret:long = FileLocation ;
19321935
19331936simpleWebViewResultUrl#882f76bb url:string = SimpleWebViewResultUrl ;
19341937
1938+ connectedStarRefBots#98d5ea1d count:int connected_bots:Vector<ConnectedBotStarRef > users:Vector<User > = ConnectedStarRefBots ;
1939+
19351940messages.webViewResult#aadf159b result:BotInlineResult users:Vector<User > = messages .WebViewResult ;
19361941
1937- ipPortSecret#37982646 ipv4:int port:int secret:bytes = IpPort ;
1938- ipPort#d433ad73 ipv4:int port:int = IpPort ;
1942+ suggestedStarRefBots#b4d5d859 flags:# count:int suggested_bots:Vector<StarRefProgram > users:Vector<User > next_offset:flags.0? string = SuggestedStarRefBots ;
19391943
1940- accessPointRule #4679b65f phone_prefix_rules:string dc_id :int ips:vector< IpPort > = AccessPointRule ;
1944+ starsAmount #bbb6b4a3 amount:long nanos :int = StarsAmount ;
19411945
1942- help.configSimple #5a592a6c date: int expires: int rules:vector< AccessPointRule > = help . ConfigSimple ;
1946+ starRefProgram #dd0c66f2 flags:# bot_id:long commission_permille: int duration_months:flags.0 ? int end_date:flags.1 ? int daily_revenue_per_user:flags.2 ? StarsAmount = StarRefProgram ;
19431947
19441948---functions ---
19451949
@@ -2106,7 +2110,7 @@ contacts.block#2e2e8734 flags:# my_stories_from:flags.0?true id:InputPeer = Bool
21062110contacts.unblock#b550d328 flags:# my_stories_from:flags.0? true id:InputPeer = Bool ;
21072111contacts.getBlocked#9a868f80 flags:# my_stories_from:flags.0? true offset:int limit:int = contacts .Blocked ;
21082112contacts.search#11f812d8 q:string limit:int = contacts .Found ;
2109- contacts.resolveUsername#f93ccba3 username:string = contacts .ResolvedPeer ;
2113+ contacts.resolveUsername#725afbbc flags:# username:string referer:flags.0 ? string = contacts .ResolvedPeer ;
21102114contacts.getTopPeers#973478b6 flags:# correspondents:flags.0? true bots_pm:flags.1? true bots_inline:flags.2? true phone_calls:flags.3? true forward_users:flags.4? true forward_chats:flags.5? true groups:flags.10? true channels:flags.15? true bots_app:flags.16? true offset:int limit:int hash:long = contacts .TopPeers ;
21112115contacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool ;
21122116contacts.resetSaved#879537f1 = Bool ;
@@ -2349,11 +2353,19 @@ messages.getSponsoredMessages#9bd2f439 peer:InputPeer = messages.SponsoredMessag
23492353messages.savePreparedInlineMessage#f21f7f2f flags:# result:InputBotInlineResult user_id:InputUser peer_types:flags.0? Vector <InlineQueryPeerType > = messages .BotPreparedInlineMessage ;
23502354messages.getPreparedInlineMessage#857ebdb8 bot:InputUser id:string = messages .PreparedInlineMessage ;
23512355messages.getWebViewResult#22b6c214 peer:InputPeer bot:InputUser query_id:long = messages .WebViewResult ;
2356+ messages.searchStickers#29b1c66a flags:# emojis:flags.0? true q:string lang_code:Vector<string > offset:int limit:int hash:long = messages .FoundStickers ;
23522357messages.forwardMessage#33963bf9 peer:InputPeer id:int random_id:long = Updates ;
2358+ messages.getConnectedStarRefBots#5869a553 flags:# peer:InputPeer offset_date:flags.2? int offset_link:flags.2? string limit:int = ConnectedStarRefBots ;
2359+ messages.updateStarRefProgram#778b5ab3 flags:# bot:InputUser commission_permille:int duration_months:flags.0? int = StarRefProgram ;
2360+ messages.connectStarRefBot#7ed5348a peer:InputPeer bot:InputUser = ConnectedStarRefBots ;
23532361messages.getStatsURL#812c2ae6 flags:# dark:flags.0? true peer:InputPeer params:string = StatsURL ;
23542362messages.getAllChats#875f74be except_ids:Vector<long > = messages .Chats ;
2363+ messages.getAdminedBots#b0711d83 = Vector <int >;
2364+ messages.getConnectedStarRefBot#b7d998f0 peer:InputPeer bot:InputUser = ConnectedStarRefBots ;
23552365messages.sendEncryptedMultiMedia#cacacaca = messages .SentEncryptedMessage ;
2366+ messages.getSuggestedStarRefBots#d6b48f7 flags:# order_by_revenue:flags.0? true order_by_date:flags.1? true peer:InputPeer offset:string limit:int = SuggestedStarRefBots ;
23562367messages.setWebViewResult#e41cd11d query_id:long = Bool ;
2368+ messages.editConnectedStarRefBot#e4fca4a3 flags:# revoked:flags.0? true peer:InputPeer link:string = ConnectedStarRefBots ;
23572369
23582370updates.getState#edd4882a = updates .State ;
23592371updates.getDifference#19c2f763 flags:# pts:int pts_limit:flags.1? int pts_total_limit:flags.0? int date:int qts:int qts_limit:flags.2? int = updates .Difference ;
@@ -2524,7 +2536,7 @@ payments.getStarGifts#c4563590 hash:int = payments.StarGifts;
25242536payments.getUserStarGifts#5e72c7e1 user_id:InputUser offset:string limit:int = payments .UserStarGifts ;
25252537payments.saveStarGift#87acf08e flags:# unsave:flags.0? true user_id:InputUser msg_id:int = Bool ;
25262538payments.convertStarGift#421e027 user_id:InputUser msg_id:int = Bool ;
2527- payments.botCancelStarsSubscription#6dfa0622 flags:# restore:flags.0? true user_id:InputUser charge_id:string = Bool ;
2539+ payments.botCancelStarsSubscription#57f9ece6 flags:# restore:flags.0? true user_id:InputUser invoice_slug:flags.1 ? string charge_id:flags.2 ? string = Bool ;
25282540payments.requestRecurringPayment#146e958d user_id:InputUser recurring_init_charge:string invoice_media:InputMedia = Updates ;
25292541
25302542stickers.createStickerSet#9021ab67 flags:# masks:flags.0? true emojis:flags.5? true text_color:flags.6? true user_id:InputUser title:string short_name:string thumb:flags.2? InputDocument stickers:Vector<InputStickerSetItem > software:flags.3? string = messages .StickerSet ;
@@ -2646,4 +2658,4 @@ smsjobs.finishJob#4f1ebf24 flags:# job_id:string error:flags.0?string = Bool;
26462658
26472659fragment.getCollectibleInfo#be1e85ba collectible:InputCollectible = fragment .CollectibleInfo ;
26482660
2649- // LAYER 194
2661+ // LAYER 195
0 commit comments