Skip to content

Commit a4fcc75

Browse files
committed
Update API schema to Layer 112
1 parent 4526a64 commit a4fcc75

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

compiler/api/source/main_api.tl

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ inputMediaDocumentExternal#fb52dc99 flags:# url:string ttl_seconds:flags.0?int =
4949
inputMediaGame#d33f43f3 id:InputGame = InputMedia;
5050
inputMediaInvoice#f4e096c3 flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:string provider_data:DataJSON start_param:string = InputMedia;
5151
inputMediaGeoLive#ce4e82fd flags:# stopped:flags.0?true geo_point:InputGeoPoint period:flags.1?int = InputMedia;
52-
inputMediaPoll#abe9ca25 flags:# poll:Poll correct_answers:flags.0?Vector<bytes> = InputMedia;
53-
inputMediaDice#aeffa807 = InputMedia;
52+
inputMediaPoll#f94e5f1 flags:# poll:Poll correct_answers:flags.0?Vector<bytes> solution:flags.1?string solution_entities:flags.1?Vector<MessageEntity> = InputMedia;
53+
inputMediaDice#e66fbf7b emoticon:string = InputMedia;
5454

5555
inputChatPhotoEmpty#1ca48f57 = InputChatPhoto;
5656
inputChatUploadedPhoto#927c55b4 file:InputFile = InputChatPhoto;
@@ -135,7 +135,7 @@ messageMediaGame#fdb19008 game:Game = MessageMedia;
135135
messageMediaInvoice#84551347 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument receipt_msg_id:flags.2?int currency:string total_amount:long start_param:string = MessageMedia;
136136
messageMediaGeoLive#7c3c2609 geo:GeoPoint period:int = MessageMedia;
137137
messageMediaPoll#4bd6e798 poll:Poll results:PollResults = MessageMedia;
138-
messageMediaDice#638fe46b value:int = MessageMedia;
138+
messageMediaDice#3f7ee58b value:int emoticon:string = MessageMedia;
139139

140140
messageActionEmpty#b6aef7b0 = MessageAction;
141141
messageActionChatCreate#a6638b9a title:string users:Vector<int> = MessageAction;
@@ -511,7 +511,7 @@ inputStickerSetEmpty#ffb62b95 = InputStickerSet;
511511
inputStickerSetID#9de7a269 id:long access_hash:long = InputStickerSet;
512512
inputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet;
513513
inputStickerSetAnimatedEmoji#28703c8 = InputStickerSet;
514-
inputStickerSetDice#79e21a53 = InputStickerSet;
514+
inputStickerSetDice#e67f520e emoticon:string = InputStickerSet;
515515

516516
stickerSet#eeb46f27 flags:# archived:flags.1?true official:flags.2?true masks:flags.3?true animated:flags.5?true installed_date:flags.0?int id:long access_hash:long title:string short_name:string thumb:flags.4?PhotoSize thumb_dc_id:flags.4?int count:int hash:int = StickerSet;
517517

@@ -670,8 +670,8 @@ contacts.topPeersDisabled#b52c939d = contacts.TopPeers;
670670
draftMessageEmpty#1b0c841a flags:# date:flags.0?int = DraftMessage;
671671
draftMessage#fd8e711f flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int message:string entities:flags.3?Vector<MessageEntity> date:int = DraftMessage;
672672

673-
messages.featuredStickersNotModified#4ede3cf = messages.FeaturedStickers;
674-
messages.featuredStickers#f89d88e5 hash:int sets:Vector<StickerSetCovered> unread:Vector<long> = messages.FeaturedStickers;
673+
messages.featuredStickersNotModified#c6dc0c66 count:int = messages.FeaturedStickers;
674+
messages.featuredStickers#b6abc341 hash:int count:int sets:Vector<StickerSetCovered> unread:Vector<long> = messages.FeaturedStickers;
675675

676676
messages.recentStickersNotModified#b17f890 = messages.RecentStickers;
677677
messages.recentStickers#22f3afb3 hash:int packs:Vector<StickerPack> stickers:Vector<Document> dates:Vector<int> = messages.RecentStickers;
@@ -1002,11 +1002,11 @@ help.userInfo#1eb3758 message:string entities:Vector<MessageEntity> author:strin
10021002

10031003
pollAnswer#6ca9c2e9 text:string option:bytes = PollAnswer;
10041004

1005-
poll#d5529d06 id:long flags:# closed:flags.0?true public_voters:flags.1?true multiple_choice:flags.2?true quiz:flags.3?true question:string answers:Vector<PollAnswer> = Poll;
1005+
poll#86e18161 id:long flags:# closed:flags.0?true public_voters:flags.1?true multiple_choice:flags.2?true quiz:flags.3?true question:string answers:Vector<PollAnswer> close_period:flags.4?int close_date:flags.5?int = Poll;
10061006

10071007
pollAnswerVoters#3b6ddad2 flags:# chosen:flags.0?true correct:flags.1?true option:bytes voters:int = PollAnswerVoters;
10081008

1009-
pollResults#c87024a2 flags:# min:flags.0?true results:flags.1?Vector<PollAnswerVoters> total_voters:flags.2?int recent_voters:flags.3?Vector<int> = PollResults;
1009+
pollResults#badcc1a3 flags:# min:flags.0?true results:flags.1?Vector<PollAnswerVoters> total_voters:flags.2?int recent_voters:flags.3?Vector<int> solution:flags.4?string solution_entities:flags.4?Vector<MessageEntity> = PollResults;
10101010

10111011
chatOnlines#f041e250 onlines:int = ChatOnlines;
10121012

@@ -1122,7 +1122,7 @@ stats.broadcastStats#bdf78394 period:StatsDateRangeDays followers:StatsAbsValueA
11221122

11231123
invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X;
11241124
invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector<long> query:!X = X;
1125-
initConnection#785188b8 {X:Type} flags:# api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string proxy:flags.0?InputClientProxy query:!X = X;
1125+
initConnection#c1cd5ea9 {X:Type} flags:# api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string proxy:flags.0?InputClientProxy params:flags.1?JSONValue query:!X = X;
11261126
invokeWithLayer#da9b0d0d {X:Type} layer:int query:!X = X;
11271127
invokeWithoutUpdates#bf9459b7 {X:Type} query:!X = X;
11281128
invokeWithMessagesRange#365275f2 {X:Type} range:MessageRange query:!X = X;
@@ -1360,6 +1360,7 @@ messages.getDialogFilters#f19ed96d = Vector<DialogFilter>;
13601360
messages.getSuggestedDialogFilters#a29cd42c = Vector<DialogFilterSuggested>;
13611361
messages.updateDialogFilter#1ad4a04a flags:# id:int filter:flags.0?DialogFilter = Bool;
13621362
messages.updateDialogFiltersOrder#c563c1e4 order:Vector<int> = Bool;
1363+
messages.getOldFeaturedStickers#5fe7025b offset:int limit:int hash:int = messages.FeaturedStickers;
13631364

13641365
updates.getState#edd4882a = updates.State;
13651366
updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference;
@@ -1437,6 +1438,7 @@ channels.getInactiveChannels#11e831ee = messages.InactiveChats;
14371438

14381439
bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON;
14391440
bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool;
1441+
bots.setBotCommands#805d46f6 commands:Vector<BotCommand> = Bool;
14401442

14411443
payments.getPaymentForm#99f09745 msg_id:int = payments.PaymentForm;
14421444
payments.getPaymentReceipt#a092a980 msg_id:int = payments.PaymentReceipt;
@@ -1446,10 +1448,11 @@ payments.getSavedInfo#227d824b = payments.SavedInfo;
14461448
payments.clearSavedInfo#d83d70c1 flags:# credentials:flags.0?true info:flags.1?true = Bool;
14471449
payments.getBankCardData#2e79d779 number:string = payments.BankCardData;
14481450

1449-
stickers.createStickerSet#9bd86e6a flags:# masks:flags.0?true user_id:InputUser title:string short_name:string stickers:Vector<InputStickerSetItem> = messages.StickerSet;
1451+
stickers.createStickerSet#f1036780 flags:# masks:flags.0?true animated:flags.1?true user_id:InputUser title:string short_name:string thumb:flags.2?InputDocument stickers:Vector<InputStickerSetItem> = messages.StickerSet;
14501452
stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet;
14511453
stickers.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet;
14521454
stickers.addStickerToSet#8653febe stickerset:InputStickerSet sticker:InputStickerSetItem = messages.StickerSet;
1455+
stickers.setStickerSetThumb#9a364e30 stickerset:InputStickerSet thumb:InputDocument = messages.StickerSet;
14531456

14541457
phone.getCallConfig#55451fa9 = DataJSON;
14551458
phone.requestCall#42ff96ed flags:# video:flags.0?true user_id:InputUser random_id:int g_a_hash:bytes protocol:PhoneCallProtocol = phone.PhoneCall;
@@ -1469,7 +1472,7 @@ langpack.getLanguage#6a596502 lang_pack:string lang_code:string = LangPackLangua
14691472
folders.editPeerFolders#6847d0ab folder_peers:Vector<InputFolderPeer> = Updates;
14701473
folders.deleteFolder#1c295881 folder_id:int = Updates;
14711474

1472-
stats.getBroadcastStats#ab42441a flags:# dark:flags.0?true channel:InputChannel = stats.BroadcastStats;
1475+
stats.getBroadcastStats#e6300dba flags:# dark:flags.0?true channel:InputChannel tz_offset:int = stats.BroadcastStats;
14731476
stats.loadAsyncGraph#621d5fa0 flags:# token:string x:flags.0?long = StatsGraph;
14741477

1475-
// LAYER 111
1478+
// LAYER 112

0 commit comments

Comments
 (0)