1
0
mirror of https://github.com/danog/tl-schema.git synced 2025-01-22 13:41:18 +01:00

Add layer 009

This commit is contained in:
Viktor Oreshkin 2017-07-03 01:49:45 +03:00
parent 4794f04ac1
commit 3532c3e6a1
5 changed files with 228 additions and 0 deletions

4
l009/README.md Normal file
View File

@ -0,0 +1,4 @@
### Version info
App|Version/Hash|Date
---|---|---
WebArchive|[05 Nov 2013 stel.com capture](http://web.archive.org/web/20131105105416/https://dev.stel.com/schema)|n/a

109
l009/schema.json Normal file
View File

@ -0,0 +1,109 @@
{
"constructors": [
{
"id": "-95482955",
"predicate": "inputFileBig",
"params": [
{
"name": "id",
"type": "long"
},
{
"name": "parts",
"type": "int"
},
{
"name": "name",
"type": "string"
}
],
"type": "InputFile"
},
{
"id": "767652808",
"predicate": "inputEncryptedFileBigUploaded",
"params": [
{
"name": "id",
"type": "long"
},
{
"name": "parts",
"type": "int"
},
{
"name": "key_fingerprint",
"type": "int"
}
],
"type": "InputEncryptedFile"
}
],
"methods": [
{
"id": "-562337987",
"method": "upload.saveBigFilePart",
"params": [
{
"name": "file_id",
"type": "long"
},
{
"name": "file_part",
"type": "int"
},
{
"name": "file_total_parts",
"type": "int"
},
{
"name": "bytes",
"type": "bytes"
}
],
"type": "Bool"
},
{
"id": "1769565673",
"method": "initConnection",
"params": [
{
"name": "api_id",
"type": "int"
},
{
"name": "device_model",
"type": "string"
},
{
"name": "system_version",
"type": "string"
},
{
"name": "app_version",
"type": "string"
},
{
"name": "lang_code",
"type": "string"
},
{
"name": "query",
"type": "!X"
}
],
"type": "X"
},
{
"id": "1987140195",
"method": "invokeWithLayer9",
"params": [
{
"name": "query",
"type": "!X"
}
],
"type": "X"
}
]
}

7
l009/schema.tl Normal file
View File

@ -0,0 +1,7 @@
---types---
inputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile;
inputEncryptedFileBigUploaded#2dc173c8 id:long parts:int key_fingerprint:int = InputEncryptedFile;
---functions---
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;
invokeWithLayer9#76715a63 query:!X = X;

View File

@ -3673,6 +3673,44 @@
}
],
"type": "messages.SentEncryptedMessage"
},
{
"id": "-95482955",
"predicate": "inputFileBig",
"params": [
{
"name": "id",
"type": "long"
},
{
"name": "parts",
"type": "int"
},
{
"name": "name",
"type": "string"
}
],
"type": "InputFile"
},
{
"id": "767652808",
"predicate": "inputEncryptedFileBigUploaded",
"params": [
{
"name": "id",
"type": "long"
},
{
"name": "parts",
"type": "int"
},
{
"name": "key_fingerprint",
"type": "int"
}
],
"type": "InputEncryptedFile"
}
],
"methods": [
@ -5150,6 +5188,71 @@
}
],
"type": "X"
},
{
"id": "-562337987",
"method": "upload.saveBigFilePart",
"params": [
{
"name": "file_id",
"type": "long"
},
{
"name": "file_part",
"type": "int"
},
{
"name": "file_total_parts",
"type": "int"
},
{
"name": "bytes",
"type": "bytes"
}
],
"type": "Bool"
},
{
"id": "1769565673",
"method": "initConnection",
"params": [
{
"name": "api_id",
"type": "int"
},
{
"name": "device_model",
"type": "string"
},
{
"name": "system_version",
"type": "string"
},
{
"name": "app_version",
"type": "string"
},
{
"name": "lang_code",
"type": "string"
},
{
"name": "query",
"type": "!X"
}
],
"type": "X"
},
{
"id": "1987140195",
"method": "invokeWithLayer9",
"params": [
{
"name": "query",
"type": "!X"
}
],
"type": "X"
}
]
}

View File

@ -225,6 +225,8 @@ messages.dhConfigNotModified#c0e24635 random:bytes = messages.DhConfig;
messages.dhConfig#2c221edd g:int p:bytes version:int random:bytes = messages.DhConfig;
messages.sentEncryptedMessage#560f8935 date:int = messages.SentEncryptedMessage;
messages.sentEncryptedFile#9493ff32 date:int file:EncryptedFile = messages.SentEncryptedMessage;
inputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile;
inputEncryptedFileBigUploaded#2dc173c8 id:long parts:int key_fingerprint:int = InputEncryptedFile;
---functions---
invokeAfterMsg#cb9f372d msg_id:long query:!X = X;
invokeAfterMsgs#3dc4b4f0 msg_ids:Vector<long> query:!X = X;
@ -323,3 +325,6 @@ 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>;
invokeWithLayer8#e9abd9fd query:!X = X;
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;
invokeWithLayer9#76715a63 query:!X = X;