Skip to content

Commit 3d6ec57

Browse files
committed
Update API schema to Layer 130
1 parent 8845b97 commit 3d6ec57

File tree

1 file changed

+19
-5
lines changed

1 file changed

+19
-5
lines changed

compiler/api/source/main_api.tl

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -557,8 +557,8 @@ keyboardButtonRequestPoll#bbc7515d flags:# quiz:flags.0?Bool text:string = Keybo
557557
keyboardButtonRow#77608b83 buttons:Vector<KeyboardButton> = KeyboardButtonRow;
558558

559559
replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup;
560-
replyKeyboardForceReply#f4108aa0 flags:# single_use:flags.1?true selective:flags.2?true = ReplyMarkup;
561-
replyKeyboardMarkup#3502758c flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true rows:Vector<KeyboardButtonRow> = ReplyMarkup;
560+
replyKeyboardForceReply#86b40b08 flags:# single_use:flags.1?true selective:flags.2?true placeholder:flags.3?string = ReplyMarkup;
561+
replyKeyboardMarkup#85dd99d1 flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true rows:Vector<KeyboardButtonRow> placeholder:flags.3?string = ReplyMarkup;
562562
replyInlineMarkup#48a30254 rows:Vector<KeyboardButtonRow> = ReplyMarkup;
563563

564564
messageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity;
@@ -1228,6 +1228,16 @@ groupCallParticipantVideoSourceGroup#dcb118b7 semantics:string sources:Vector<in
12281228

12291229
groupCallParticipantVideo#78e41663 flags:# paused:flags.0?true endpoint:string source_groups:Vector<GroupCallParticipantVideoSourceGroup> = GroupCallParticipantVideo;
12301230

1231+
stickers.suggestedShortName#85fea03f short_name:string = stickers.SuggestedShortName;
1232+
1233+
botCommandScopeDefault#2f6cb2ab = BotCommandScope;
1234+
botCommandScopeUsers#3c4f04d8 = BotCommandScope;
1235+
botCommandScopeChats#6fe1a881 = BotCommandScope;
1236+
botCommandScopeChatAdmins#b9aa606a = BotCommandScope;
1237+
botCommandScopePeer#db9d897d peer:InputPeer = BotCommandScope;
1238+
botCommandScopePeerAdmins#3fd863d1 peer:InputPeer = BotCommandScope;
1239+
botCommandScopePeerUser#a1321f3 peer:InputPeer user_id:InputUser = BotCommandScope;
1240+
12311241
---functions---
12321242

12331243
invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X;
@@ -1574,7 +1584,9 @@ channels.convertToGigagroup#b290c69 channel:InputChannel = Updates;
15741584

15751585
bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON;
15761586
bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool;
1577-
bots.setBotCommands#805d46f6 commands:Vector<BotCommand> = Bool;
1587+
bots.setBotCommands#517165a scope:BotCommandScope lang_code:string commands:Vector<BotCommand> = Bool;
1588+
bots.resetBotCommands#3d8de0f9 scope:BotCommandScope lang_code:string = Bool;
1589+
bots.getBotCommands#e34c0dd6 scope:BotCommandScope lang_code:string = Vector<BotCommand>;
15781590

15791591
payments.getPaymentForm#8a333c8d flags:# peer:InputPeer msg_id:int theme_params:flags.0?DataJSON = payments.PaymentForm;
15801592
payments.getPaymentReceipt#2478d1cc peer:InputPeer msg_id:int = payments.PaymentReceipt;
@@ -1584,11 +1596,13 @@ payments.getSavedInfo#227d824b = payments.SavedInfo;
15841596
payments.clearSavedInfo#d83d70c1 flags:# credentials:flags.0?true info:flags.1?true = Bool;
15851597
payments.getBankCardData#2e79d779 number:string = payments.BankCardData;
15861598

1587-
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;
1599+
stickers.createStickerSet#9021ab67 flags:# masks:flags.0?true animated:flags.1?true user_id:InputUser title:string short_name:string thumb:flags.2?InputDocument stickers:Vector<InputStickerSetItem> software:flags.3?string = messages.StickerSet;
15881600
stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet;
15891601
stickers.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet;
15901602
stickers.addStickerToSet#8653febe stickerset:InputStickerSet sticker:InputStickerSetItem = messages.StickerSet;
15911603
stickers.setStickerSetThumb#9a364e30 stickerset:InputStickerSet thumb:InputDocument = messages.StickerSet;
1604+
stickers.checkShortName#284b3639 short_name:string = Bool;
1605+
stickers.suggestShortName#4dafc503 title:string = stickers.SuggestedShortName;
15921606

15931607
phone.getCallConfig#55451fa9 = DataJSON;
15941608
phone.requestCall#42ff96ed flags:# video:flags.0?true user_id:InputUser random_id:int g_a_hash:bytes protocol:PhoneCallProtocol = phone.PhoneCall;
@@ -1634,4 +1648,4 @@ stats.getMegagroupStats#dcdf8607 flags:# dark:flags.0?true channel:InputChannel
16341648
stats.getMessagePublicForwards#5630281b channel:InputChannel msg_id:int offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages;
16351649
stats.getMessageStats#b6e0a3f5 flags:# dark:flags.0?true channel:InputChannel msg_id:int = stats.MessageStats;
16361650

1637-
// LAYER 129
1651+
// LAYER 130

0 commit comments

Comments
 (0)