Skip to content

Commit d65f773

Browse files
committed
Update API schema to Layer 114
1 parent 7df85e2 commit d65f773

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

compiler/api/source/main_api.tl

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,7 @@ updateMessagePollVote#42f88f2c poll_id:long user_id:int options:Vector<bytes> =
335335
updateDialogFilter#26ffde7d flags:# id:int filter:flags.0?DialogFilter = Update;
336336
updateDialogFilterOrder#a5d72105 order:Vector<int> = Update;
337337
updateDialogFilters#3504914f = Update;
338+
updatePhoneCallSignalingData#2661bf09 phone_call_id:long data:bytes = Update;
338339

339340
updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State;
340341

@@ -399,7 +400,7 @@ inputDocumentEmpty#72f0eaae = InputDocument;
399400
inputDocument#1abfb575 id:long access_hash:long file_reference:bytes = InputDocument;
400401

401402
documentEmpty#36f8c871 id:long = Document;
402-
document#9ba29cc1 flags:# id:long access_hash:long file_reference:bytes date:int mime_type:string size:int thumbs:flags.0?Vector<PhotoSize> dc_id:int attributes:Vector<DocumentAttribute> = Document;
403+
document#1e87342b flags:# id:long access_hash:long file_reference:bytes date:int mime_type:string size:int thumbs:flags.0?Vector<PhotoSize> video_thumbs:flags.1?Vector<VideoSize> dc_id:int attributes:Vector<DocumentAttribute> = Document;
403404

404405
help.support#17c6b5f6 phone_number:string user:User = help.Support;
405406

@@ -629,7 +630,7 @@ messages.botResults#947ca848 flags:# gallery:flags.0?true query_id:long next_off
629630

630631
exportedMessageLink#5dab1af4 link:string html:string = ExportedMessageLink;
631632

632-
messageFwdHeader#ec338270 flags:# from_id:flags.0?int from_name:flags.5?string date:int channel_id:flags.1?int channel_post:flags.2?int post_author:flags.3?string saved_from_peer:flags.4?Peer saved_from_msg_id:flags.4?int = MessageFwdHeader;
633+
messageFwdHeader#353a686b flags:# from_id:flags.0?int from_name:flags.5?string date:int channel_id:flags.1?int channel_post:flags.2?int post_author:flags.3?string saved_from_peer:flags.4?Peer saved_from_msg_id:flags.4?int psa_type:flags.6?string = MessageFwdHeader;
633634

634635
auth.codeTypeSms#72a3158c = auth.CodeType;
635636
auth.codeTypeCall#741cd3e3 = auth.CodeType;
@@ -890,9 +891,6 @@ fileHash#6242c773 offset:int limit:int hash:bytes = FileHash;
890891

891892
inputClientProxy#75588b3f address:string port:int = InputClientProxy;
892893

893-
help.proxyDataEmpty#e09e1fb8 expires:int = help.ProxyData;
894-
help.proxyDataPromo#2bf7ee23 expires:int peer:Peer chats:Vector<Chat> users:Vector<User> = help.ProxyData;
895-
896894
help.termsOfServiceUpdateEmpty#e3309f7f expires:int = help.TermsOfServiceUpdate;
897895
help.termsOfServiceUpdate#28ecf961 expires:int terms_of_service:help.TermsOfService = help.TermsOfServiceUpdate;
898896

@@ -1118,6 +1116,11 @@ messageInteractionCounters#ad4fc9bd msg_id:int views:int forwards:int = MessageI
11181116

11191117
stats.broadcastStats#bdf78394 period:StatsDateRangeDays followers:StatsAbsValueAndPrev views_per_post:StatsAbsValueAndPrev shares_per_post:StatsAbsValueAndPrev enabled_notifications:StatsPercentValue growth_graph:StatsGraph followers_graph:StatsGraph mute_graph:StatsGraph top_hours_graph:StatsGraph interactions_graph:StatsGraph iv_interactions_graph:StatsGraph views_by_source_graph:StatsGraph new_followers_by_source_graph:StatsGraph languages_graph:StatsGraph recent_message_interactions:Vector<MessageInteractionCounters> = stats.BroadcastStats;
11201118

1119+
help.promoDataEmpty#98f6ac75 expires:int = help.PromoData;
1120+
help.promoData#8c39793f flags:# proxy:flags.0?true expires:int peer:Peer chats:Vector<Chat> users:Vector<User> psa_type:flags.1?string psa_message:flags.2?string = help.PromoData;
1121+
1122+
videoSize#435bb987 type:string location:FileLocation w:int h:int size:int = VideoSize;
1123+
11211124
---functions---
11221125

11231126
invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X;
@@ -1389,7 +1392,6 @@ help.getAppChangelog#9010ef6f prev_app_version:string = Updates;
13891392
help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool;
13901393
help.getCdnConfig#52029342 = CdnConfig;
13911394
help.getRecentMeUrls#3dc0f114 referer:string = help.RecentMeUrls;
1392-
help.getProxyData#3d7758e1 = help.ProxyData;
13931395
help.getTermsOfServiceUpdate#2ca51fd1 = help.TermsOfServiceUpdate;
13941396
help.acceptTermsOfService#ee72f79a id:DataJSON = Bool;
13951397
help.getDeepLinkInfo#3fedc75f path:string = help.DeepLinkInfo;
@@ -1399,6 +1401,8 @@ help.getPassportConfig#c661ad08 hash:int = help.PassportConfig;
13991401
help.getSupportName#d360e72c = help.SupportName;
14001402
help.getUserInfo#38a08d3 user_id:InputUser = help.UserInfo;
14011403
help.editUserInfo#66b91b70 user_id:InputUser message:string entities:Vector<MessageEntity> = help.UserInfo;
1404+
help.getPromoData#c0977421 = help.PromoData;
1405+
help.hidePromoData#1e251c95 peer:InputPeer = Bool;
14021406

14031407
channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool;
14041408
channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector<int> = messages.AffectedMessages;
@@ -1462,6 +1466,7 @@ phone.receivedCall#17d54f61 peer:InputPhoneCall = Bool;
14621466
phone.discardCall#b2cbc1c0 flags:# video:flags.0?true peer:InputPhoneCall duration:int reason:PhoneCallDiscardReason connection_id:long = Updates;
14631467
phone.setCallRating#59ead627 flags:# user_initiative:flags.0?true peer:InputPhoneCall rating:int comment:string = Updates;
14641468
phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool;
1469+
phone.sendSignalingData#ff7a9383 peer:InputPhoneCall data:bytes = Bool;
14651470

14661471
langpack.getLangPack#f2f2330a lang_pack:string lang_code:string = LangPackDifference;
14671472
langpack.getStrings#efea3803 lang_pack:string lang_code:string keys:Vector<string> = Vector<LangPackString>;
@@ -1472,7 +1477,7 @@ langpack.getLanguage#6a596502 lang_pack:string lang_code:string = LangPackLangua
14721477
folders.editPeerFolders#6847d0ab folder_peers:Vector<InputFolderPeer> = Updates;
14731478
folders.deleteFolder#1c295881 folder_id:int = Updates;
14741479

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

1478-
// LAYER 112
1483+
// LAYER 114

0 commit comments

Comments
 (0)