1
0
mirror of https://github.com/danog/tl-schema.git synced 2024-11-30 04:19:47 +01:00

Add layer 055

This commit is contained in:
Viktor Oreshkin 2017-07-02 18:13:15 +03:00
parent c6b97140ad
commit 714c3f2598
5 changed files with 334 additions and 31 deletions

4
l055/README.md Normal file
View File

@ -0,0 +1,4 @@
### Version info
App|Version/Hash|Date
---|---|---
TDesktop|b0fdddfcf410b4ba8150b77a5314f5b566e3b5bc|12.08.16

226
l055/schema.json Normal file
View File

@ -0,0 +1,226 @@
{
"constructors": [
{
"id": "-855308010",
"predicate": "auth.authorization",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "tmp_sessions",
"type": "flags.0?int"
},
{
"name": "user",
"type": "User"
}
],
"type": "auth.Authorization"
},
{
"id": "-1704251862",
"predicate": "config",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "date",
"type": "int"
},
{
"name": "expires",
"type": "int"
},
{
"name": "test_mode",
"type": "Bool"
},
{
"name": "this_dc",
"type": "int"
},
{
"name": "dc_options",
"type": "Vector<DcOption>"
},
{
"name": "chat_size_max",
"type": "int"
},
{
"name": "megagroup_size_max",
"type": "int"
},
{
"name": "forwarded_count_max",
"type": "int"
},
{
"name": "online_update_period_ms",
"type": "int"
},
{
"name": "offline_blur_timeout_ms",
"type": "int"
},
{
"name": "offline_idle_timeout_ms",
"type": "int"
},
{
"name": "online_cloud_timeout_ms",
"type": "int"
},
{
"name": "notify_cloud_delay_ms",
"type": "int"
},
{
"name": "notify_default_delay_ms",
"type": "int"
},
{
"name": "chat_big_size",
"type": "int"
},
{
"name": "push_chat_period_ms",
"type": "int"
},
{
"name": "push_chat_limit",
"type": "int"
},
{
"name": "saved_gifs_limit",
"type": "int"
},
{
"name": "edit_time_limit",
"type": "int"
},
{
"name": "rating_e_decay",
"type": "int"
},
{
"name": "stickers_recent_limit",
"type": "int"
},
{
"name": "tmp_sessions",
"type": "flags.0?int"
},
{
"name": "disabled_features",
"type": "Vector<DisabledFeature>"
}
],
"type": "Config"
},
{
"id": "90744648",
"predicate": "keyboardButtonSwitchInline",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "same_peer",
"type": "flags.0?true"
},
{
"name": "text",
"type": "string"
},
{
"name": "query",
"type": "string"
}
],
"type": "KeyboardButton"
},
{
"id": "-1324486149",
"predicate": "messages.botCallbackAnswer",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "alert",
"type": "flags.1?true"
},
{
"name": "has_url",
"type": "flags.3?true"
},
{
"name": "message",
"type": "flags.0?string"
},
{
"name": "url",
"type": "flags.2?string"
}
],
"type": "messages.BotCallbackAnswer"
},
{
"id": "-1252045032",
"predicate": "inputMediaPhotoExternal",
"params": [
{
"name": "url",
"type": "string"
},
{
"name": "caption",
"type": "string"
}
],
"type": "InputMedia"
},
{
"id": "-437690244",
"predicate": "inputMediaDocumentExternal",
"params": [
{
"name": "url",
"type": "string"
},
{
"name": "caption",
"type": "string"
}
],
"type": "InputMedia"
},
{
"id": "-1574314746",
"predicate": "updateConfig",
"params": [],
"type": "Update"
},
{
"id": "861169551",
"predicate": "updatePtsChanged",
"params": [],
"type": "Update"
}
],
"methods": [
{
"id": "-1920105769",
"method": "channels.getAdminedPublicChannels",
"params": [],
"type": "messages.Chats"
}
]
}

16
l055/schema.tl Normal file
View File

@ -0,0 +1,16 @@
---types---
// auth.authorization#ff036af1 user:User = auth.Authorization;
auth.authorization#cd050916 flags:# tmp_sessions:flags.0?int user:User = auth.Authorization;
// config#f401a4bf date:int expires:int test_mode:Bool this_dc:int dc_options:Vector<DcOption> chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int chat_big_size:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int rating_e_decay:int stickers_recent_limit:int disabled_features:Vector<DisabledFeature> = Config;
config#9a6b2e2a flags:# date:int expires:int test_mode:Bool this_dc:int dc_options:Vector<DcOption> chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int chat_big_size:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int rating_e_decay:int stickers_recent_limit:int tmp_sessions:flags.0?int disabled_features:Vector<DisabledFeature> = Config;
// keyboardButtonSwitchInline#ea1b7a14 text:string query:string = KeyboardButton;
keyboardButtonSwitchInline#568a748 flags:# same_peer:flags.0?true text:string query:string = KeyboardButton;
// messages.botCallbackAnswer#b10df1fb flags:# alert:flags.1?true message:flags.0?string url:flags.2?string = messages.BotCallbackAnswer;
messages.botCallbackAnswer#b10df1fb flags:# alert:flags.1?true has_url:flags.3?true message:flags.0?string url:flags.2?string = messages.BotCallbackAnswer;
inputMediaPhotoExternal#b55f4f18 url:string caption:string = InputMedia;
inputMediaDocumentExternal#e5e9607c url:string caption:string = InputMedia;
updateConfig#a229dd06 = Update;
updatePtsChanged#3354678f = Update;
---functions---
// messages.sendBroadcast#bf73f4da contacts:Vector<InputUser> random_id:Vector<long> message:string media:InputMedia = Updates;
channels.getAdminedPublicChannels#8d8d82d7 = messages.Chats;

View File

@ -1192,9 +1192,17 @@
"type": "auth.SentCode"
},
{
"id": "-16553231",
"id": "-855308010",
"predicate": "auth.authorization",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "tmp_sessions",
"type": "flags.0?int"
},
{
"name": "user",
"type": "User"
@ -2324,9 +2332,13 @@
"type": "DcOption"
},
{
"id": "-201218881",
"id": "-1704251862",
"predicate": "config",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "date",
"type": "int"
@ -2411,6 +2423,10 @@
"name": "stickers_recent_limit",
"type": "int"
},
{
"name": "tmp_sessions",
"type": "flags.0?int"
},
{
"name": "disabled_features",
"type": "Vector<DisabledFeature>"
@ -6437,9 +6453,17 @@
"type": "auth.SentCodeType"
},
{
"id": "-367298028",
"id": "90744648",
"predicate": "keyboardButtonSwitchInline",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "same_peer",
"type": "flags.0?true"
},
{
"name": "text",
"type": "string"
@ -6474,6 +6498,10 @@
"name": "alert",
"type": "flags.1?true"
},
{
"name": "has_url",
"type": "flags.3?true"
},
{
"name": "message",
"type": "flags.0?string"
@ -7199,6 +7227,48 @@
}
],
"type": "StickerSetCovered"
},
{
"id": "-1252045032",
"predicate": "inputMediaPhotoExternal",
"params": [
{
"name": "url",
"type": "string"
},
{
"name": "caption",
"type": "string"
}
],
"type": "InputMedia"
},
{
"id": "-437690244",
"predicate": "inputMediaDocumentExternal",
"params": [
{
"name": "url",
"type": "string"
},
{
"name": "caption",
"type": "string"
}
],
"type": "InputMedia"
},
{
"id": "-1574314746",
"predicate": "updateConfig",
"params": [],
"type": "Update"
},
{
"id": "861169551",
"predicate": "updatePtsChanged",
"params": [],
"type": "Update"
}
],
"methods": [
@ -8684,29 +8754,6 @@
],
"type": "auth.Authorization"
},
{
"id": "-1082919718",
"method": "messages.sendBroadcast",
"params": [
{
"name": "contacts",
"type": "Vector<InputUser>"
},
{
"name": "random_id",
"type": "Vector<long>"
},
{
"name": "message",
"type": "string"
},
{
"name": "media",
"type": "InputMedia"
}
],
"type": "Updates"
},
{
"id": "623001124",
"method": "messages.getWebPagePreview",
@ -10044,6 +10091,12 @@
}
],
"type": "messages.ArchivedStickers"
},
{
"id": "-1920105769",
"method": "channels.getAdminedPublicChannels",
"params": [],
"type": "messages.Chats"
}
]
}

View File

@ -79,7 +79,7 @@ geoPointEmpty#1117dd5f = GeoPoint;
geoPoint#2049d70c long:double lat:double = GeoPoint;
auth.checkedPhone#811ea28e phone_registered:Bool = auth.CheckedPhone;
auth.sentCode#5e002502 flags:# phone_registered:flags.0?true type:auth.SentCodeType phone_code_hash:string next_type:flags.1?auth.CodeType timeout:flags.2?int = auth.SentCode;
auth.authorization#ff036af1 user:User = auth.Authorization;
auth.authorization#cd050916 flags:# tmp_sessions:flags.0?int user:User = auth.Authorization;
auth.exportedAuthorization#df969c2d id:int bytes:bytes = auth.ExportedAuthorization;
inputNotifyPeer#b8bc5b0c peer:InputPeer = InputNotifyPeer;
inputNotifyUsers#193b4417 = InputNotifyPeer;
@ -139,7 +139,7 @@ updates#74ae4240 updates:Vector<Update> users:Vector<User> chats:Vector<Chat> da
photos.photo#20212ca8 photo:Photo users:Vector<User> = photos.Photo;
upload.file#96a18d5 type:storage.FileType mtime:int bytes:bytes = upload.File;
dcOption#5d8c6cc flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true id:int ip_address:string port:int = DcOption;
config#f401a4bf date:int expires:int test_mode:Bool this_dc:int dc_options:Vector<DcOption> chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int chat_big_size:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int rating_e_decay:int stickers_recent_limit:int disabled_features:Vector<DisabledFeature> = Config;
config#9a6b2e2a flags:# date:int expires:int test_mode:Bool this_dc:int dc_options:Vector<DcOption> chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int chat_big_size:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int rating_e_decay:int stickers_recent_limit:int tmp_sessions:flags.0?int disabled_features:Vector<DisabledFeature> = Config;
nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc;
help.appUpdate#8987f311 id:int critical:Bool url:string text:string = help.AppUpdate;
help.noAppUpdate#c45a6536 = help.AppUpdate;
@ -387,9 +387,9 @@ auth.sentCodeTypeApp#3dbb5986 length:int = auth.SentCodeType;
auth.sentCodeTypeSms#c000bba2 length:int = auth.SentCodeType;
auth.sentCodeTypeCall#5353e5a7 length:int = auth.SentCodeType;
auth.sentCodeTypeFlashCall#ab03c6d9 pattern:string = auth.SentCodeType;
keyboardButtonSwitchInline#ea1b7a14 text:string query:string = KeyboardButton;
keyboardButtonSwitchInline#568a748 flags:# same_peer:flags.0?true text:string query:string = KeyboardButton;
replyInlineMarkup#48a30254 rows:Vector<KeyboardButtonRow> = ReplyMarkup;
messages.botCallbackAnswer#b10df1fb flags:# alert:flags.1?true message:flags.0?string url:flags.2?string = messages.BotCallbackAnswer;
messages.botCallbackAnswer#b10df1fb flags:# alert:flags.1?true has_url:flags.3?true message:flags.0?string url:flags.2?string = messages.BotCallbackAnswer;
updateBotCallbackQuery#a68c688c query_id:long user_id:int peer:Peer msg_id:int data:bytes = Update;
messages.messageEditData#26b5dde6 flags:# caption:flags.0?true = messages.MessageEditData;
updateEditMessage#e40370a3 message:Message pts:int pts_count:int = Update;
@ -433,6 +433,10 @@ messages.archivedStickers#4fcba9c8 count:int sets:Vector<StickerSetCovered> = me
messages.stickerSetInstallResultSuccess#38641628 = messages.StickerSetInstallResult;
messages.stickerSetInstallResultArchive#35e410a8 sets:Vector<StickerSetCovered> = messages.StickerSetInstallResult;
stickerSetCovered#6410a5d2 set:StickerSet cover:Document = StickerSetCovered;
inputMediaPhotoExternal#b55f4f18 url:string caption:string = InputMedia;
inputMediaDocumentExternal#e5e9607c url:string caption:string = InputMedia;
updateConfig#a229dd06 = Update;
updatePtsChanged#3354678f = Update;
---functions---
invokeAfterMsg#cb9f372d msg_id:long query:!X = X;
invokeAfterMsgs#3dc4b4f0 msg_ids:Vector<long> query:!X = X;
@ -530,7 +534,6 @@ messages.getAllStickers#1c9618b1 hash:int = messages.AllStickers;
account.updateDeviceLocked#38df3532 period:int = Bool;
account.getPassword#548a30f5 = account.Password;
auth.checkPassword#a63011e password_hash:bytes = auth.Authorization;
messages.sendBroadcast#bf73f4da contacts:Vector<InputUser> random_id:Vector<long> message:string media:InputMedia = Updates;
messages.getWebPagePreview#25223e24 message:string = MessageMedia;
account.getAuthorizations#e320c158 = account.Authorizations;
account.resetAuthorization#df77f3bc hash:long = Bool;
@ -614,3 +617,4 @@ messages.saveRecentSticker#348e39bf id:InputDocument unsave:Bool = Bool;
messages.clearRecentStickers#ab02e5d2 = Bool;
messages.getUnusedStickers#4309d65b limit:int = Vector<StickerSetCovered>;
messages.getArchivedStickers#906e241f offset_id:long limit:int = messages.ArchivedStickers;
channels.getAdminedPublicChannels#8d8d82d7 = messages.Chats;