Skip to content

Commit 30e506d

Browse files
authored
Update API Scheme to Layer 188
from TDesktop
1 parent ab58617 commit 30e506d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

compiler/api/source/main_api.tl

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ messageMediaPhoto#695150d7 flags:# spoiler:flags.3?true photo:flags.0?Photo ttl_
174174
messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia;
175175
messageMediaContact#70322949 phone_number:string first_name:string last_name:string vcard:string user_id:long = MessageMedia;
176176
messageMediaUnsupported#9f84f49e = MessageMedia;
177-
messageMediaDocument#4cf4d72d flags:# nopremium:flags.3?true spoiler:flags.4?true video:flags.6?true round:flags.7?true voice:flags.8?true document:flags.0?Document alt_document:flags.5?Document ttl_seconds:flags.2?int = MessageMedia;
177+
messageMediaDocument#dd570bd5 flags:# nopremium:flags.3?true spoiler:flags.4?true video:flags.6?true round:flags.7?true voice:flags.8?true document:flags.0?Document alt_documents:flags.5?Vector<Document> ttl_seconds:flags.2?int = MessageMedia;
178178
messageMediaWebPage#ddf10c3b flags:# force_large_media:flags.0?true force_small_media:flags.1?true manual:flags.3?true safe:flags.4?true webpage:WebPage = MessageMedia;
179179
messageMediaVenue#2ec0533f geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string = MessageMedia;
180180
messageMediaGame#fdb19008 game:Game = MessageMedia;
@@ -623,7 +623,7 @@ accountDaysTTL#b8d0afdf days:int = AccountDaysTTL;
623623
documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute;
624624
documentAttributeAnimated#11b58939 = DocumentAttribute;
625625
documentAttributeSticker#6319d612 flags:# mask:flags.1?true alt:string stickerset:InputStickerSet mask_coords:flags.0?MaskCoords = DocumentAttribute;
626-
documentAttributeVideo#17399fad flags:# round_message:flags.0?true supports_streaming:flags.1?true nosound:flags.3?true duration:double w:int h:int preload_prefix_size:flags.2?int video_start_ts:flags.4?double = DocumentAttribute;
626+
documentAttributeVideo#43c57c48 flags:# round_message:flags.0?true supports_streaming:flags.1?true nosound:flags.3?true duration:double w:int h:int preload_prefix_size:flags.2?int video_start_ts:flags.4?double video_codec:flags.5?string = DocumentAttribute;
627627
documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute;
628628
documentAttributeFilename#15590068 file_name:string = DocumentAttribute;
629629
documentAttributeHasStickers#9801d2f7 = DocumentAttribute;
@@ -703,6 +703,7 @@ keyboardButtonWebView#13767230 text:string url:string = KeyboardButton;
703703
keyboardButtonSimpleWebView#a0c0505c text:string url:string = KeyboardButton;
704704
keyboardButtonRequestPeer#53d7bfd8 text:string button_id:int peer_type:RequestPeerType max_quantity:int = KeyboardButton;
705705
inputKeyboardButtonRequestPeer#c9662d05 flags:# name_requested:flags.0?true username_requested:flags.1?true photo_requested:flags.2?true text:string button_id:int peer_type:RequestPeerType max_quantity:int = KeyboardButton;
706+
keyboardButtonCopy#75d2698e text:string copy_text:string = KeyboardButton;
706707

707708
keyboardButtonRow#77608b83 buttons:Vector<KeyboardButton> = KeyboardButtonRow;
708709

@@ -2408,7 +2409,7 @@ channels.reorderPinnedForumTopics#2950a18f flags:# force:flags.0?true channel:In
24082409
channels.toggleAntiSpam#68f3e4eb channel:InputChannel enabled:Bool = Updates;
24092410
channels.reportAntiSpamFalsePositive#a850a693 channel:InputChannel msg_id:int = Bool;
24102411
channels.toggleParticipantsHidden#6a6e7854 channel:InputChannel enabled:Bool = Updates;
2411-
channels.clickSponsoredMessage#18afbc93 channel:InputChannel random_id:bytes = Bool;
2412+
channels.clickSponsoredMessage#1445d75 flags:# media:flags.0?true fullscreen:flags.1?true channel:InputChannel random_id:bytes = Bool;
24122413
channels.updateColor#d8aa3671 flags:# for_profile:flags.1?true channel:InputChannel color:flags.2?int background_emoji_id:flags.0?long = Updates;
24132414
channels.toggleViewForumAsMessages#9738bb15 channel:InputChannel enabled:Bool = Updates;
24142415
channels.getChannelRecommendations#25a71742 flags:# channel:flags.0?InputChannel = messages.Chats;
@@ -2596,4 +2597,4 @@ test.useError = Error;
25962597
test.useConfigSimple = help.ConfigSimple;
25972598
test.parseInputAppEvent = InputAppEvent;
25982599

2599-
// LAYER 187
2600+
// LAYER 188

0 commit comments

Comments
 (0)