1
0
mirror of https://github.com/danog/tl-schema.git synced 2024-11-29 20:09:13 +01:00

Add layer 067

This commit is contained in:
Viktor Oreshkin 2017-07-01 18:11:51 +03:00
parent ac578797fc
commit b60d94a7b2
5 changed files with 759 additions and 7 deletions

4
l067/README.md Normal file
View File

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

442
l067/schema.json Normal file
View File

@ -0,0 +1,442 @@
{
"constructors": [
{
"id": "2146355336",
"predicate": "config",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "phonecalls_enabled",
"type": "flags.1?true"
},
{
"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": "pinned_dialogs_count_max",
"type": "int"
},
{
"name": "call_receive_timeout_ms",
"type": "int"
},
{
"name": "call_ring_timeout_ms",
"type": "int"
},
{
"name": "call_connect_timeout_ms",
"type": "int"
},
{
"name": "call_packet_timeout_ms",
"type": "int"
},
{
"name": "me_url_prefix",
"type": "string"
},
{
"name": "suggested_lang_code",
"type": "flags.2?string"
},
{
"name": "lang_pack_version",
"type": "flags.2?int"
},
{
"name": "disabled_features",
"type": "Vector<DisabledFeature>"
}
],
"type": "Config"
},
{
"id": "608050278",
"predicate": "sendMessageUploadRoundAction",
"params": [
{
"name": "progress",
"type": "int"
}
],
"type": "SendMessageAction"
},
{
"id": "281165899",
"predicate": "updateLangPackTooLong",
"params": [],
"type": "Update"
},
{
"id": "1442983757",
"predicate": "updateLangPack",
"params": [
{
"name": "difference",
"type": "LangPackDifference"
}
],
"type": "Update"
},
{
"id": "-283684427",
"predicate": "pageBlockChannel",
"params": [
{
"name": "channel",
"type": "Chat"
}
],
"type": "PageBlock"
},
{
"id": "-6249322",
"predicate": "inputStickerSetItem",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "document",
"type": "InputDocument"
},
{
"name": "emoji",
"type": "string"
},
{
"name": "mask_coords",
"type": "flags.0?MaskCoords"
}
],
"type": "InputStickerSetItem"
},
{
"id": "-892239370",
"predicate": "langPackString",
"params": [
{
"name": "key",
"type": "string"
},
{
"name": "value",
"type": "string"
}
],
"type": "LangPackString"
},
{
"id": "1816636575",
"predicate": "langPackStringPluralized",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "key",
"type": "string"
},
{
"name": "zero_value",
"type": "flags.0?string"
},
{
"name": "one_value",
"type": "flags.1?string"
},
{
"name": "two_value",
"type": "flags.2?string"
},
{
"name": "few_value",
"type": "flags.3?string"
},
{
"name": "many_value",
"type": "flags.4?string"
},
{
"name": "other_value",
"type": "string"
}
],
"type": "LangPackString"
},
{
"id": "695856818",
"predicate": "langPackStringDeleted",
"params": [
{
"name": "key",
"type": "string"
}
],
"type": "LangPackString"
},
{
"id": "-209337866",
"predicate": "langPackDifference",
"params": [
{
"name": "lang_code",
"type": "string"
},
{
"name": "from_version",
"type": "int"
},
{
"name": "version",
"type": "int"
},
{
"name": "strings",
"type": "Vector<LangPackString>"
}
],
"type": "LangPackDifference"
},
{
"id": "292985073",
"predicate": "langPackLanguage",
"params": [
{
"name": "name",
"type": "string"
},
{
"name": "native_name",
"type": "string"
},
{
"name": "lang_code",
"type": "string"
}
],
"type": "LangPackLanguage"
}
],
"methods": [
{
"id": "-951575130",
"method": "initConnection",
"params": [
{
"name": "api_id",
"type": "int"
},
{
"name": "device_model",
"type": "string"
},
{
"name": "system_version",
"type": "string"
},
{
"name": "app_version",
"type": "string"
},
{
"name": "system_lang_code",
"type": "string"
},
{
"name": "lang_pack",
"type": "string"
},
{
"name": "lang_code",
"type": "string"
},
{
"name": "query",
"type": "!X"
}
],
"type": "X"
},
{
"id": "1369162417",
"method": "messages.uploadMedia",
"params": [
{
"name": "peer",
"type": "InputPeer"
},
{
"name": "media",
"type": "InputMedia"
}
],
"type": "MessageMedia"
},
{
"id": "1302491916",
"method": "stickers.createStickerSet",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "masks",
"type": "flags.0?true"
},
{
"name": "user_id",
"type": "InputUser"
},
{
"name": "title",
"type": "string"
},
{
"name": "short_name",
"type": "string"
},
{
"name": "stickers",
"type": "Vector<InputStickerSetItem>"
}
],
"type": "Bool"
},
{
"id": "-1699363442",
"method": "langpack.getLangPack",
"params": [
{
"name": "lang_code",
"type": "string"
}
],
"type": "LangPackDifference"
},
{
"id": "773776152",
"method": "langpack.getStrings",
"params": [
{
"name": "lang_code",
"type": "string"
},
{
"name": "keys",
"type": "Vector<string>"
}
],
"type": "Vector<LangPackString>"
},
{
"id": "187583869",
"method": "langpack.getDifference",
"params": [
{
"name": "from_version",
"type": "int"
}
],
"type": "LangPackDifference"
},
{
"id": "-2146445955",
"method": "langpack.getLanguages",
"params": [],
"type": "Vector<LangPackLanguage>"
}
]
}

23
l067/schema.tl Normal file
View File

@ -0,0 +1,23 @@
---types---
// config#cb601684 flags:# phonecalls_enabled:flags.1?true 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 pinned_dialogs_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string disabled_features:Vector<DisabledFeature> = Config;
config#7feec888 flags:# phonecalls_enabled:flags.1?true 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 pinned_dialogs_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string suggested_lang_code:flags.2?string lang_pack_version:flags.2?int disabled_features:Vector<DisabledFeature> = Config;
// sendMessageUploadRoundAction#bb718624 = SendMessageAction;
sendMessageUploadRoundAction#243e1c66 progress:int = SendMessageAction;
updateLangPackTooLong#10c2404b = Update;
updateLangPack#56022f4d difference:LangPackDifference = Update;
pageBlockChannel#ef1751b5 channel:Chat = PageBlock;
inputStickerSetItem#ffa0a496 flags:# document:InputDocument emoji:string mask_coords:flags.0?MaskCoords = InputStickerSetItem;
langPackString#cad181f6 key:string value:string = LangPackString;
langPackStringPluralized#6c47ac9f flags:# key:string zero_value:flags.0?string one_value:flags.1?string two_value:flags.2?string few_value:flags.3?string many_value:flags.4?string other_value:string = LangPackString;
langPackStringDeleted#2979eeb2 key:string = LangPackString;
langPackDifference#f385c1f6 lang_code:string from_version:int version:int strings:Vector<LangPackString> = LangPackDifference;
langPackLanguage#117698f1 name:string native_name:string lang_code:string = LangPackLanguage;
---functions---
// initConnection#69796de9 api_id:int device_model:string system_version:string app_version:string lang_code:string query:!X = X;
initConnection#c7481da6 api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string query:!X = X;
messages.uploadMedia#519bc2b1 peer:InputPeer media:InputMedia = MessageMedia;
stickers.createStickerSet#4da2730c flags:# masks:flags.0?true user_id:InputUser title:string short_name:string stickers:Vector<InputStickerSetItem> = Bool;
langpack.getLangPack#9ab5c58e lang_code:string = LangPackDifference;
langpack.getStrings#2e1ee318 lang_code:string keys:Vector<string> = Vector<LangPackString>;
langpack.getDifference#b2e4d7d from_version:int = LangPackDifference;
langpack.getLanguages#800fd57d = Vector<LangPackLanguage>;

View File

@ -2312,7 +2312,7 @@
"type": "DcOption"
},
{
"id": "-882895228",
"id": "2146355336",
"predicate": "config",
"params": [
{
@ -2435,6 +2435,14 @@
"name": "me_url_prefix",
"type": "string"
},
{
"name": "suggested_lang_code",
"type": "flags.2?string"
},
{
"name": "lang_pack_version",
"type": "flags.2?int"
},
{
"name": "disabled_features",
"type": "Vector<DisabledFeature>"
@ -9330,9 +9338,14 @@
"type": "SendMessageAction"
},
{
"id": "-1150187996",
"id": "608050278",
"predicate": "sendMessageUploadRoundAction",
"params": [],
"params": [
{
"name": "progress",
"type": "int"
}
],
"type": "SendMessageAction"
},
{
@ -9382,6 +9395,164 @@
}
],
"type": "CdnConfig"
},
{
"id": "281165899",
"predicate": "updateLangPackTooLong",
"params": [],
"type": "Update"
},
{
"id": "1442983757",
"predicate": "updateLangPack",
"params": [
{
"name": "difference",
"type": "LangPackDifference"
}
],
"type": "Update"
},
{
"id": "-283684427",
"predicate": "pageBlockChannel",
"params": [
{
"name": "channel",
"type": "Chat"
}
],
"type": "PageBlock"
},
{
"id": "-6249322",
"predicate": "inputStickerSetItem",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "document",
"type": "InputDocument"
},
{
"name": "emoji",
"type": "string"
},
{
"name": "mask_coords",
"type": "flags.0?MaskCoords"
}
],
"type": "InputStickerSetItem"
},
{
"id": "-892239370",
"predicate": "langPackString",
"params": [
{
"name": "key",
"type": "string"
},
{
"name": "value",
"type": "string"
}
],
"type": "LangPackString"
},
{
"id": "1816636575",
"predicate": "langPackStringPluralized",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "key",
"type": "string"
},
{
"name": "zero_value",
"type": "flags.0?string"
},
{
"name": "one_value",
"type": "flags.1?string"
},
{
"name": "two_value",
"type": "flags.2?string"
},
{
"name": "few_value",
"type": "flags.3?string"
},
{
"name": "many_value",
"type": "flags.4?string"
},
{
"name": "other_value",
"type": "string"
}
],
"type": "LangPackString"
},
{
"id": "695856818",
"predicate": "langPackStringDeleted",
"params": [
{
"name": "key",
"type": "string"
}
],
"type": "LangPackString"
},
{
"id": "-209337866",
"predicate": "langPackDifference",
"params": [
{
"name": "lang_code",
"type": "string"
},
{
"name": "from_version",
"type": "int"
},
{
"name": "version",
"type": "int"
},
{
"name": "strings",
"type": "Vector<LangPackString>"
}
],
"type": "LangPackDifference"
},
{
"id": "292985073",
"predicate": "langPackLanguage",
"params": [
{
"name": "name",
"type": "string"
},
{
"name": "native_name",
"type": "string"
},
{
"name": "lang_code",
"type": "string"
}
],
"type": "LangPackLanguage"
}
],
"methods": [
@ -10594,7 +10765,7 @@
"type": "Bool"
},
{
"id": "1769565673",
"id": "-951575130",
"method": "initConnection",
"params": [
{
@ -10613,6 +10784,14 @@
"name": "app_version",
"type": "string"
},
{
"name": "system_lang_code",
"type": "string"
},
{
"name": "lang_pack",
"type": "string"
},
{
"name": "lang_code",
"type": "string"
@ -12901,6 +13080,95 @@
"method": "help.getCdnConfig",
"params": [],
"type": "CdnConfig"
},
{
"id": "1369162417",
"method": "messages.uploadMedia",
"params": [
{
"name": "peer",
"type": "InputPeer"
},
{
"name": "media",
"type": "InputMedia"
}
],
"type": "MessageMedia"
},
{
"id": "1302491916",
"method": "stickers.createStickerSet",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "masks",
"type": "flags.0?true"
},
{
"name": "user_id",
"type": "InputUser"
},
{
"name": "title",
"type": "string"
},
{
"name": "short_name",
"type": "string"
},
{
"name": "stickers",
"type": "Vector<InputStickerSetItem>"
}
],
"type": "Bool"
},
{
"id": "-1699363442",
"method": "langpack.getLangPack",
"params": [
{
"name": "lang_code",
"type": "string"
}
],
"type": "LangPackDifference"
},
{
"id": "773776152",
"method": "langpack.getStrings",
"params": [
{
"name": "lang_code",
"type": "string"
},
{
"name": "keys",
"type": "Vector<string>"
}
],
"type": "Vector<LangPackString>"
},
{
"id": "187583869",
"method": "langpack.getDifference",
"params": [
{
"name": "from_version",
"type": "int"
}
],
"type": "LangPackDifference"
},
{
"id": "-2146445955",
"method": "langpack.getLanguages",
"params": [],
"type": "Vector<LangPackLanguage>"
}
]
}

View File

@ -136,7 +136,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 cdn:flags.3?true id:int ip_address:string port:int = DcOption;
config#cb601684 flags:# phonecalls_enabled:flags.1?true 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 pinned_dialogs_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string disabled_features:Vector<DisabledFeature> = Config;
config#7feec888 flags:# phonecalls_enabled:flags.1?true 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 pinned_dialogs_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string suggested_lang_code:flags.2?string lang_pack_version:flags.2?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;
@ -541,11 +541,20 @@ inputMessagesFilterRoundVoice#7a7c17a4 = MessagesFilter;
inputMessagesFilterRoundVideo#b549da53 = MessagesFilter;
upload.fileCdnRedirect#1508485a dc_id:int file_token:bytes encryption_key:bytes encryption_iv:bytes = upload.File;
sendMessageRecordRoundAction#88f27fbc = SendMessageAction;
sendMessageUploadRoundAction#bb718624 = SendMessageAction;
sendMessageUploadRoundAction#243e1c66 progress:int = SendMessageAction;
upload.cdnFileReuploadNeeded#eea8e46e request_token:bytes = upload.CdnFile;
upload.cdnFile#a99fca4f bytes:bytes = upload.CdnFile;
cdnPublicKey#c982eaba dc_id:int public_key:string = CdnPublicKey;
cdnConfig#5725e40a public_keys:Vector<CdnPublicKey> = CdnConfig;
updateLangPackTooLong#10c2404b = Update;
updateLangPack#56022f4d difference:LangPackDifference = Update;
pageBlockChannel#ef1751b5 channel:Chat = PageBlock;
inputStickerSetItem#ffa0a496 flags:# document:InputDocument emoji:string mask_coords:flags.0?MaskCoords = InputStickerSetItem;
langPackString#cad181f6 key:string value:string = LangPackString;
langPackStringPluralized#6c47ac9f flags:# key:string zero_value:flags.0?string one_value:flags.1?string two_value:flags.2?string few_value:flags.3?string many_value:flags.4?string other_value:string = LangPackString;
langPackStringDeleted#2979eeb2 key:string = LangPackString;
langPackDifference#f385c1f6 lang_code:string from_version:int version:int strings:Vector<LangPackString> = LangPackDifference;
langPackLanguage#117698f1 name:string native_name:string lang_code:string = LangPackLanguage;
---functions---
invokeAfterMsg#cb9f372d msg_id:long query:!X = X;
invokeAfterMsgs#3dc4b4f0 msg_ids:Vector<long> query:!X = X;
@ -621,7 +630,7 @@ messages.sendEncryptedFile#9a901b66 peer:InputEncryptedChat random_id:long data:
messages.sendEncryptedService#32d439a4 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage;
messages.receivedQueue#55a5bb66 max_qts:int = Vector<long>;
upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool;
initConnection#69796de9 api_id:int device_model:string system_version:string app_version:string lang_code:string query:!X = X;
initConnection#c7481da6 api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string query:!X = X;
help.getSupport#9cdf08cd = help.Support;
auth.bindTempAuthKey#cdd42a05 perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool;
contacts.exportCard#84e53737 = Vector<int>;
@ -763,3 +772,9 @@ phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool;
upload.getCdnFile#2000bcc3 file_token:bytes offset:int limit:int = upload.CdnFile;
upload.reuploadCdnFile#2e7a2020 file_token:bytes request_token:bytes = Bool;
help.getCdnConfig#52029342 = CdnConfig;
messages.uploadMedia#519bc2b1 peer:InputPeer media:InputMedia = MessageMedia;
stickers.createStickerSet#4da2730c flags:# masks:flags.0?true user_id:InputUser title:string short_name:string stickers:Vector<InputStickerSetItem> = Bool;
langpack.getLangPack#9ab5c58e lang_code:string = LangPackDifference;
langpack.getStrings#2e1ee318 lang_code:string keys:Vector<string> = Vector<LangPackString>;
langpack.getDifference#b2e4d7d from_version:int = LangPackDifference;
langpack.getLanguages#800fd57d = Vector<LangPackLanguage>;