Skip to content

Commit 0ffca1a

Browse files
committed
Update API schema to Layer 158
1 parent dc40f37 commit 0ffca1a

1 file changed

Lines changed: 29 additions & 5 deletions

File tree

compiler/api/source/main_api.tl

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ inputMediaDice#e66fbf7b emoticon:string = InputMedia;
5454
inputChatPhotoEmpty#1ca48f57 = InputChatPhoto;
5555
inputChatUploadedPhoto#bdcdaec0 flags:# file:flags.0?InputFile video:flags.1?InputFile video_start_ts:flags.2?double video_emoji_markup:flags.3?VideoSize = InputChatPhoto;
5656
inputChatPhoto#8953ad37 id:InputPhoto = InputChatPhoto;
57+
inputChatlistDialogFilter#f3e0da33 filter_id:int = InputChatlistDialogFilter;
5758

5859
inputGeoPointEmpty#e4c123d6 = InputGeoPoint;
5960
inputGeoPoint#48222faf flags:# lat:double long:double accuracy_radius:flags.0?int = InputGeoPoint;
@@ -166,6 +167,7 @@ messageActionInviteToGroupCall#502f92f7 call:InputGroupCall users:Vector<long> =
166167
messageActionSetMessagesTTL#3c134d7b flags:# period:int auto_setting_from:flags.0?long = MessageAction;
167168
messageActionGroupCallScheduled#b3a07661 call:InputGroupCall schedule_date:int = MessageAction;
168169
messageActionSetChatTheme#aa786345 emoticon:string = MessageAction;
170+
messageActionSetChatWallPaper#bc44a927 wallpaper:WallPaper = MessageAction;
169171
messageActionChatJoinedByRequest#ebbca3cb = MessageAction;
170172
messageActionWebViewDataSentMe#47dd8079 text:string data:string = MessageAction;
171173
messageActionWebViewDataSent#b4c38cb5 text:string = MessageAction;
@@ -225,7 +227,7 @@ inputReportReasonFake#f5ddd6e7 = ReportReason;
225227
inputReportReasonIllegalDrugs#a8eb2be = ReportReason;
226228
inputReportReasonPersonalDetails#9ec7863d = ReportReason;
227229

228-
userFull#f8d32aed flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true has_scheduled:flags.12?true video_calls_available:flags.13?true voice_messages_forbidden:flags.20?true translations_disabled:flags.23?true id:long about:flags.1?string settings:PeerSettings personal_photo:flags.21?Photo profile_photo:flags.2?Photo fallback_photo:flags.22?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int ttl_period:flags.14?int theme_emoticon:flags.15?string private_forward_name:flags.16?string bot_group_admin_rights:flags.17?ChatAdminRights bot_broadcast_admin_rights:flags.18?ChatAdminRights premium_gifts:flags.19?Vector<PremiumGiftOption> = UserFull;
230+
userFull#93eadb53 flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true has_scheduled:flags.12?true video_calls_available:flags.13?true voice_messages_forbidden:flags.20?true translations_disabled:flags.23?true id:long about:flags.1?string settings:PeerSettings personal_photo:flags.21?Photo profile_photo:flags.2?Photo fallback_photo:flags.22?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int ttl_period:flags.14?int theme_emoticon:flags.15?string private_forward_name:flags.16?string bot_group_admin_rights:flags.17?ChatAdminRights bot_broadcast_admin_rights:flags.18?ChatAdminRights premium_gifts:flags.19?Vector<PremiumGiftOption> wallpaper:flags.24?WallPaper = UserFull;
229231

230232
contact#145ade0b user_id:long mutual:Bool = Contact;
231233

@@ -363,7 +365,7 @@ updateGroupCallParticipants#f2ebdb4e call:InputGroupCall participants:Vector<Gro
363365
updateGroupCall#14b24500 chat_id:long call:GroupCall = Update;
364366
updatePeerHistoryTTL#bb9bb9a5 flags:# peer:Peer ttl_period:flags.0?int = Update;
365367
updateChatParticipant#d087663a flags:# chat_id:long date:int actor_id:long user_id:long prev_participant:flags.0?ChatParticipant new_participant:flags.1?ChatParticipant invite:flags.2?ExportedChatInvite qts:int = Update;
366-
updateChannelParticipant#985d3abb flags:# channel_id:long date:int actor_id:long user_id:long prev_participant:flags.0?ChannelParticipant new_participant:flags.1?ChannelParticipant invite:flags.2?ExportedChatInvite qts:int = Update;
368+
updateChannelParticipant#985d3abb flags:# via_chatlist:flags.3?true channel_id:long date:int actor_id:long user_id:long prev_participant:flags.0?ChannelParticipant new_participant:flags.1?ChannelParticipant invite:flags.2?ExportedChatInvite qts:int = Update;
367369
updateBotStopped#c4870a49 user_id:long date:int stopped:Bool qts:int = Update;
368370
updateGroupCallConnection#b783982 flags:# presentation:flags.0?true params:DataJSON = Update;
369371
updateBotCommands#4d712f2e peer:Peer bot_id:long commands:Vector<BotCommand> = Update;
@@ -937,7 +939,7 @@ channelAdminLogEventActionDiscardGroupCall#db9f9140 call:InputGroupCall = Channe
937939
channelAdminLogEventActionParticipantMute#f92424d2 participant:GroupCallParticipant = ChannelAdminLogEventAction;
938940
channelAdminLogEventActionParticipantUnmute#e64429c0 participant:GroupCallParticipant = ChannelAdminLogEventAction;
939941
channelAdminLogEventActionToggleGroupCallSetting#56d6a247 join_muted:Bool = ChannelAdminLogEventAction;
940-
channelAdminLogEventActionParticipantJoinByInvite#5cdada77 invite:ExportedChatInvite = ChannelAdminLogEventAction;
942+
channelAdminLogEventActionParticipantJoinByInvite#fe9fc158 flags:# via_chatlist:flags.0?true invite:ChatInviteExported = ChannelAdminLogEventAction;
941943
channelAdminLogEventActionExportedInviteDelete#5a50fca4 invite:ExportedChatInvite = ChannelAdminLogEventAction;
942944
channelAdminLogEventActionExportedInviteRevoke#410a134e invite:ExportedChatInvite = ChannelAdminLogEventAction;
943945
channelAdminLogEventActionExportedInviteEdit#e90ebb59 prev_invite:ExportedChatInvite new_invite:ExportedChatInvite = ChannelAdminLogEventAction;
@@ -1208,6 +1210,8 @@ dialogFilterDefault#363293ae = DialogFilter;
12081210

12091211
dialogFilterSuggested#77744d4a filter:DialogFilter description:string = DialogFilterSuggested;
12101212

1213+
dialogFilterChatlist#d64a04a8 flags:# has_my_invites:flags.26?true id:int title:string emoticon:flags.25?string pinned_peers:Vector<InputPeer> include_peers:Vector<InputPeer> = DialogFilter;
1214+
12111215
statsDateRangeDays#b637edaf min_date:int max_date:int = StatsDateRangeDays;
12121216

12131217
statsAbsValueAndPrev#cb43acde current:double previous:double = StatsAbsValueAndPrev;
@@ -1283,7 +1287,7 @@ messages.historyImportParsed#5e0fb7b9 flags:# pm:flags.0?true group:flags.1?true
12831287

12841288
messages.affectedFoundMessages#ef8d3e6c pts:int pts_count:int offset:int messages:Vector<int> = messages.AffectedFoundMessages;
12851289

1286-
chatInviteImporter#8c5adfd9 flags:# requested:flags.0?true user_id:long date:int about:flags.2?string approved_by:flags.1?long = ChatInviteImporter;
1290+
chatInviteImporter#8c5adfd9 flags:# requested:flags.0?true via_chatlist:flags.3?true user_id:long date:int about:flags.2?string approved_by:flags.1?long = ChatInviteImporter;
12871291

12881292
messages.exportedChatInvites#bdc62dcc count:int invites:Vector<ExportedChatInvite> users:Vector<User> = messages.ExportedChatInvites;
12891293

@@ -1502,8 +1506,28 @@ inlineBotWebView#b57295d5 text:string url:string = InlineBotWebView;
15021506

15031507
readParticipantDate#4a4ff172 user_id:long date:int = ReadParticipantDate;
15041508

1509+
chatlists.chatlistInvite#1dcd839d flags:# title:string emoticon:string peers:Vector<Peer> chats:Vector<Chat> users:Vector<User> = chatlist.ChatlistInvite;
1510+
chatlists.chatlistInviteAlready#fa87f659 filter_id:int missing_peers:Vector<Peer> chats:Vector<Chat> users:Vector<User> = chatlist.ChatlistInvite;
1511+
chatlists.chatlistUpdates#93bd878d missing_peers:Vector<Peer> chats:Vector<Chat> users:Vector<User> = chatlists.ChatlistUpdates;
1512+
chatlists.exportedChatlistInvite#10e6e3a6 filter:DialogFilter invite:ExportedChatlistInvite = chatlists.ExportedChatlistInvite;
1513+
chatlists.exportedInvites#10ab6dc7 invites:Vector<ExportedChatlistInvite> chats:Vector<Chat> users:Vector<User> = chatlists.ExportedInvites;
1514+
15051515
---functions---
15061516

1517+
exportedChatlistInvite#c5181ac flags:# revoked:flags.0?true title:string url:string peers:Vector<Peer> = ExportedChatlistInvite;
1518+
1519+
chatlists.checkChatlistInvite#41c10fff slug:string = chatlist.ChatlistInvite;
1520+
chatlists.deleteExportedInvite#719c5c5e chatlist:InputChatlistDialogFilter slug:string = Bool;
1521+
chatlists.editExportedInvite#653db63d flags:# revoked:flags.0?true chatlist:InputChatlistDialogFilter slug:string title:flags.1?string peers:flags.2?Vector<InputPeer> = ExportedChatlistInvite;
1522+
chatlists.exportChatlistInvite#8472478e chatlist:InputChatlistDialogFilter title:string peers:Vector<InputPeer> = chatlists.ExportedChatlistInvite;
1523+
chatlists.getChatlistUpdates#89419521 chatlist:InputChatlistDialogFilter = chatlists.ChatlistUpdates;
1524+
chatlists.getExportedInvites#ce03da83 chatlist:InputChatlistDialogFilter = chatlists.ExportedInvites;
1525+
chatlists.getLeaveChatlistSuggestions#fdbcd714 chatlist:InputChatlistDialogFilter = Vector<Peer>;
1526+
chatlists.hideChatlistUpdates#66e486fb chatlist:InputChatlistDialogFilter = Bool;
1527+
chatlists.joinChatlistInvite#a6b1e39a slug:string peers:Vector<InputPeer> = Updates;
1528+
chatlists.joinChatlistUpdates#e089f8f5 chatlist:InputChatlistDialogFilter peers:Vector<InputPeer> = Updates;
1529+
chatlists.leaveChatlist#74fae13a chatlist:InputChatlistDialogFilter peers:Vector<InputPeer> = Updates;
1530+
15071531
invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X;
15081532
invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector<long> query:!X = X;
15091533
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;
@@ -2020,4 +2044,4 @@ stats.getMegagroupStats#dcdf8607 flags:# dark:flags.0?true channel:InputChannel
20202044
stats.getMessagePublicForwards#5630281b channel:InputChannel msg_id:int offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages;
20212045
stats.getMessageStats#b6e0a3f5 flags:# dark:flags.0?true channel:InputChannel msg_id:int = stats.MessageStats;
20222046

2023-
// LAYER 157
2047+
// LAYER 158

0 commit comments

Comments
 (0)