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

Add layer 027

This commit is contained in:
Viktor Oreshkin 2017-07-02 20:20:28 +03:00
parent 41d64c585c
commit 70072798ef
5 changed files with 1138 additions and 193 deletions

5
l027/README.md Normal file
View File

@ -0,0 +1,5 @@
### Version info
App|Version/Hash|Date
---|---|---
TDesktop|9ede565a005311f54f77eb1c63d72aa03527d22a|07.04.15
Webogram|c5a7401e4aacfdd7336a084022b6ea374085667d|06.04.15

680
l027/schema.json Normal file
View File

@ -0,0 +1,680 @@
{
"constructors": [
{
"id": "1279084531",
"predicate": "messages.sentMessage",
"params": [
{
"name": "id",
"type": "int"
},
{
"name": "date",
"type": "int"
},
{
"name": "media",
"type": "MessageMedia"
},
{
"name": "pts",
"type": "int"
},
{
"name": "pts_count",
"type": "int"
}
],
"type": "messages.SentMessage"
},
{
"id": "1757069895",
"predicate": "config",
"params": [
{
"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": "broadcast_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": "disabled_features",
"type": "Vector<DisabledFeature>"
}
],
"type": "Config"
},
{
"id": "899786339",
"predicate": "messages.sentMessageLink",
"params": [
{
"name": "id",
"type": "int"
},
{
"name": "date",
"type": "int"
},
{
"name": "media",
"type": "MessageMedia"
},
{
"name": "pts",
"type": "int"
},
{
"name": "pts_count",
"type": "int"
},
{
"name": "links",
"type": "Vector<contacts.Link>"
},
{
"name": "seq",
"type": "int"
}
],
"type": "messages.SentMessage"
},
{
"id": "-1764049896",
"predicate": "account.noPassword",
"params": [
{
"name": "new_salt",
"type": "bytes"
},
{
"name": "email_unconfirmed_pattern",
"type": "string"
}
],
"type": "account.Password"
},
{
"id": "2081952796",
"predicate": "account.password",
"params": [
{
"name": "current_salt",
"type": "bytes"
},
{
"name": "new_salt",
"type": "bytes"
},
{
"name": "hint",
"type": "string"
},
{
"name": "has_recovery",
"type": "Bool"
},
{
"name": "email_unconfirmed_pattern",
"type": "string"
}
],
"type": "account.Password"
},
{
"id": "751004017",
"predicate": "updateWebPage",
"params": [
{
"name": "webpage",
"type": "WebPage"
}
],
"type": "Update"
},
{
"id": "-350980120",
"predicate": "webPageEmpty",
"params": [
{
"name": "id",
"type": "long"
}
],
"type": "WebPage"
},
{
"id": "-981018084",
"predicate": "webPagePending",
"params": [
{
"name": "id",
"type": "long"
},
{
"name": "date",
"type": "int"
}
],
"type": "WebPage"
},
{
"id": "-1558273867",
"predicate": "webPage",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "id",
"type": "long"
},
{
"name": "url",
"type": "string"
},
{
"name": "display_url",
"type": "string"
},
{
"name": "type",
"type": "flags.0?string"
},
{
"name": "site_name",
"type": "flags.1?string"
},
{
"name": "title",
"type": "flags.2?string"
},
{
"name": "description",
"type": "flags.3?string"
},
{
"name": "photo",
"type": "flags.4?Photo"
},
{
"name": "embed_url",
"type": "flags.5?string"
},
{
"name": "embed_type",
"type": "flags.5?string"
},
{
"name": "embed_width",
"type": "flags.6?int"
},
{
"name": "embed_height",
"type": "flags.6?int"
},
{
"name": "duration",
"type": "flags.7?int"
},
{
"name": "author",
"type": "flags.8?string"
}
],
"type": "WebPage"
},
{
"id": "-1557277184",
"predicate": "messageMediaWebPage",
"params": [
{
"name": "webpage",
"type": "WebPage"
}
],
"type": "MessageMedia"
},
{
"id": "2079516406",
"predicate": "authorization",
"params": [
{
"name": "hash",
"type": "long"
},
{
"name": "flags",
"type": "int"
},
{
"name": "device_model",
"type": "string"
},
{
"name": "platform",
"type": "string"
},
{
"name": "system_version",
"type": "string"
},
{
"name": "api_id",
"type": "int"
},
{
"name": "app_name",
"type": "string"
},
{
"name": "app_version",
"type": "string"
},
{
"name": "date_created",
"type": "int"
},
{
"name": "date_active",
"type": "int"
},
{
"name": "ip",
"type": "string"
},
{
"name": "country",
"type": "string"
},
{
"name": "region",
"type": "string"
}
],
"type": "Authorization"
},
{
"id": "307276766",
"predicate": "account.authorizations",
"params": [
{
"name": "authorizations",
"type": "Vector<Authorization>"
}
],
"type": "account.Authorizations"
},
{
"id": "-1212732749",
"predicate": "account.passwordSettings",
"params": [
{
"name": "email",
"type": "string"
}
],
"type": "account.PasswordSettings"
},
{
"id": "-1124314324",
"predicate": "account.passwordInputSettings",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "new_salt",
"type": "flags.0?bytes"
},
{
"name": "new_password_hash",
"type": "flags.0?bytes"
},
{
"name": "hint",
"type": "flags.0?string"
},
{
"name": "email",
"type": "flags.1?string"
}
],
"type": "account.PasswordInputSettings"
},
{
"id": "326715557",
"predicate": "auth.passwordRecovery",
"params": [
{
"name": "email_pattern",
"type": "string"
}
],
"type": "auth.PasswordRecovery"
}
],
"methods": [
{
"id": "-1696755930",
"method": "messages.sendMessage",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "peer",
"type": "InputPeer"
},
{
"name": "reply_to_msg_id",
"type": "flags.0?int"
},
{
"name": "message",
"type": "string"
},
{
"name": "random_id",
"type": "long"
}
],
"type": "messages.SentMessage"
},
{
"id": "762913713",
"method": "messages.sendMedia",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "peer",
"type": "InputPeer"
},
{
"name": "reply_to_msg_id",
"type": "flags.0?int"
},
{
"name": "media",
"type": "InputMedia"
},
{
"name": "random_id",
"type": "long"
}
],
"type": "Updates"
},
{
"id": "1440838285",
"method": "messages.forwardMessages",
"params": [
{
"name": "peer",
"type": "InputPeer"
},
{
"name": "id",
"type": "Vector<int>"
},
{
"name": "random_id",
"type": "Vector<long>"
}
],
"type": "Updates"
},
{
"id": "-599447467",
"method": "messages.editChatTitle",
"params": [
{
"name": "chat_id",
"type": "int"
},
{
"name": "title",
"type": "string"
}
],
"type": "Updates"
},
{
"id": "-900957736",
"method": "messages.editChatPhoto",
"params": [
{
"name": "chat_id",
"type": "int"
},
{
"name": "photo",
"type": "InputChatPhoto"
}
],
"type": "Updates"
},
{
"id": "-106911223",
"method": "messages.addChatUser",
"params": [
{
"name": "chat_id",
"type": "int"
},
{
"name": "user_id",
"type": "InputUser"
},
{
"name": "fwd_limit",
"type": "int"
}
],
"type": "Updates"
},
{
"id": "-530505962",
"method": "messages.deleteChatUser",
"params": [
{
"name": "chat_id",
"type": "int"
},
{
"name": "user_id",
"type": "InputUser"
}
],
"type": "Updates"
},
{
"id": "164303470",
"method": "messages.createChat",
"params": [
{
"name": "users",
"type": "Vector<InputUser>"
},
{
"name": "title",
"type": "string"
}
],
"type": "Updates"
},
{
"id": "865483769",
"method": "messages.forwardMessage",
"params": [
{
"name": "peer",
"type": "InputPeer"
},
{
"name": "id",
"type": "int"
},
{
"name": "random_id",
"type": "long"
}
],
"type": "Updates"
},
{
"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",
"params": [
{
"name": "message",
"type": "string"
}
],
"type": "MessageMedia"
},
{
"id": "-484392616",
"method": "account.getAuthorizations",
"params": [],
"type": "account.Authorizations"
},
{
"id": "-545786948",
"method": "account.resetAuthorization",
"params": [
{
"name": "hash",
"type": "long"
}
],
"type": "Bool"
},
{
"id": "-1131605573",
"method": "account.getPasswordSettings",
"params": [
{
"name": "current_password_hash",
"type": "bytes"
}
],
"type": "account.PasswordSettings"
},
{
"id": "-92517498",
"method": "account.updatePasswordSettings",
"params": [
{
"name": "current_password_hash",
"type": "bytes"
},
{
"name": "new_settings",
"type": "account.PasswordInputSettings"
}
],
"type": "Bool"
},
{
"id": "-661144474",
"method": "auth.requestPasswordRecovery",
"params": [],
"type": "auth.PasswordRecovery"
},
{
"id": "1319464594",
"method": "auth.recoverPassword",
"params": [
{
"name": "code",
"type": "string"
}
],
"type": "auth.Authorization"
}
]
}

54
l027/schema.tl Normal file
View File

@ -0,0 +1,54 @@
---types---
// messages.statedMessages#7d84b48 messages:Vector<Message> chats:Vector<Chat> users:Vector<User> pts:int pts_count:int = messages.StatedMessages;
// messages.statedMessage#96240c6a message:Message chats:Vector<Chat> users:Vector<User> pts:int pts_count:int = messages.StatedMessage;
// messages.statedMessagesLinks#51be5d19 messages:Vector<Message> chats:Vector<Chat> users:Vector<User> pts:int pts_count:int links:Vector<contacts.Link> seq:int = messages.StatedMessages;
// messages.statedMessageLink#948a288 message:Message chats:Vector<Chat> users:Vector<User> pts:int pts_count:int links:Vector<contacts.Link> seq:int = messages.StatedMessage;
// messages.sentMessage#900eac40 id:int date:int pts:int pts_count:int = messages.SentMessage;
messages.sentMessage#4c3d47f3 id:int date:int media:MessageMedia pts:int pts_count:int = messages.SentMessage;
// config#3e6f732a date:int expires:int test_mode:Bool this_dc:int dc_options:Vector<DcOption> chat_size_max:int broadcast_size_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 disabled_features:Vector<DisabledFeature> = Config;
config#68bac247 date:int expires:int test_mode:Bool this_dc:int dc_options:Vector<DcOption> chat_size_max:int broadcast_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 disabled_features:Vector<DisabledFeature> = Config;
// messages.sentMessageLink#e923400d id:int date:int pts:int pts_count:int links:Vector<contacts.Link> seq:int = messages.SentMessage;
messages.sentMessageLink#35a1a663 id:int date:int media:MessageMedia pts:int pts_count:int links:Vector<contacts.Link> seq:int = messages.SentMessage;
// account.noPassword#5770e7a9 new_salt:bytes = account.Password;
account.noPassword#96dabc18 new_salt:bytes email_unconfirmed_pattern:string = account.Password;
// account.password#739e5f72 current_salt:bytes new_salt:bytes hint:string = account.Password;
account.password#7c18141c current_salt:bytes new_salt:bytes hint:string has_recovery:Bool email_unconfirmed_pattern:string = account.Password;
updateWebPage#2cc36971 webpage:WebPage = Update;
webPageEmpty#eb1477e8 id:long = WebPage;
webPagePending#c586da1c id:long date:int = WebPage;
webPage#a31ea0b5 flags:# id:long url:string display_url:string type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string = WebPage;
messageMediaWebPage#a32dd600 webpage:WebPage = MessageMedia;
authorization#7bf2e6f6 hash:long flags:int device_model:string platform:string system_version:string api_id:int app_name:string app_version:string date_created:int date_active:int ip:string country:string region:string = Authorization;
account.authorizations#1250abde authorizations:Vector<Authorization> = account.Authorizations;
account.passwordSettings#b7b72ab3 email:string = account.PasswordSettings;
account.passwordInputSettings#bcfc532c flags:# new_salt:flags.0?bytes new_password_hash:flags.0?bytes hint:flags.0?string email:flags.1?string = account.PasswordInputSettings;
auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery;
---functions---
// account.setPassword#dd2a4d8f current_password_hash:bytes new_salt:bytes new_password_hash:bytes hint:string = Bool;
// messages.sendMessage#1ca852a1 peer:InputPeer reply_to_msg_id:int message:string random_id:long = messages.SentMessage;
messages.sendMessage#9add8f26 flags:# peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long = messages.SentMessage;
// messages.sendMedia#fcee7fc0 peer:InputPeer reply_to_msg_id:int media:InputMedia random_id:long = messages.StatedMessage;
messages.sendMedia#2d7923b1 flags:# peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia random_id:long = Updates;
// messages.forwardMessages#ded42045 peer:InputPeer id:Vector<int> random_id:Vector<long> = messages.StatedMessages;
messages.forwardMessages#55e1728d peer:InputPeer id:Vector<int> random_id:Vector<long> = Updates;
// messages.editChatTitle#b4bc68b5 chat_id:int title:string = messages.StatedMessage;
messages.editChatTitle#dc452855 chat_id:int title:string = Updates;
// messages.editChatPhoto#d881821d chat_id:int photo:InputChatPhoto = messages.StatedMessage;
messages.editChatPhoto#ca4c79d8 chat_id:int photo:InputChatPhoto = Updates;
// messages.addChatUser#2ee9ee9e chat_id:int user_id:InputUser fwd_limit:int = messages.StatedMessage;
messages.addChatUser#f9a0aa09 chat_id:int user_id:InputUser fwd_limit:int = Updates;
// messages.deleteChatUser#c3c5cd23 chat_id:int user_id:InputUser = messages.StatedMessage;
messages.deleteChatUser#e0611f16 chat_id:int user_id:InputUser = Updates;
// messages.createChat#419d9aee users:Vector<InputUser> title:string = messages.StatedMessage;
messages.createChat#9cb126e users:Vector<InputUser> title:string = Updates;
// messages.forwardMessage#3f3f4f2 peer:InputPeer id:int random_id:long = messages.StatedMessage;
messages.forwardMessage#33963bf9 peer:InputPeer id:int random_id:long = Updates;
// messages.sendBroadcast#41bb0972 contacts:Vector<InputUser> message:string media:InputMedia = messages.StatedMessages;
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;
account.getPasswordSettings#bc8d11bb current_password_hash:bytes = account.PasswordSettings;
account.updatePasswordSettings#fa7c4b86 current_password_hash:bytes new_settings:account.PasswordInputSettings = Bool;
auth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery;
auth.recoverPassword#4ea56e92 code:string = auth.Authorization;

View File

@ -1929,61 +1929,7 @@
"type": "messages.Messages"
},
{
"id": "131615560",
"predicate": "messages.statedMessages",
"params": [
{
"name": "messages",
"type": "Vector<Message>"
},
{
"name": "chats",
"type": "Vector<Chat>"
},
{
"name": "users",
"type": "Vector<User>"
},
{
"name": "pts",
"type": "int"
},
{
"name": "pts_count",
"type": "int"
}
],
"type": "messages.StatedMessages"
},
{
"id": "-1776022422",
"predicate": "messages.statedMessage",
"params": [
{
"name": "message",
"type": "Message"
},
{
"name": "chats",
"type": "Vector<Chat>"
},
{
"name": "users",
"type": "Vector<User>"
},
{
"name": "pts",
"type": "int"
},
{
"name": "pts_count",
"type": "int"
}
],
"type": "messages.StatedMessage"
},
{
"id": "-1878086592",
"id": "1279084531",
"predicate": "messages.sentMessage",
"params": [
{
@ -1994,6 +1940,10 @@
"name": "date",
"type": "int"
},
{
"name": "media",
"type": "MessageMedia"
},
{
"name": "pts",
"type": "int"
@ -2652,7 +2602,7 @@
"type": "DcOption"
},
{
"id": "1047491370",
"id": "1757069895",
"predicate": "config",
"params": [
{
@ -2683,6 +2633,10 @@
"name": "broadcast_size_max",
"type": "int"
},
{
"name": "forwarded_count_max",
"type": "int"
},
{
"name": "online_update_period_ms",
"type": "int"
@ -2824,77 +2778,7 @@
"type": "photos.Photos"
},
{
"id": "1371430169",
"predicate": "messages.statedMessagesLinks",
"params": [
{
"name": "messages",
"type": "Vector<Message>"
},
{
"name": "chats",
"type": "Vector<Chat>"
},
{
"name": "users",
"type": "Vector<User>"
},
{
"name": "pts",
"type": "int"
},
{
"name": "pts_count",
"type": "int"
},
{
"name": "links",
"type": "Vector<contacts.Link>"
},
{
"name": "seq",
"type": "int"
}
],
"type": "messages.StatedMessages"
},
{
"id": "155755144",
"predicate": "messages.statedMessageLink",
"params": [
{
"name": "message",
"type": "Message"
},
{
"name": "chats",
"type": "Vector<Chat>"
},
{
"name": "users",
"type": "Vector<User>"
},
{
"name": "pts",
"type": "int"
},
{
"name": "pts_count",
"type": "int"
},
{
"name": "links",
"type": "Vector<contacts.Link>"
},
{
"name": "seq",
"type": "int"
}
],
"type": "messages.StatedMessage"
},
{
"id": "-383565811",
"id": "899786339",
"predicate": "messages.sentMessageLink",
"params": [
{
@ -2905,6 +2789,10 @@
"name": "date",
"type": "int"
},
{
"name": "media",
"type": "MessageMedia"
},
{
"name": "pts",
"type": "int"
@ -4254,18 +4142,22 @@
"type": "messages.AllStickers"
},
{
"id": "1467017129",
"id": "-1764049896",
"predicate": "account.noPassword",
"params": [
{
"name": "new_salt",
"type": "bytes"
},
{
"name": "email_unconfirmed_pattern",
"type": "string"
}
],
"type": "account.Password"
},
{
"id": "1939758962",
"id": "2081952796",
"predicate": "account.password",
"params": [
{
@ -4279,6 +4171,14 @@
{
"name": "hint",
"type": "string"
},
{
"name": "has_recovery",
"type": "Bool"
},
{
"name": "email_unconfirmed_pattern",
"type": "string"
}
],
"type": "account.Password"
@ -4403,6 +4303,240 @@
"predicate": "contactLinkContact",
"params": [],
"type": "ContactLink"
},
{
"id": "751004017",
"predicate": "updateWebPage",
"params": [
{
"name": "webpage",
"type": "WebPage"
}
],
"type": "Update"
},
{
"id": "-350980120",
"predicate": "webPageEmpty",
"params": [
{
"name": "id",
"type": "long"
}
],
"type": "WebPage"
},
{
"id": "-981018084",
"predicate": "webPagePending",
"params": [
{
"name": "id",
"type": "long"
},
{
"name": "date",
"type": "int"
}
],
"type": "WebPage"
},
{
"id": "-1558273867",
"predicate": "webPage",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "id",
"type": "long"
},
{
"name": "url",
"type": "string"
},
{
"name": "display_url",
"type": "string"
},
{
"name": "type",
"type": "flags.0?string"
},
{
"name": "site_name",
"type": "flags.1?string"
},
{
"name": "title",
"type": "flags.2?string"
},
{
"name": "description",
"type": "flags.3?string"
},
{
"name": "photo",
"type": "flags.4?Photo"
},
{
"name": "embed_url",
"type": "flags.5?string"
},
{
"name": "embed_type",
"type": "flags.5?string"
},
{
"name": "embed_width",
"type": "flags.6?int"
},
{
"name": "embed_height",
"type": "flags.6?int"
},
{
"name": "duration",
"type": "flags.7?int"
},
{
"name": "author",
"type": "flags.8?string"
}
],
"type": "WebPage"
},
{
"id": "-1557277184",
"predicate": "messageMediaWebPage",
"params": [
{
"name": "webpage",
"type": "WebPage"
}
],
"type": "MessageMedia"
},
{
"id": "2079516406",
"predicate": "authorization",
"params": [
{
"name": "hash",
"type": "long"
},
{
"name": "flags",
"type": "int"
},
{
"name": "device_model",
"type": "string"
},
{
"name": "platform",
"type": "string"
},
{
"name": "system_version",
"type": "string"
},
{
"name": "api_id",
"type": "int"
},
{
"name": "app_name",
"type": "string"
},
{
"name": "app_version",
"type": "string"
},
{
"name": "date_created",
"type": "int"
},
{
"name": "date_active",
"type": "int"
},
{
"name": "ip",
"type": "string"
},
{
"name": "country",
"type": "string"
},
{
"name": "region",
"type": "string"
}
],
"type": "Authorization"
},
{
"id": "307276766",
"predicate": "account.authorizations",
"params": [
{
"name": "authorizations",
"type": "Vector<Authorization>"
}
],
"type": "account.Authorizations"
},
{
"id": "-1212732749",
"predicate": "account.passwordSettings",
"params": [
{
"name": "email",
"type": "string"
}
],
"type": "account.PasswordSettings"
},
{
"id": "-1124314324",
"predicate": "account.passwordInputSettings",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "new_salt",
"type": "flags.0?bytes"
},
{
"name": "new_password_hash",
"type": "flags.0?bytes"
},
{
"name": "hint",
"type": "flags.0?string"
},
{
"name": "email",
"type": "flags.1?string"
}
],
"type": "account.PasswordInputSettings"
},
{
"id": "326715557",
"predicate": "auth.passwordRecovery",
"params": [
{
"name": "email_pattern",
"type": "string"
}
],
"type": "auth.PasswordRecovery"
}
],
"methods": [
@ -4994,16 +5128,20 @@
"type": "Bool"
},
{
"id": "480793249",
"id": "-1696755930",
"method": "messages.sendMessage",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "peer",
"type": "InputPeer"
},
{
"name": "reply_to_msg_id",
"type": "int"
"type": "flags.0?int"
},
{
"name": "message",
@ -5017,16 +5155,20 @@
"type": "messages.SentMessage"
},
{
"id": "-51478592",
"id": "762913713",
"method": "messages.sendMedia",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "peer",
"type": "InputPeer"
},
{
"name": "reply_to_msg_id",
"type": "int"
"type": "flags.0?int"
},
{
"name": "media",
@ -5037,10 +5179,10 @@
"type": "long"
}
],
"type": "messages.StatedMessage"
"type": "Updates"
},
{
"id": "-556523451",
"id": "1440838285",
"method": "messages.forwardMessages",
"params": [
{
@ -5056,7 +5198,7 @@
"type": "Vector<long>"
}
],
"type": "messages.StatedMessages"
"type": "Updates"
},
{
"id": "1013621127",
@ -5081,7 +5223,7 @@
"type": "messages.ChatFull"
},
{
"id": "-1262720843",
"id": "-599447467",
"method": "messages.editChatTitle",
"params": [
{
@ -5093,10 +5235,10 @@
"type": "string"
}
],
"type": "messages.StatedMessage"
"type": "Updates"
},
{
"id": "-662601187",
"id": "-900957736",
"method": "messages.editChatPhoto",
"params": [
{
@ -5108,10 +5250,10 @@
"type": "InputChatPhoto"
}
],
"type": "messages.StatedMessage"
"type": "Updates"
},
{
"id": "787082910",
"id": "-106911223",
"method": "messages.addChatUser",
"params": [
{
@ -5127,10 +5269,10 @@
"type": "int"
}
],
"type": "messages.StatedMessage"
"type": "Updates"
},
{
"id": "-1010447069",
"id": "-530505962",
"method": "messages.deleteChatUser",
"params": [
{
@ -5142,10 +5284,10 @@
"type": "InputUser"
}
],
"type": "messages.StatedMessage"
"type": "Updates"
},
{
"id": "1100847854",
"id": "164303470",
"method": "messages.createChat",
"params": [
{
@ -5157,7 +5299,7 @@
"type": "string"
}
],
"type": "messages.StatedMessage"
"type": "Updates"
},
{
"id": "-304838614",
@ -5352,7 +5494,7 @@
"type": "photos.Photos"
},
{
"id": "66319602",
"id": "865483769",
"method": "messages.forwardMessage",
"params": [
{
@ -5368,7 +5510,7 @@
"type": "long"
}
],
"type": "messages.StatedMessage"
"type": "Updates"
},
{
"id": "651135312",
@ -5837,29 +5979,6 @@
"params": [],
"type": "account.Password"
},
{
"id": "-584430193",
"method": "account.setPassword",
"params": [
{
"name": "current_password_hash",
"type": "bytes"
},
{
"name": "new_salt",
"type": "bytes"
},
{
"name": "new_password_hash",
"type": "bytes"
},
{
"name": "hint",
"type": "string"
}
],
"type": "Bool"
},
{
"id": "174260510",
"method": "auth.checkPassword",
@ -5883,13 +6002,17 @@
"type": "contacts.Suggested"
},
{
"id": "1102776690",
"id": "-1082919718",
"method": "messages.sendBroadcast",
"params": [
{
"name": "contacts",
"type": "Vector<InputUser>"
},
{
"name": "random_id",
"type": "Vector<long>"
},
{
"name": "message",
"type": "string"
@ -5899,7 +6022,78 @@
"type": "InputMedia"
}
],
"type": "messages.StatedMessages"
"type": "Updates"
},
{
"id": "623001124",
"method": "messages.getWebPagePreview",
"params": [
{
"name": "message",
"type": "string"
}
],
"type": "MessageMedia"
},
{
"id": "-484392616",
"method": "account.getAuthorizations",
"params": [],
"type": "account.Authorizations"
},
{
"id": "-545786948",
"method": "account.resetAuthorization",
"params": [
{
"name": "hash",
"type": "long"
}
],
"type": "Bool"
},
{
"id": "-1131605573",
"method": "account.getPasswordSettings",
"params": [
{
"name": "current_password_hash",
"type": "bytes"
}
],
"type": "account.PasswordSettings"
},
{
"id": "-92517498",
"method": "account.updatePasswordSettings",
"params": [
{
"name": "current_password_hash",
"type": "bytes"
},
{
"name": "new_settings",
"type": "account.PasswordInputSettings"
}
],
"type": "Bool"
},
{
"id": "-661144474",
"method": "auth.requestPasswordRecovery",
"params": [],
"type": "auth.PasswordRecovery"
},
{
"id": "1319464594",
"method": "auth.recoverPassword",
"params": [
{
"name": "code",
"type": "string"
}
],
"type": "auth.Authorization"
}
]
}

View File

@ -126,9 +126,7 @@ messages.dialogs#15ba6c40 dialogs:Vector<Dialog> messages:Vector<Message> chats:
messages.dialogsSlice#71e094f3 count:int dialogs:Vector<Dialog> messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Dialogs;
messages.messages#8c718e87 messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Messages;
messages.messagesSlice#b446ae3 count:int messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Messages;
messages.statedMessages#7d84b48 messages:Vector<Message> chats:Vector<Chat> users:Vector<User> pts:int pts_count:int = messages.StatedMessages;
messages.statedMessage#96240c6a message:Message chats:Vector<Chat> users:Vector<User> pts:int pts_count:int = messages.StatedMessage;
messages.sentMessage#900eac40 id:int date:int pts:int pts_count:int = messages.SentMessage;
messages.sentMessage#4c3d47f3 id:int date:int media:MessageMedia pts:int pts_count:int = messages.SentMessage;
messages.chats#64ff9fd5 chats:Vector<Chat> = messages.Chats;
messages.chatFull#e5d7d19c full_chat:ChatFull chats:Vector<Chat> users:Vector<User> = messages.ChatFull;
messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory;
@ -162,7 +160,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#2ec2a43c id:int hostname:string ip_address:string port:int = DcOption;
config#3e6f732a date:int expires:int test_mode:Bool this_dc:int dc_options:Vector<DcOption> chat_size_max:int broadcast_size_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 disabled_features:Vector<DisabledFeature> = Config;
config#68bac247 date:int expires:int test_mode:Bool this_dc:int dc_options:Vector<DcOption> chat_size_max:int broadcast_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 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;
@ -171,9 +169,7 @@ inputPeerNotifyEventsEmpty#f03064d8 = InputPeerNotifyEvents;
inputPeerNotifyEventsAll#e86a2c74 = InputPeerNotifyEvents;
photos.photos#8dca6aa5 photos:Vector<Photo> users:Vector<User> = photos.Photos;
photos.photosSlice#15051f54 count:int photos:Vector<Photo> users:Vector<User> = photos.Photos;
messages.statedMessagesLinks#51be5d19 messages:Vector<Message> chats:Vector<Chat> users:Vector<User> pts:int pts_count:int links:Vector<contacts.Link> seq:int = messages.StatedMessages;
messages.statedMessageLink#948a288 message:Message chats:Vector<Chat> users:Vector<User> pts:int pts_count:int links:Vector<contacts.Link> seq:int = messages.StatedMessage;
messages.sentMessageLink#e923400d id:int date:int pts:int pts_count:int links:Vector<contacts.Link> seq:int = messages.SentMessage;
messages.sentMessageLink#35a1a663 id:int date:int media:MessageMedia pts:int pts_count:int links:Vector<contacts.Link> seq:int = messages.SentMessage;
wallPaperSolid#63117f24 id:int title:string bg_color:int color:int = WallPaper;
updateNewEncryptedMessage#12bcbd9a message:EncryptedMessage qts:int = Update;
updateEncryptedChatTyping#1710f156 chat_id:int = Update;
@ -276,8 +272,8 @@ messages.stickers#8a8ecd32 hash:string stickers:Vector<Document> = messages.Stic
stickerPack#12b299d4 emoticon:string documents:Vector<long> = StickerPack;
messages.allStickersNotModified#e86602c3 = messages.AllStickers;
messages.allStickers#dcef3102 hash:string packs:Vector<StickerPack> documents:Vector<Document> = messages.AllStickers;
account.noPassword#5770e7a9 new_salt:bytes = account.Password;
account.password#739e5f72 current_salt:bytes new_salt:bytes hint:string = account.Password;
account.noPassword#96dabc18 new_salt:bytes email_unconfirmed_pattern:string = account.Password;
account.password#7c18141c current_salt:bytes new_salt:bytes hint:string has_recovery:Bool email_unconfirmed_pattern:string = account.Password;
contactSuggested#3de191a1 user_id:int mutual_contacts:int = ContactSuggested;
contacts.suggested#5649dcc5 results:Vector<ContactSuggested> users:Vector<User> = contacts.Suggested;
messages.messageEmpty#3f4e0648 = messages.Message;
@ -288,6 +284,16 @@ contactLinkUnknown#5f4f9247 = ContactLink;
contactLinkNone#feedd3ad = ContactLink;
contactLinkHasPhone#268f3f59 = ContactLink;
contactLinkContact#d502c2d0 = ContactLink;
updateWebPage#2cc36971 webpage:WebPage = Update;
webPageEmpty#eb1477e8 id:long = WebPage;
webPagePending#c586da1c id:long date:int = WebPage;
webPage#a31ea0b5 flags:# id:long url:string display_url:string type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string = WebPage;
messageMediaWebPage#a32dd600 webpage:WebPage = MessageMedia;
authorization#7bf2e6f6 hash:long flags:int device_model:string platform:string system_version:string api_id:int app_name:string app_version:string date_created:int date_active:int ip:string country:string region:string = Authorization;
account.authorizations#1250abde authorizations:Vector<Authorization> = account.Authorizations;
account.passwordSettings#b7b72ab3 email:string = account.PasswordSettings;
account.passwordInputSettings#bcfc532c flags:# new_salt:flags.0?bytes new_password_hash:flags.0?bytes hint:flags.0?string email:flags.1?string = account.PasswordInputSettings;
auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery;
---functions---
invokeAfterMsg#cb9f372d msg_id:long query:!X = X;
invokeAfterMsgs#3dc4b4f0 msg_ids:Vector<long> query:!X = X;
@ -329,16 +335,16 @@ messages.deleteHistory#f4f8fb61 peer:InputPeer offset:int = messages.AffectedHis
messages.deleteMessages#a5f18925 id:Vector<int> = messages.AffectedMessages;
messages.receivedMessages#28abcb68 max_id:int = Vector<int>;
messages.setTyping#a3825e50 peer:InputPeer action:SendMessageAction = Bool;
messages.sendMessage#1ca852a1 peer:InputPeer reply_to_msg_id:int message:string random_id:long = messages.SentMessage;
messages.sendMedia#fcee7fc0 peer:InputPeer reply_to_msg_id:int media:InputMedia random_id:long = messages.StatedMessage;
messages.forwardMessages#ded42045 peer:InputPeer id:Vector<int> random_id:Vector<long> = messages.StatedMessages;
messages.sendMessage#9add8f26 flags:# peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long = messages.SentMessage;
messages.sendMedia#2d7923b1 flags:# peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia random_id:long = Updates;
messages.forwardMessages#55e1728d peer:InputPeer id:Vector<int> random_id:Vector<long> = Updates;
messages.getChats#3c6aa187 id:Vector<int> = messages.Chats;
messages.getFullChat#3b831c66 chat_id:int = messages.ChatFull;
messages.editChatTitle#b4bc68b5 chat_id:int title:string = messages.StatedMessage;
messages.editChatPhoto#d881821d chat_id:int photo:InputChatPhoto = messages.StatedMessage;
messages.addChatUser#2ee9ee9e chat_id:int user_id:InputUser fwd_limit:int = messages.StatedMessage;
messages.deleteChatUser#c3c5cd23 chat_id:int user_id:InputUser = messages.StatedMessage;
messages.createChat#419d9aee users:Vector<InputUser> title:string = messages.StatedMessage;
messages.editChatTitle#dc452855 chat_id:int title:string = Updates;
messages.editChatPhoto#ca4c79d8 chat_id:int photo:InputChatPhoto = Updates;
messages.addChatUser#f9a0aa09 chat_id:int user_id:InputUser fwd_limit:int = Updates;
messages.deleteChatUser#e0611f16 chat_id:int user_id:InputUser = Updates;
messages.createChat#9cb126e users:Vector<InputUser> title:string = Updates;
updates.getState#edd4882a = updates.State;
updates.getDifference#a041495 pts:int date:int qts:int = updates.Difference;
photos.updateProfilePhoto#eef579a0 id:InputPhoto crop:InputPhotoCrop = UserProfilePhoto;
@ -352,7 +358,7 @@ 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;
messages.forwardMessage#3f3f4f2 peer:InputPeer id:int random_id:long = messages.StatedMessage;
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;
messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat;
@ -386,7 +392,13 @@ messages.getStickers#ae22e045 emoticon:string hash:string = messages.Stickers;
messages.getAllStickers#aa3bc868 hash:string = messages.AllStickers;
account.updateDeviceLocked#38df3532 period:int = Bool;
account.getPassword#548a30f5 = account.Password;
account.setPassword#dd2a4d8f current_password_hash:bytes new_salt:bytes new_password_hash:bytes hint:string = Bool;
auth.checkPassword#a63011e password_hash:bytes = auth.Authorization;
contacts.getSuggested#cd773428 limit:int = contacts.Suggested;
messages.sendBroadcast#41bb0972 contacts:Vector<InputUser> message:string media:InputMedia = messages.StatedMessages;
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;
account.getPasswordSettings#bc8d11bb current_password_hash:bytes = account.PasswordSettings;
account.updatePasswordSettings#fa7c4b86 current_password_hash:bytes new_settings:account.PasswordInputSettings = Bool;
auth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery;
auth.recoverPassword#4ea56e92 code:string = auth.Authorization;