1
0
mirror of https://github.com/danog/tl-schema.git synced 2024-11-26 11:54:54 +01:00

Add layer 033

This commit is contained in:
Viktor Oreshkin 2017-07-01 18:01:31 +03:00
parent 8b3f7c1b21
commit bdfe552d36
5 changed files with 333 additions and 81 deletions

8
l033/README.md Normal file
View File

@ -0,0 +1,8 @@
### Version info
App|Version/Hash|Date
---|---|---
TDesktop|8511181508d19eab5aea77c88d6f28670f68b482|12.08.15
Webogram|a5b3dd8e0725c91d04e18abb9ed88981ae57b407|08.07.15
### Notes
inputMessagesFilterUrl is missing in Webogram's version

210
l033/schema.json Normal file
View File

@ -0,0 +1,210 @@
{
"constructors": [
{
"id": "-840088834",
"predicate": "photo",
"params": [
{
"name": "id",
"type": "long"
},
{
"name": "access_hash",
"type": "long"
},
{
"name": "date",
"type": "int"
},
{
"name": "sizes",
"type": "Vector<PhotoSize>"
}
],
"type": "Photo"
},
{
"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": "-102543275",
"predicate": "audio",
"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": "dc_id",
"type": "int"
}
],
"type": "Audio"
},
{
"id": "2129714567",
"predicate": "inputMessagesFilterUrl",
"params": [],
"type": "MessagesFilter"
},
{
"id": "2072935910",
"predicate": "inputPeerUser",
"params": [
{
"name": "user_id",
"type": "int"
},
{
"name": "access_hash",
"type": "long"
}
],
"type": "InputPeer"
},
{
"id": "-668391402",
"predicate": "inputUser",
"params": [
{
"name": "user_id",
"type": "int"
},
{
"name": "access_hash",
"type": "long"
}
],
"type": "InputUser"
},
{
"id": "-1350696044",
"predicate": "help.appChangelogEmpty",
"params": [],
"type": "help.AppChangelog"
},
{
"id": "1181279933",
"predicate": "help.appChangelog",
"params": [
{
"name": "text",
"type": "string"
}
],
"type": "help.AppChangelog"
}
],
"methods": [
{
"id": "-1848823128",
"method": "photos.getUserPhotos",
"params": [
{
"name": "user_id",
"type": "InputUser"
},
{
"name": "offset",
"type": "int"
},
{
"name": "max_id",
"type": "long"
},
{
"name": "limit",
"type": "int"
}
],
"type": "photos.Photos"
},
{
"id": "1537966002",
"method": "help.getAppChangelog",
"params": [
{
"name": "device_model",
"type": "string"
},
{
"name": "system_version",
"type": "string"
},
{
"name": "app_version",
"type": "string"
},
{
"name": "lang_code",
"type": "string"
}
],
"type": "help.AppChangelog"
}
]
}

20
l033/schema.tl Normal file
View File

@ -0,0 +1,20 @@
---types---
// inputPeerContact#1023dbe8 user_id:int = InputPeer;
// inputPeerForeign#9b447325 user_id:int access_hash:long = InputPeer;
// inputUserContact#86e94f65 user_id:int = InputUser;
// inputUserForeign#655e74ff user_id:int access_hash:long = InputUser;
// photo#c3838076 id:long access_hash:long user_id:int date:int geo:GeoPoint sizes:Vector<PhotoSize> = Photo;
photo#cded42fe id:long access_hash:long date:int sizes:Vector<PhotoSize> = Photo;
// video#ee9f4a4d id:long access_hash:long user_id:int date:int duration:int size:int thumb:PhotoSize dc_id:int w:int h:int = 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;
// audio#c7ac6496 id:long access_hash:long user_id:int date:int duration:int mime_type:string size:int dc_id:int = Audio;
audio#f9e35055 id:long access_hash:long date:int duration:int mime_type:string size:int dc_id:int = Audio;
inputMessagesFilterUrl#7ef0dd87 = MessagesFilter;
inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer;
inputUser#d8292816 user_id:int access_hash:long = InputUser;
help.appChangelogEmpty#af7e0394 = help.AppChangelog;
help.appChangelog#4668e6bd text:string = help.AppChangelog;
---functions---
// photos.getUserPhotos#b7ee553c user_id:InputUser offset:int max_id:int limit:int = photos.Photos;
photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos;
help.getAppChangelog#5bab7fb2 device_model:string system_version:string app_version:string lang_code:string = help.AppChangelog;

View File

@ -45,32 +45,6 @@
"params": [],
"type": "InputPeer"
},
{
"id": "270785512",
"predicate": "inputPeerContact",
"params": [
{
"name": "user_id",
"type": "int"
}
],
"type": "InputPeer"
},
{
"id": "-1690012891",
"predicate": "inputPeerForeign",
"params": [
{
"name": "user_id",
"type": "int"
},
{
"name": "access_hash",
"type": "long"
}
],
"type": "InputPeer"
},
{
"id": "396093539",
"predicate": "inputPeerChat",
@ -94,32 +68,6 @@
"params": [],
"type": "InputUser"
},
{
"id": "-2031530139",
"predicate": "inputUserContact",
"params": [
{
"name": "user_id",
"type": "int"
}
],
"type": "InputUser"
},
{
"id": "1700689151",
"predicate": "inputUserForeign",
"params": [
{
"name": "user_id",
"type": "int"
},
{
"name": "access_hash",
"type": "long"
}
],
"type": "InputUser"
},
{
"id": "-208488460",
"predicate": "inputPhoneContact",
@ -1117,7 +1065,7 @@
"type": "Photo"
},
{
"id": "-1014792074",
"id": "-840088834",
"predicate": "photo",
"params": [
{
@ -1128,18 +1076,10 @@
"name": "access_hash",
"type": "long"
},
{
"name": "user_id",
"type": "int"
},
{
"name": "date",
"type": "int"
},
{
"name": "geo",
"type": "GeoPoint"
},
{
"name": "sizes",
"type": "Vector<PhotoSize>"
@ -1224,7 +1164,7 @@
"type": "Video"
},
{
"id": "-291550643",
"id": "-148338733",
"predicate": "video",
"params": [
{
@ -1235,10 +1175,6 @@
"name": "access_hash",
"type": "long"
},
{
"name": "user_id",
"type": "int"
},
{
"name": "date",
"type": "int"
@ -1247,6 +1183,10 @@
"name": "duration",
"type": "int"
},
{
"name": "mime_type",
"type": "string"
},
{
"name": "size",
"type": "int"
@ -3361,7 +3301,7 @@
"type": "Audio"
},
{
"id": "-945003370",
"id": "-102543275",
"predicate": "audio",
"params": [
{
@ -3372,10 +3312,6 @@
"name": "access_hash",
"type": "long"
},
{
"name": "user_id",
"type": "int"
},
{
"name": "date",
"type": "int"
@ -4779,6 +4715,59 @@
}
],
"type": "ReplyMarkup"
},
{
"id": "2129714567",
"predicate": "inputMessagesFilterUrl",
"params": [],
"type": "MessagesFilter"
},
{
"id": "2072935910",
"predicate": "inputPeerUser",
"params": [
{
"name": "user_id",
"type": "int"
},
{
"name": "access_hash",
"type": "long"
}
],
"type": "InputPeer"
},
{
"id": "-668391402",
"predicate": "inputUser",
"params": [
{
"name": "user_id",
"type": "int"
},
{
"name": "access_hash",
"type": "long"
}
],
"type": "InputUser"
},
{
"id": "-1350696044",
"predicate": "help.appChangelogEmpty",
"params": [],
"type": "help.AppChangelog"
},
{
"id": "1181279933",
"predicate": "help.appChangelog",
"params": [
{
"name": "text",
"type": "string"
}
],
"type": "help.AppChangelog"
}
],
"methods": [
@ -5721,7 +5710,7 @@
"type": "Vector<long>"
},
{
"id": "-1209117380",
"id": "-1848823128",
"method": "photos.getUserPhotos",
"params": [
{
@ -5734,7 +5723,7 @@
},
{
"name": "max_id",
"type": "int"
"type": "long"
},
{
"name": "limit",
@ -6471,6 +6460,29 @@
}
],
"type": "Updates"
},
{
"id": "1537966002",
"method": "help.getAppChangelog",
"params": [
{
"name": "device_model",
"type": "string"
},
{
"name": "system_version",
"type": "string"
},
{
"name": "app_version",
"type": "string"
},
{
"name": "lang_code",
"type": "string"
}
],
"type": "help.AppChangelog"
}
]
}

View File

@ -5,13 +5,9 @@ error#c4b9f9bb code:int text:string = Error;
null#56730bcc = Null;
inputPeerEmpty#7f3b18ea = InputPeer;
inputPeerSelf#7da07ec9 = InputPeer;
inputPeerContact#1023dbe8 user_id:int = InputPeer;
inputPeerForeign#9b447325 user_id:int access_hash:long = InputPeer;
inputPeerChat#179be863 chat_id:int = InputPeer;
inputUserEmpty#b98886cf = InputUser;
inputUserSelf#f7c1b13f = InputUser;
inputUserContact#86e94f65 user_id:int = InputUser;
inputUserForeign#655e74ff user_id:int access_hash:long = InputUser;
inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact;
inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile;
inputMediaEmpty#9664f57f = InputMedia;
@ -82,12 +78,12 @@ messageActionChatAddUser#5e3cfc4b user_id:int = MessageAction;
messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction;
dialog#c1dd804a peer:Peer top_message:int read_inbox_max_id:int unread_count:int notify_settings:PeerNotifySettings = Dialog;
photoEmpty#2331b22d id:long = Photo;
photo#c3838076 id:long access_hash:long user_id:int date:int geo:GeoPoint sizes:Vector<PhotoSize> = Photo;
photo#cded42fe id:long access_hash:long date:int sizes:Vector<PhotoSize> = 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#ee9f4a4d id:long access_hash:long user_id:int date:int duration:int size:int thumb:PhotoSize dc_id:int w:int h:int = 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;
@ -210,7 +206,7 @@ inputDocument#18798952 id:long access_hash:long = InputDocument;
inputAudioFileLocation#74dc404d id:long access_hash:long = InputFileLocation;
inputDocumentFileLocation#4e45abe9 id:long access_hash:long = InputFileLocation;
audioEmpty#586988d8 id:long = Audio;
audio#c7ac6496 id:long access_hash:long user_id:int date:int duration:int mime_type:string size:int dc_id:int = Audio;
audio#f9e35055 id:long access_hash:long date:int duration:int mime_type:string size:int dc_id:int = Audio;
documentEmpty#36f8c871 id:long = Document;
document#f9a39f4f id:long access_hash:long date:int mime_type:string size:int thumb:PhotoSize dc_id:int attributes:Vector<DocumentAttribute> = Document;
help.support#17c6b5f6 phone_number:string user:User = help.Support;
@ -312,6 +308,11 @@ keyboardButtonRow#77608b83 buttons:Vector<KeyboardButton> = KeyboardButtonRow;
replyKeyboardHide#a03e5b85 flags:# = ReplyMarkup;
replyKeyboardForceReply#f4108aa0 flags:# = ReplyMarkup;
replyKeyboardMarkup#3502758c flags:# rows:Vector<KeyboardButtonRow> = ReplyMarkup;
inputMessagesFilterUrl#7ef0dd87 = MessagesFilter;
inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer;
inputUser#d8292816 user_id:int access_hash:long = InputUser;
help.appChangelogEmpty#af7e0394 = help.AppChangelog;
help.appChangelog#4668e6bd text:string = help.AppChangelog;
---functions---
invokeAfterMsg#cb9f372d msg_id:long query:!X = X;
invokeAfterMsgs#3dc4b4f0 msg_ids:Vector<long> query:!X = X;
@ -375,7 +376,7 @@ help.getAppUpdate#c812ac7e device_model:string system_version:string app_version
help.saveAppLog#6f02f748 events:Vector<InputAppEvent> = Bool;
help.getInviteText#a4a95186 lang_code:string = help.InviteText;
photos.deletePhotos#87cf7f2f id:Vector<InputPhoto> = Vector<long>;
photos.getUserPhotos#b7ee553c user_id:InputUser offset:int max_id:int limit:int = photos.Photos;
photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos;
messages.forwardMessage#33963bf9 peer:InputPeer id:int random_id:long = Updates;
messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig;
messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat;
@ -429,3 +430,4 @@ messages.installStickerSet#7b30c3a6 stickerset:InputStickerSet disabled:Bool = B
messages.uninstallStickerSet#f96e55de stickerset:InputStickerSet = Bool;
auth.importBotAuthorization#67a3ff2c flags:int api_id:int api_hash:string bot_auth_token:string = auth.Authorization;
messages.startBot#1b3e0ffc bot:InputUser chat_id:int random_id:long start_param:string = Updates;
help.getAppChangelog#5bab7fb2 device_model:string system_version:string app_version:string lang_code:string = help.AppChangelog;