Skip to content

Commit b490498

Browse files
committed
Update API scheme to layer 194.
1 parent 583be25 commit b490498

1 file changed

Lines changed: 21 additions & 12 deletions

File tree

compiler/api/source/main_api.tl

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ inputPhotoLegacyFileLocation#d83466f3 id:long access_hash:long file_reference:by
8181
inputPeerPhotoFileLocation#37257e99 flags:# big:flags.0?true peer:InputPeer photo_id:long = InputFileLocation;
8282
inputStickerSetThumb#9d84f3db stickerset:InputStickerSet thumb_version:int = InputFileLocation;
8383
inputGroupCallStream#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;
8486

8587
peerUser#59511722 user_id:long = Peer;
8688
peerChat#36c6019a chat_id:long = Peer;
@@ -167,8 +169,8 @@ messageActionChannelMigrateFrom#ea3948e9 title:string chat_id:long = MessageActi
167169
messageActionPinMessage#94bd38ed = MessageAction;
168170
messageActionHistoryClear#9fbab604 = MessageAction;
169171
messageActionGameScore#92a72876 game_id:long score:int = MessageAction;
170-
messageActionPaymentSentMe#8f31b327 flags:# recurring_init:flags.2?true recurring_used:flags.3?true currency:string total_amount:long payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string charge:PaymentCharge = MessageAction;
171-
messageActionPaymentSent#96163f56 flags:# recurring_init:flags.2?true recurring_used:flags.3?true currency:string total_amount:long invoice_slug:flags.0?string = MessageAction;
172+
messageActionPaymentSentMe#ffa00ccc flags:# recurring_init:flags.2?true recurring_used:flags.3?true currency:string total_amount:long payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string charge:PaymentCharge subscription_until_date:flags.4?int = MessageAction;
173+
messageActionPaymentSent#c624b16e flags:# recurring_init:flags.2?true recurring_used:flags.3?true currency:string total_amount:long invoice_slug:flags.0?string subscription_until_date:flags.4?int = MessageAction;
172174
messageActionPhoneCall#80e11a7f flags:# video:flags.2?true call_id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = MessageAction;
173175
messageActionScreenshotTaken#4792929b = MessageAction;
174176
messageActionCustomAction#fae69f56 message:string = MessageAction;
@@ -451,8 +453,8 @@ updateBusinessBotCallbackQuery#1ea2fda7 flags:# query_id:long user_id:long conne
451453
updateStarsRevenueStatus#a584b019 peer:Peer status:StarsRevenueStatus = Update;
452454
updateBotPurchasedPaidMedia#283bd312 user_id:long payload:string qts:int = Update;
453455
updatePaidReactionPrivacy#51ca7aec private:Bool = Update;
456+
updateBotSubscriptionExpire#2d13c6ee user_id:long payload:string invoice_slug:string until_date:int qts:int = Update;
454457
updateTranscribeAudio#88617090 flags:# final:flags.0?true transcription_id:long text:string = Update;
455-
updateBotSubscriptionExpire#a8ae3eb1 user_id:long payload:string until_date:int qts:int = Update;
456458
updateUserPhoto#f227868c user_id:long date:int photo:UserProfilePhoto previous:Bool = Update;
457459

458460
updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State;
@@ -1916,6 +1918,12 @@ reportResultChooseOption#f0e4e0b6 title:string options:Vector<MessageReportOptio
19161918
reportResultAddComment#6f09ac31 flags:# optional:flags.0?true option:bytes = ReportResult;
19171919
reportResultReported#8db33c4b = ReportResult;
19181920

1921+
messages.botPreparedInlineMessage#8ecf0511 id:string expire_date:int = messages.BotPreparedInlineMessage;
1922+
1923+
messages.preparedInlineMessage#ff57708d query_id:long result:BotInlineResult peer_types:Vector<InlineQueryPeerType> cache_time:int users:Vector<User> = messages.PreparedInlineMessage;
1924+
1925+
botAppSettings#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;
1926+
19191927
appWebViewResultUrl#3c1b4f0d url:string = AppWebViewResultUrl;
19201928

19211929
messages.messageEmpty#3f4e0648 = messages.MessageEmpty;
@@ -1926,11 +1934,12 @@ simpleWebViewResultUrl#882f76bb url:string = SimpleWebViewResultUrl;
19261934

19271935
messages.webViewResult#aadf159b result:BotInlineResult users:Vector<User> = messages.WebViewResult;
19281936

1929-
botAppSettings#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;
1937+
ipPortSecret#37982646 ipv4:int port:int secret:bytes = IpPort;
1938+
ipPort#d433ad73 ipv4:int port:int = IpPort;
19301939

1931-
messages.preparedInlineMessage#ff57708d query_id:long result:BotInlineResult peer_types:Vector<InlineQueryPeerType> cache_time:int users:Vector<User> = messages.PreparedInlineMessage;
1940+
accessPointRule#4679b65f phone_prefix_rules:string dc_id:int ips:vector<IpPort> = AccessPointRule;
19321941

1933-
messages.botPreparedInlineMessage#8ecf0511 id:string expire_date:int = messages.BotPreparedInlineMessage;
1942+
help.configSimple#5a592a6c date:int expires:int rules:vector<AccessPointRule> = help.ConfigSimple;
19341943

19351944
---functions---
19361945

@@ -2337,16 +2346,14 @@ messages.viewSponsoredMessage#673ad8f1 peer:InputPeer random_id:bytes = Bool;
23372346
messages.clickSponsoredMessage#f093465 flags:# media:flags.0?true fullscreen:flags.1?true peer:InputPeer random_id:bytes = Bool;
23382347
messages.reportSponsoredMessage#1af3dbb8 peer:InputPeer random_id:bytes option:bytes = channels.SponsoredMessageReportResult;
23392348
messages.getSponsoredMessages#9bd2f439 peer:InputPeer = messages.SponsoredMessages;
2349+
messages.savePreparedInlineMessage#f21f7f2f flags:# result:InputBotInlineResult user_id:InputUser peer_types:flags.0?Vector<InlineQueryPeerType> = messages.BotPreparedInlineMessage;
2350+
messages.getPreparedInlineMessage#857ebdb8 bot:InputUser id:string = messages.PreparedInlineMessage;
23402351
messages.getWebViewResult#22b6c214 peer:InputPeer bot:InputUser query_id:long = messages.WebViewResult;
23412352
messages.forwardMessage#33963bf9 peer:InputPeer id:int random_id:long = Updates;
2342-
messages.checkDownloadFileParams#50077589 bot:InputUser file_name:string url:string = Bool;
2343-
messages.toggleUserEmojiStatusPermission#6de6392 bot:InputUser enabled:Bool = Bool;
23442353
messages.getStatsURL#812c2ae6 flags:# dark:flags.0?true peer:InputPeer params:string = StatsURL;
2345-
messages.getPreparedInlineMessage#857ebdb8 bot:InputUser id:string = messages.PreparedInlineMessage;
23462354
messages.getAllChats#875f74be except_ids:Vector<long> = messages.Chats;
23472355
messages.sendEncryptedMultiMedia#cacacaca = messages.SentEncryptedMessage;
23482356
messages.setWebViewResult#e41cd11d query_id:long = Bool;
2349-
messages.savePreparedInlineMessage#f21f7f2f flags:# result:InputBotInlineResult user_id:InputUser peer_types:flags.0?Vector<InlineQueryPeerType> = messages.BotPreparedInlineMessage;
23502357

23512358
updates.getState#edd4882a = updates.State;
23522359
updates.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;
@@ -2480,6 +2487,8 @@ bots.reorderPreviewMedias#b627f3aa bot:InputUser lang_code:string order:Vector<I
24802487
bots.getPreviewInfo#423ab3ad bot:InputUser lang_code:string = bots.PreviewInfo;
24812488
bots.getPreviewMedias#a2a5594d bot:InputUser = Vector<BotPreviewMedia>;
24822489
bots.updateUserEmojiStatus#ed9f30c5 user_id:InputUser emoji_status:EmojiStatus = Bool;
2490+
bots.toggleUserEmojiStatusPermission#6de6392 bot:InputUser enabled:Bool = Bool;
2491+
bots.checkDownloadFileParams#50077589 bot:InputUser file_name:string url:string = Bool;
24832492

24842493
payments.getPaymentForm#37148dbb flags:# invoice:InputInvoice theme_params:flags.0?DataJSON = payments.PaymentForm;
24852494
payments.getPaymentReceipt#2478d1cc peer:InputPeer msg_id:int = payments.PaymentReceipt;
@@ -2515,8 +2524,8 @@ payments.getStarGifts#c4563590 hash:int = payments.StarGifts;
25152524
payments.getUserStarGifts#5e72c7e1 user_id:InputUser offset:string limit:int = payments.UserStarGifts;
25162525
payments.saveStarGift#87acf08e flags:# unsave:flags.0?true user_id:InputUser msg_id:int = Bool;
25172526
payments.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;
25182528
payments.requestRecurringPayment#146e958d user_id:InputUser recurring_init_charge:string invoice_media:InputMedia = Updates;
2519-
payments.botCancelStarsSubscription#57f9ece6 flags:# restore:flags.0?true user_id:InputUser invoice_slug:flags.1?string charge_id:flags.2?string = Bool;
25202529

25212530
stickers.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;
25222531
stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet;
@@ -2637,4 +2646,4 @@ smsjobs.finishJob#4f1ebf24 flags:# job_id:string error:flags.0?string = Bool;
26372646

26382647
fragment.getCollectibleInfo#be1e85ba collectible:InputCollectible = fragment.CollectibleInfo;
26392648

2640-
// LAYER 193
2649+
// LAYER 194

0 commit comments

Comments
 (0)