From b660ac28e612ad95b7a1ba6daec53d712d18e5d5 Mon Sep 17 00:00:00 2001 From: Viktor Oreshkin Date: Sun, 2 Jul 2017 18:34:29 +0300 Subject: [PATCH] Add layer 047 --- l047/README.md | 4 + l047/schema.json | 4 + l047/schema.tl | 11 +++ schema.json | 190 ----------------------------------------------- schema.tl | 9 --- 5 files changed, 19 insertions(+), 199 deletions(-) create mode 100644 l047/README.md create mode 100644 l047/schema.json create mode 100644 l047/schema.tl diff --git a/l047/README.md b/l047/README.md new file mode 100644 index 0000000..9c49e4b --- /dev/null +++ b/l047/README.md @@ -0,0 +1,4 @@ +### Version info +App|Version/Hash|Date +---|---|--- +TDesktop|3579276b49267cc5d012198a112954b93623c3af|12.02.16 diff --git a/l047/schema.json b/l047/schema.json new file mode 100644 index 0000000..b8b3bdd --- /dev/null +++ b/l047/schema.json @@ -0,0 +1,4 @@ +{ + "constructors": [], + "methods": [] +} \ No newline at end of file diff --git a/l047/schema.tl b/l047/schema.tl new file mode 100644 index 0000000..48d61dd --- /dev/null +++ b/l047/schema.tl @@ -0,0 +1,11 @@ +---types--- +// inputMediaUploadedVideo#82713fdf file:InputFile duration:int w:int h:int mime_type:string caption:string = InputMedia; +// inputMediaUploadedThumbVideo#7780ddf9 file:InputFile thumb:InputFile duration:int w:int h:int mime_type:string caption:string = InputMedia; +// inputMediaVideo#936a4ebd id:InputVideo caption:string = InputMedia; +// inputVideoEmpty#5508ec75 = InputVideo; +// inputVideo#ee579652 id:long access_hash:long = InputVideo; +// inputVideoFileLocation#3d0364ec id:long access_hash:long = InputFileLocation; +// messageMediaVideo#5bcf1675 video:Video caption:string = MessageMedia; +// videoEmpty#c10658a8 id:long = Video; +// video#f72887d3 id:long access_hash:long date:int duration:int mime_type:string size:int thumb:PhotoSize dc_id:int w:int h:int = Video; +---functions--- diff --git a/schema.json b/schema.json index 7aa5aaf..32388d4 100644 --- a/schema.json +++ b/schema.json @@ -180,87 +180,6 @@ ], "type": "InputMedia" }, - { - "id": "-2106507297", - "predicate": "inputMediaUploadedVideo", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "2004934137", - "predicate": "inputMediaUploadedThumbVideo", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "thumb", - "type": "InputFile" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-1821749571", - "predicate": "inputMediaVideo", - "params": [ - { - "name": "id", - "type": "InputVideo" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, { "id": "480546647", "predicate": "inputChatPhotoEmpty", @@ -339,27 +258,6 @@ ], "type": "InputPhoto" }, - { - "id": "1426648181", - "predicate": "inputVideoEmpty", - "params": [], - "type": "InputVideo" - }, - { - "id": "-296249774", - "predicate": "inputVideo", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputVideo" - }, { "id": "342061462", "predicate": "inputFileLocation", @@ -379,21 +277,6 @@ ], "type": "InputFileLocation" }, - { - "id": "1023632620", - "predicate": "inputVideoFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, { "id": "-1377390588", "predicate": "inputPhotoCropAuto", @@ -980,21 +863,6 @@ ], "type": "MessageMedia" }, - { - "id": "1540298357", - "predicate": "messageMediaVideo", - "params": [ - { - "name": "video", - "type": "Video" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "MessageMedia" - }, { "id": "1457575028", "predicate": "messageMediaGeo", @@ -1232,64 +1100,6 @@ ], "type": "PhotoSize" }, - { - "id": "-1056548696", - "predicate": "videoEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Video" - }, - { - "id": "-148338733", - "predicate": "video", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "thumb", - "type": "PhotoSize" - }, - { - "name": "dc_id", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "Video" - }, { "id": "286776671", "predicate": "geoPointEmpty", diff --git a/schema.tl b/schema.tl index aa8bbe0..184b153 100644 --- a/schema.tl +++ b/schema.tl @@ -15,9 +15,6 @@ inputMediaUploadedPhoto#f7aff1c0 file:InputFile caption:string = InputMedia; inputMediaPhoto#e9bfb4f3 id:InputPhoto caption:string = InputMedia; inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia; inputMediaContact#a6e45987 phone_number:string first_name:string last_name:string = InputMedia; -inputMediaUploadedVideo#82713fdf file:InputFile duration:int w:int h:int mime_type:string caption:string = InputMedia; -inputMediaUploadedThumbVideo#7780ddf9 file:InputFile thumb:InputFile duration:int w:int h:int mime_type:string caption:string = InputMedia; -inputMediaVideo#936a4ebd id:InputVideo caption:string = InputMedia; inputChatPhotoEmpty#1ca48f57 = InputChatPhoto; inputChatUploadedPhoto#94254732 file:InputFile crop:InputPhotoCrop = InputChatPhoto; inputChatPhoto#b2e1bf08 id:InputPhoto crop:InputPhotoCrop = InputChatPhoto; @@ -25,10 +22,7 @@ inputGeoPointEmpty#e4c123d6 = InputGeoPoint; inputGeoPoint#f3b7acc9 lat:double long:double = InputGeoPoint; inputPhotoEmpty#1cd7bf0d = InputPhoto; inputPhoto#fb95c6c4 id:long access_hash:long = InputPhoto; -inputVideoEmpty#5508ec75 = InputVideo; -inputVideo#ee579652 id:long access_hash:long = InputVideo; inputFileLocation#14637196 volume_id:long local_id:int secret:long = InputFileLocation; -inputVideoFileLocation#3d0364ec id:long access_hash:long = InputFileLocation; inputPhotoCropAuto#ade6b004 = InputPhotoCrop; inputPhotoCrop#d9915325 crop_left:double crop_top:double crop_width:double = InputPhotoCrop; inputAppEvent#770656a8 time:double type:string peer:long data:string = InputAppEvent; @@ -65,7 +59,6 @@ message#c992e15c flags:# unread:flags.0?true out:flags.1?true mentioned:flags.4? messageService#c06b9607 flags:# unread:flags.0?true out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true id:int from_id:flags.8?int to_id:Peer date:int action:MessageAction = Message; messageMediaEmpty#3ded6320 = MessageMedia; messageMediaPhoto#3d8ce53d photo:Photo caption:string = MessageMedia; -messageMediaVideo#5bcf1675 video:Video caption:string = MessageMedia; messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia; messageMediaContact#5e7d2f39 phone_number:string first_name:string last_name:string user_id:int = MessageMedia; messageMediaUnsupported#9f84f49e = MessageMedia; @@ -82,8 +75,6 @@ photo#cded42fe id:long access_hash:long date:int sizes:Vector = Photo photoSizeEmpty#e17e23c type:string = PhotoSize; photoSize#77bfb61b type:string location:FileLocation w:int h:int size:int = PhotoSize; photoCachedSize#e9a734fa type:string location:FileLocation w:int h:int bytes:bytes = PhotoSize; -videoEmpty#c10658a8 id:long = Video; -video#f72887d3 id:long access_hash:long date:int duration:int mime_type:string size:int thumb:PhotoSize dc_id:int w:int h:int = Video; geoPointEmpty#1117dd5f = GeoPoint; geoPoint#2049d70c long:double lat:double = GeoPoint; auth.checkedPhone#811ea28e phone_registered:Bool = auth.CheckedPhone;