From dc0c50c1b69ae3fc8aab432eb8cf2e63e862ad4a Mon Sep 17 00:00:00 2001 From: Enrico Stara Date: Fri, 19 Dec 2014 23:21:40 +0100 Subject: [PATCH] Add the API TL schema --- lib/tl-schema.json | 5870 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 5870 insertions(+) create mode 100644 lib/tl-schema.json diff --git a/lib/tl-schema.json b/lib/tl-schema.json new file mode 100644 index 0000000..95e7a00 --- /dev/null +++ b/lib/tl-schema.json @@ -0,0 +1,5870 @@ +{"constructors": [ + { + "id": "-1132882121", + "predicate": "boolFalse", + "params": [], + "type": "Bool" + }, + { + "id": "-1720552011", + "predicate": "boolTrue", + "params": [], + "type": "Bool" + }, + { + "id": "481674261", + "predicate": "vector", + "params": [], + "type": "Vector t" + }, + { + "id": "-994444869", + "predicate": "error", + "params": [ + { + "name": "code", + "type": "int" + }, + { + "name": "text", + "type": "string" + } + ], + "type": "Error" + }, + { + "id": "1450380236", + "predicate": "null", + "params": [], + "type": "Null" + }, + { + "id": "2134579434", + "predicate": "inputPeerEmpty", + "params": [], + "type": "InputPeer" + }, + { + "id": "2107670217", + "predicate": "inputPeerSelf", + "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", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "InputPeer" + }, + { + "id": "-1182234929", + "predicate": "inputUserEmpty", + "params": [], + "type": "InputUser" + }, + { + "id": "-138301121", + "predicate": "inputUserSelf", + "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", + "params": [ + { + "name": "client_id", + "type": "long" + }, + { + "name": "phone", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "InputContact" + }, + { + "id": "-181407105", + "predicate": "inputFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "md5_checksum", + "type": "string" + } + ], + "type": "InputFile" + }, + { + "id": "-1771768449", + "predicate": "inputMediaEmpty", + "params": [], + "type": "InputMedia" + }, + { + "id": "767900285", + "predicate": "inputMediaUploadedPhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + } + ], + "type": "InputMedia" + }, + { + "id": "-1893027092", + "predicate": "inputMediaPhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + } + ], + "type": "InputMedia" + }, + { + "id": "-104578748", + "predicate": "inputMediaGeoPoint", + "params": [ + { + "name": "geo_point", + "type": "InputGeoPoint" + } + ], + "type": "InputMedia" + }, + { + "id": "-1494984313", + "predicate": "inputMediaContact", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "322623222", + "predicate": "inputMediaUploadedVideo", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-1726817601", + "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" + } + ], + "type": "InputMedia" + }, + { + "id": "2130852582", + "predicate": "inputMediaVideo", + "params": [ + { + "name": "id", + "type": "InputVideo" + } + ], + "type": "InputMedia" + }, + { + "id": "480546647", + "predicate": "inputChatPhotoEmpty", + "params": [], + "type": "InputChatPhoto" + }, + { + "id": "-1809496270", + "predicate": "inputChatUploadedPhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "InputChatPhoto" + }, + { + "id": "-1293828344", + "predicate": "inputChatPhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "InputChatPhoto" + }, + { + "id": "-457104426", + "predicate": "inputGeoPointEmpty", + "params": [], + "type": "InputGeoPoint" + }, + { + "id": "-206066487", + "predicate": "inputGeoPoint", + "params": [ + { + "name": "lat", + "type": "double" + }, + { + "name": "long", + "type": "double" + } + ], + "type": "InputGeoPoint" + }, + { + "id": "483901197", + "predicate": "inputPhotoEmpty", + "params": [], + "type": "InputPhoto" + }, + { + "id": "-74070332", + "predicate": "inputPhoto", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "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", + "params": [ + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "1023632620", + "predicate": "inputVideoFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "-1377390588", + "predicate": "inputPhotoCropAuto", + "params": [], + "type": "InputPhotoCrop" + }, + { + "id": "-644787419", + "predicate": "inputPhotoCrop", + "params": [ + { + "name": "crop_left", + "type": "double" + }, + { + "name": "crop_top", + "type": "double" + }, + { + "name": "crop_width", + "type": "double" + } + ], + "type": "InputPhotoCrop" + }, + { + "id": "1996904104", + "predicate": "inputAppEvent", + "params": [ + { + "name": "time", + "type": "double" + }, + { + "name": "type", + "type": "string" + }, + { + "name": "peer", + "type": "long" + }, + { + "name": "data", + "type": "string" + } + ], + "type": "InputAppEvent" + }, + { + "id": "-1649296275", + "predicate": "peerUser", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "Peer" + }, + { + "id": "-1160714821", + "predicate": "peerChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Peer" + }, + { + "id": "-1432995067", + "predicate": "storage.fileUnknown", + "params": [], + "type": "storage.FileType" + }, + { + "id": "8322574", + "predicate": "storage.fileJpeg", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-891180321", + "predicate": "storage.fileGif", + "params": [], + "type": "storage.FileType" + }, + { + "id": "172975040", + "predicate": "storage.filePng", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-1373745011", + "predicate": "storage.filePdf", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1384777335", + "predicate": "storage.fileMp3", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1258941372", + "predicate": "storage.fileMov", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1086091090", + "predicate": "storage.filePartial", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-1278304028", + "predicate": "storage.fileMp4", + "params": [], + "type": "storage.FileType" + }, + { + "id": "276907596", + "predicate": "storage.fileWebp", + "params": [], + "type": "storage.FileType" + }, + { + "id": "2086234950", + "predicate": "fileLocationUnavailable", + "params": [ + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "FileLocation" + }, + { + "id": "1406570614", + "predicate": "fileLocation", + "params": [ + { + "name": "dc_id", + "type": "int" + }, + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "FileLocation" + }, + { + "id": "537022650", + "predicate": "userEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "User" + }, + { + "id": "1879553105", + "predicate": "userSelf", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + }, + { + "name": "phone", + "type": "string" + }, + { + "name": "photo", + "type": "UserProfilePhoto" + }, + { + "name": "status", + "type": "UserStatus" + }, + { + "name": "inactive", + "type": "Bool" + } + ], + "type": "User" + }, + { + "id": "-894214632", + "predicate": "userContact", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "phone", + "type": "string" + }, + { + "name": "photo", + "type": "UserProfilePhoto" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "User" + }, + { + "id": "-640891665", + "predicate": "userRequest", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "phone", + "type": "string" + }, + { + "name": "photo", + "type": "UserProfilePhoto" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "User" + }, + { + "id": "123533224", + "predicate": "userForeign", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "photo", + "type": "UserProfilePhoto" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "User" + }, + { + "id": "-704549510", + "predicate": "userDeleted", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "1326562017", + "predicate": "userProfilePhotoEmpty", + "params": [], + "type": "UserProfilePhoto" + }, + { + "id": "-715532088", + "predicate": "userProfilePhoto", + "params": [ + { + "name": "photo_id", + "type": "long" + }, + { + "name": "photo_small", + "type": "FileLocation" + }, + { + "name": "photo_big", + "type": "FileLocation" + } + ], + "type": "UserProfilePhoto" + }, + { + "id": "164646985", + "predicate": "userStatusEmpty", + "params": [], + "type": "UserStatus" + }, + { + "id": "-306628279", + "predicate": "userStatusOnline", + "params": [ + { + "name": "expires", + "type": "int" + } + ], + "type": "UserStatus" + }, + { + "id": "9203775", + "predicate": "userStatusOffline", + "params": [ + { + "name": "was_online", + "type": "int" + } + ], + "type": "UserStatus" + }, + { + "id": "-1683826688", + "predicate": "chatEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "Chat" + }, + { + "id": "1855757255", + "predicate": "chat", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "photo", + "type": "ChatPhoto" + }, + { + "name": "participants_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "left", + "type": "Bool" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Chat" + }, + { + "id": "-83047359", + "predicate": "chatForbidden", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Chat" + }, + { + "id": "1661886910", + "predicate": "chatFull", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "participants", + "type": "ChatParticipants" + }, + { + "name": "chat_photo", + "type": "Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + } + ], + "type": "ChatFull" + }, + { + "id": "-925415106", + "predicate": "chatParticipant", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChatParticipant" + }, + { + "id": "265468810", + "predicate": "chatParticipantsForbidden", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "ChatParticipants" + }, + { + "id": "2017571861", + "predicate": "chatParticipants", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participants", + "type": "Vector" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "ChatParticipants" + }, + { + "id": "935395612", + "predicate": "chatPhotoEmpty", + "params": [], + "type": "ChatPhoto" + }, + { + "id": "1632839530", + "predicate": "chatPhoto", + "params": [ + { + "name": "photo_small", + "type": "FileLocation" + }, + { + "name": "photo_big", + "type": "FileLocation" + } + ], + "type": "ChatPhoto" + }, + { + "id": "-2082087340", + "predicate": "messageEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "Message" + }, + { + "id": "1450613171", + "predicate": "message", + "params": [ + { + "name": "flags", + "type": "int" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "to_id", + "type": "Peer" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "MessageMedia" + } + ], + "type": "Message" + }, + { + "id": "-1553471722", + "predicate": "messageForwarded", + "params": [ + { + "name": "flags", + "type": "int" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "fwd_from_id", + "type": "int" + }, + { + "name": "fwd_date", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "to_id", + "type": "Peer" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "MessageMedia" + } + ], + "type": "Message" + }, + { + "id": "495384334", + "predicate": "messageService", + "params": [ + { + "name": "flags", + "type": "int" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "to_id", + "type": "Peer" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "action", + "type": "MessageAction" + } + ], + "type": "Message" + }, + { + "id": "1038967584", + "predicate": "messageMediaEmpty", + "params": [], + "type": "MessageMedia" + }, + { + "id": "-926655958", + "predicate": "messageMediaPhoto", + "params": [ + { + "name": "photo", + "type": "Photo" + } + ], + "type": "MessageMedia" + }, + { + "id": "-1563278704", + "predicate": "messageMediaVideo", + "params": [ + { + "name": "video", + "type": "Video" + } + ], + "type": "MessageMedia" + }, + { + "id": "1457575028", + "predicate": "messageMediaGeo", + "params": [ + { + "name": "geo", + "type": "GeoPoint" + } + ], + "type": "MessageMedia" + }, + { + "id": "1585262393", + "predicate": "messageMediaContact", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageMedia" + }, + { + "id": "694364726", + "predicate": "messageMediaUnsupported", + "params": [ + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "MessageMedia" + }, + { + "id": "-1230047312", + "predicate": "messageActionEmpty", + "params": [], + "type": "MessageAction" + }, + { + "id": "-1503425638", + "predicate": "messageActionChatCreate", + "params": [ + { + "name": "title", + "type": "string" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "MessageAction" + }, + { + "id": "-1247687078", + "predicate": "messageActionChatEditTitle", + "params": [ + { + "name": "title", + "type": "string" + } + ], + "type": "MessageAction" + }, + { + "id": "2144015272", + "predicate": "messageActionChatEditPhoto", + "params": [ + { + "name": "photo", + "type": "Photo" + } + ], + "type": "MessageAction" + }, + { + "id": "-1780220945", + "predicate": "messageActionChatDeletePhoto", + "params": [], + "type": "MessageAction" + }, + { + "id": "1581055051", + "predicate": "messageActionChatAddUser", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "-1297179892", + "predicate": "messageActionChatDeleteUser", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "-1422222932", + "predicate": "dialog", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "top_message", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + } + ], + "type": "Dialog" + }, + { + "id": "590459437", + "predicate": "photoEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Photo" + }, + { + "id": "582313809", + "predicate": "photo", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "caption", + "type": "string" + }, + { + "name": "geo", + "type": "GeoPoint" + }, + { + "name": "sizes", + "type": "Vector" + } + ], + "type": "Photo" + }, + { + "id": "236446268", + "predicate": "photoSizeEmpty", + "params": [ + { + "name": "type", + "type": "string" + } + ], + "type": "PhotoSize" + }, + { + "id": "2009052699", + "predicate": "photoSize", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "location", + "type": "FileLocation" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "size", + "type": "int" + } + ], + "type": "PhotoSize" + }, + { + "id": "-374917894", + "predicate": "photoCachedSize", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "location", + "type": "FileLocation" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "PhotoSize" + }, + { + "id": "-1056548696", + "predicate": "videoEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Video" + }, + { + "id": "948937617", + "predicate": "video", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "caption", + "type": "string" + }, + { + "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", + "params": [], + "type": "GeoPoint" + }, + { + "id": "541710092", + "predicate": "geoPoint", + "params": [ + { + "name": "long", + "type": "double" + }, + { + "name": "lat", + "type": "double" + } + ], + "type": "GeoPoint" + }, + { + "id": "-486486981", + "predicate": "auth.checkedPhone", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + }, + { + "name": "phone_invited", + "type": "Bool" + } + ], + "type": "auth.CheckedPhone" + }, + { + "id": "-269659687", + "predicate": "auth.sentCode", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "send_call_timeout", + "type": "int" + }, + { + "name": "is_password", + "type": "Bool" + } + ], + "type": "auth.SentCode" + }, + { + "id": "-155815004", + "predicate": "auth.authorization", + "params": [ + { + "name": "expires", + "type": "int" + }, + { + "name": "user", + "type": "User" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-543777747", + "predicate": "auth.exportedAuthorization", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "auth.ExportedAuthorization" + }, + { + "id": "-1195615476", + "predicate": "inputNotifyPeer", + "params": [ + { + "name": "peer", + "type": "InputPeer" + } + ], + "type": "InputNotifyPeer" + }, + { + "id": "423314455", + "predicate": "inputNotifyUsers", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "1251338318", + "predicate": "inputNotifyChats", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "-1540769658", + "predicate": "inputNotifyAll", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "-265263912", + "predicate": "inputPeerNotifyEventsEmpty", + "params": [], + "type": "InputPeerNotifyEvents" + }, + { + "id": "-395694988", + "predicate": "inputPeerNotifyEventsAll", + "params": [], + "type": "InputPeerNotifyEvents" + }, + { + "id": "1185074840", + "predicate": "inputPeerNotifySettings", + "params": [ + { + "name": "mute_until", + "type": "int" + }, + { + "name": "sound", + "type": "string" + }, + { + "name": "show_previews", + "type": "Bool" + }, + { + "name": "events_mask", + "type": "int" + } + ], + "type": "InputPeerNotifySettings" + }, + { + "id": "-1378534221", + "predicate": "peerNotifyEventsEmpty", + "params": [], + "type": "PeerNotifyEvents" + }, + { + "id": "1830677896", + "predicate": "peerNotifyEventsAll", + "params": [], + "type": "PeerNotifyEvents" + }, + { + "id": "1889961234", + "predicate": "peerNotifySettingsEmpty", + "params": [], + "type": "PeerNotifySettings" + }, + { + "id": "-1923214866", + "predicate": "peerNotifySettings", + "params": [ + { + "name": "mute_until", + "type": "int" + }, + { + "name": "sound", + "type": "string" + }, + { + "name": "show_previews", + "type": "Bool" + }, + { + "name": "events_mask", + "type": "int" + } + ], + "type": "PeerNotifySettings" + }, + { + "id": "1089848634", + "predicate": "globalPrivacySettings", + "params": [ + { + "name": "no_suggestions", + "type": "Bool" + }, + { + "name": "hide_contacts", + "type": "Bool" + }, + { + "name": "hide_located", + "type": "Bool" + }, + { + "name": "hide_last_visit", + "type": "Bool" + } + ], + "type": "GlobalPrivacySettings" + }, + { + "id": "-860866985", + "predicate": "wallPaper", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "sizes", + "type": "Vector" + }, + { + "name": "color", + "type": "int" + } + ], + "type": "WallPaper" + }, + { + "id": "1997575642", + "predicate": "userFull", + "params": [ + { + "name": "user", + "type": "User" + }, + { + "name": "link", + "type": "contacts.Link" + }, + { + "name": "profile_photo", + "type": "Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "blocked", + "type": "Bool" + }, + { + "name": "real_first_name", + "type": "string" + }, + { + "name": "real_last_name", + "type": "string" + } + ], + "type": "UserFull" + }, + { + "id": "-116274796", + "predicate": "contact", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "mutual", + "type": "Bool" + } + ], + "type": "Contact" + }, + { + "id": "-805141448", + "predicate": "importedContact", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "client_id", + "type": "long" + } + ], + "type": "ImportedContact" + }, + { + "id": "1444661369", + "predicate": "contactBlocked", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ContactBlocked" + }, + { + "id": "1038193057", + "predicate": "contactSuggested", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "mutual_contacts", + "type": "int" + } + ], + "type": "ContactSuggested" + }, + { + "id": "-1434994573", + "predicate": "contactStatus", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "expires", + "type": "int" + } + ], + "type": "ContactStatus" + }, + { + "id": "909233996", + "predicate": "chatLocated", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "distance", + "type": "int" + } + ], + "type": "ChatLocated" + }, + { + "id": "322183672", + "predicate": "contacts.foreignLinkUnknown", + "params": [], + "type": "contacts.ForeignLink" + }, + { + "id": "-1484775609", + "predicate": "contacts.foreignLinkRequested", + "params": [ + { + "name": "has_phone", + "type": "Bool" + } + ], + "type": "contacts.ForeignLink" + }, + { + "id": "468356321", + "predicate": "contacts.foreignLinkMutual", + "params": [], + "type": "contacts.ForeignLink" + }, + { + "id": "-768992160", + "predicate": "contacts.myLinkEmpty", + "params": [], + "type": "contacts.MyLink" + }, + { + "id": "1818882030", + "predicate": "contacts.myLinkRequested", + "params": [ + { + "name": "contact", + "type": "Bool" + } + ], + "type": "contacts.MyLink" + }, + { + "id": "-1035932711", + "predicate": "contacts.myLinkContact", + "params": [], + "type": "contacts.MyLink" + }, + { + "id": "-322001931", + "predicate": "contacts.link", + "params": [ + { + "name": "my_link", + "type": "contacts.MyLink" + }, + { + "name": "foreign_link", + "type": "contacts.ForeignLink" + }, + { + "name": "user", + "type": "User" + } + ], + "type": "contacts.Link" + }, + { + "id": "-1219778094", + "predicate": "contacts.contactsNotModified", + "params": [], + "type": "contacts.Contacts" + }, + { + "id": "1871416498", + "predicate": "contacts.contacts", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Contacts" + }, + { + "id": "-1387117803", + "predicate": "contacts.importedContacts", + "params": [ + { + "name": "imported", + "type": "Vector" + }, + { + "name": "retry_contacts", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.ImportedContacts" + }, + { + "id": "471043349", + "predicate": "contacts.blocked", + "params": [ + { + "name": "blocked", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "-1878523231", + "predicate": "contacts.blockedSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "blocked", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "1447681221", + "predicate": "contacts.suggested", + "params": [ + { + "name": "results", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Suggested" + }, + { + "id": "364538944", + "predicate": "messages.dialogs", + "params": [ + { + "name": "dialogs", + "type": "Vector" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "1910543603", + "predicate": "messages.dialogsSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "dialogs", + "type": "Vector" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "-1938715001", + "predicate": "messages.messages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "189033187", + "predicate": "messages.messagesSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "1062078024", + "predicate": "messages.messageEmpty", + "params": [], + "type": "messages.Message" + }, + { + "id": "-7289833", + "predicate": "messages.message", + "params": [ + { + "name": "message", + "type": "Message" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Message" + }, + { + "id": "-1768654661", + "predicate": "messages.statedMessages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "messages.StatedMessages" + }, + { + "id": "-797251802", + "predicate": "messages.statedMessage", + "params": [ + { + "name": "message", + "type": "Message" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "messages.StatedMessage" + }, + { + "id": "-772484260", + "predicate": "messages.sentMessage", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "messages.SentMessage" + }, + { + "id": "1089011754", + "predicate": "messages.chat", + "params": [ + { + "name": "chat", + "type": "Chat" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Chat" + }, + { + "id": "-2125411368", + "predicate": "messages.chats", + "params": [ + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Chats" + }, + { + "id": "-438840932", + "predicate": "messages.chatFull", + "params": [ + { + "name": "full_chat", + "type": "ChatFull" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "-1210173710", + "predicate": "messages.affectedHistory", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "seq", + "type": "int" + }, + { + "name": "offset", + "type": "int" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "1474492012", + "predicate": "inputMessagesFilterEmpty", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1777752804", + "predicate": "inputMessagesFilterPhotos", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1614803355", + "predicate": "inputMessagesFilterVideo", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "1458172132", + "predicate": "inputMessagesFilterPhotoVideo", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1629621880", + "predicate": "inputMessagesFilterDocument", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-808946398", + "predicate": "inputMessagesFilterAudio", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "20626867", + "predicate": "updateNewMessage", + "params": [ + { + "name": "message", + "type": "Message" + }, + { + "name": "pts", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1318109142", + "predicate": "updateMessageID", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "Update" + }, + { + "id": "-966484431", + "predicate": "updateReadMessages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1456734682", + "predicate": "updateDeleteMessages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-782376883", + "predicate": "updateRestoreMessages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1548249383", + "predicate": "updateUserTyping", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Update" + }, + { + "id": "-1704596961", + "predicate": "updateChatUserTyping", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Update" + }, + { + "id": "125178264", + "predicate": "updateChatParticipants", + "params": [ + { + "name": "participants", + "type": "ChatParticipants" + } + ], + "type": "Update" + }, + { + "id": "469489699", + "predicate": "updateUserStatus", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "Update" + }, + { + "id": "-1489818765", + "predicate": "updateUserName", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "-1791935732", + "predicate": "updateUserPhoto", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "photo", + "type": "UserProfilePhoto" + }, + { + "name": "previous", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "628472761", + "predicate": "updateContactRegistered", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1369737882", + "predicate": "updateContactLink", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "my_link", + "type": "contacts.MyLink" + }, + { + "name": "foreign_link", + "type": "contacts.ForeignLink" + } + ], + "type": "Update" + }, + { + "id": "1869154659", + "predicate": "updateActivation", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1895411046", + "predicate": "updateNewAuthorization", + "params": [ + { + "name": "auth_key_id", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "device", + "type": "string" + }, + { + "name": "location", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "-1519637954", + "predicate": "updates.state", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "qts", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + } + ], + "type": "updates.State" + }, + { + "id": "1567990072", + "predicate": "updates.differenceEmpty", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "updates.Difference" + }, + { + "id": "16030880", + "predicate": "updates.difference", + "params": [ + { + "name": "new_messages", + "type": "Vector" + }, + { + "name": "new_encrypted_messages", + "type": "Vector" + }, + { + "name": "other_updates", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "state", + "type": "updates.State" + } + ], + "type": "updates.Difference" + }, + { + "id": "-1459938943", + "predicate": "updates.differenceSlice", + "params": [ + { + "name": "new_messages", + "type": "Vector" + }, + { + "name": "new_encrypted_messages", + "type": "Vector" + }, + { + "name": "other_updates", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "intermediate_state", + "type": "updates.State" + } + ], + "type": "updates.Difference" + }, + { + "id": "-484987010", + "predicate": "updatesTooLong", + "params": [], + "type": "Updates" + }, + { + "id": "-738961532", + "predicate": "updateShortMessage", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "724548942", + "predicate": "updateShortChatMessage", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "2027216577", + "predicate": "updateShort", + "params": [ + { + "name": "update", + "type": "Update" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "1918567619", + "predicate": "updatesCombined", + "params": [ + { + "name": "updates", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq_start", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "1957577280", + "predicate": "updates", + "params": [ + { + "name": "updates", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "-1916114267", + "predicate": "photos.photos", + "params": [ + { + "name": "photos", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photos" + }, + { + "id": "352657236", + "predicate": "photos.photosSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "photos", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photos" + }, + { + "id": "539045032", + "predicate": "photos.photo", + "params": [ + { + "name": "photo", + "type": "Photo" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photo" + }, + { + "id": "157948117", + "predicate": "upload.file", + "params": [ + { + "name": "type", + "type": "storage.FileType" + }, + { + "name": "mtime", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "upload.File" + }, + { + "id": "784507964", + "predicate": "dcOption", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "hostname", + "type": "string" + }, + { + "name": "ip_address", + "type": "string" + }, + { + "name": "port", + "type": "int" + } + ], + "type": "DcOption" + }, + { + "id": "777313652", + "predicate": "config", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "test_mode", + "type": "Bool" + }, + { + "name": "this_dc", + "type": "int" + }, + { + "name": "dc_options", + "type": "Vector" + }, + { + "name": "chat_size_max", + "type": "int" + }, + { + "name": "broadcast_size_max", + "type": "int" + } + ], + "type": "Config" + }, + { + "id": "-1910892683", + "predicate": "nearestDc", + "params": [ + { + "name": "country", + "type": "string" + }, + { + "name": "this_dc", + "type": "int" + }, + { + "name": "nearest_dc", + "type": "int" + } + ], + "type": "NearestDc" + }, + { + "id": "-1987579119", + "predicate": "help.appUpdate", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "critical", + "type": "Bool" + }, + { + "name": "url", + "type": "string" + }, + { + "name": "text", + "type": "string" + } + ], + "type": "help.AppUpdate" + }, + { + "id": "-1000708810", + "predicate": "help.noAppUpdate", + "params": [], + "type": "help.AppUpdate" + }, + { + "id": "415997816", + "predicate": "help.inviteText", + "params": [ + { + "name": "message", + "type": "string" + } + ], + "type": "help.InviteText" + }, + { + "id": "1047852486", + "predicate": "messages.statedMessagesLinks", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "links", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "messages.StatedMessages" + }, + { + "id": "-1448138623", + "predicate": "messages.statedMessageLink", + "params": [ + { + "name": "message", + "type": "Message" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "links", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "messages.StatedMessage" + }, + { + "id": "-371504577", + "predicate": "messages.sentMessageLink", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "seq", + "type": "int" + }, + { + "name": "links", + "type": "Vector" + } + ], + "type": "messages.SentMessage" + }, + { + "id": "1960072954", + "predicate": "inputGeoChat", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputGeoChat" + }, + { + "id": "1301143240", + "predicate": "inputNotifyGeoChatPeer", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + } + ], + "type": "InputNotifyPeer" + }, + { + "id": "1978329690", + "predicate": "geoChat", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "address", + "type": "string" + }, + { + "name": "venue", + "type": "string" + }, + { + "name": "geo", + "type": "GeoPoint" + }, + { + "name": "photo", + "type": "ChatPhoto" + }, + { + "name": "participants_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "checked_in", + "type": "Bool" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Chat" + }, + { + "id": "1613830811", + "predicate": "geoChatMessageEmpty", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "id", + "type": "int" + } + ], + "type": "GeoChatMessage" + }, + { + "id": "1158019297", + "predicate": "geoChatMessage", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "MessageMedia" + } + ], + "type": "GeoChatMessage" + }, + { + "id": "-749755826", + "predicate": "geoChatMessageService", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "action", + "type": "MessageAction" + } + ], + "type": "GeoChatMessage" + }, + { + "id": "397498251", + "predicate": "geochats.statedMessage", + "params": [ + { + "name": "message", + "type": "GeoChatMessage" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "geochats.StatedMessage" + }, + { + "id": "1224651367", + "predicate": "geochats.located", + "params": [ + { + "name": "results", + "type": "Vector" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "geochats.Located" + }, + { + "id": "-783127119", + "predicate": "geochats.messages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "geochats.Messages" + }, + { + "id": "-1135057944", + "predicate": "geochats.messagesSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "geochats.Messages" + }, + { + "id": "1862504124", + "predicate": "messageActionGeoChatCreate", + "params": [ + { + "name": "title", + "type": "string" + }, + { + "name": "address", + "type": "string" + } + ], + "type": "MessageAction" + }, + { + "id": "209540062", + "predicate": "messageActionGeoChatCheckin", + "params": [], + "type": "MessageAction" + }, + { + "id": "1516823543", + "predicate": "updateNewGeoChatMessage", + "params": [ + { + "name": "message", + "type": "GeoChatMessage" + } + ], + "type": "Update" + }, + { + "id": "1662091044", + "predicate": "wallPaperSolid", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "bg_color", + "type": "int" + }, + { + "name": "color", + "type": "int" + } + ], + "type": "WallPaper" + }, + { + "id": "314359194", + "predicate": "updateNewEncryptedMessage", + "params": [ + { + "name": "message", + "type": "EncryptedMessage" + }, + { + "name": "qts", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "386986326", + "predicate": "updateEncryptedChatTyping", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1264392051", + "predicate": "updateEncryption", + "params": [ + { + "name": "chat", + "type": "EncryptedChat" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "956179895", + "predicate": "updateEncryptedMessagesRead", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "max_date", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1417756512", + "predicate": "encryptedChatEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "1006044124", + "predicate": "encryptedChatWaiting", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-931638658", + "predicate": "encryptedChatRequested", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + }, + { + "name": "g_a", + "type": "bytes" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-94974410", + "predicate": "encryptedChat", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + }, + { + "name": "g_a_or_b", + "type": "bytes" + }, + { + "name": "key_fingerprint", + "type": "long" + } + ], + "type": "EncryptedChat" + }, + { + "id": "332848423", + "predicate": "encryptedChatDiscarded", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-247351839", + "predicate": "inputEncryptedChat", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputEncryptedChat" + }, + { + "id": "-1038136962", + "predicate": "encryptedFileEmpty", + "params": [], + "type": "EncryptedFile" + }, + { + "id": "1248893260", + "predicate": "encryptedFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "dc_id", + "type": "int" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "EncryptedFile" + }, + { + "id": "406307684", + "predicate": "inputEncryptedFileEmpty", + "params": [], + "type": "InputEncryptedFile" + }, + { + "id": "1690108678", + "predicate": "inputEncryptedFileUploaded", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "md5_checksum", + "type": "string" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "1511503333", + "predicate": "inputEncryptedFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "-182231723", + "predicate": "inputEncryptedFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "-317144808", + "predicate": "encryptedMessage", + "params": [ + { + "name": "random_id", + "type": "long" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + }, + { + "name": "file", + "type": "EncryptedFile" + } + ], + "type": "EncryptedMessage" + }, + { + "id": "594758406", + "predicate": "encryptedMessageService", + "params": [ + { + "name": "random_id", + "type": "long" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "EncryptedMessage" + }, + { + "id": "-1058912715", + "predicate": "messages.dhConfigNotModified", + "params": [ + { + "name": "random", + "type": "bytes" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "740433629", + "predicate": "messages.dhConfig", + "params": [ + { + "name": "g", + "type": "int" + }, + { + "name": "p", + "type": "bytes" + }, + { + "name": "version", + "type": "int" + }, + { + "name": "random", + "type": "bytes" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "1443858741", + "predicate": "messages.sentEncryptedMessage", + "params": [ + { + "name": "date", + "type": "int" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-1802240206", + "predicate": "messages.sentEncryptedFile", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "file", + "type": "EncryptedFile" + } + ], + "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" + }, + { + "id": "974056226", + "predicate": "updateChatParticipantAdd", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1851755554", + "predicate": "updateChatParticipantDelete", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1906403213", + "predicate": "updateDcOptions", + "params": [ + { + "name": "dc_options", + "type": "Vector" + } + ], + "type": "Update" + }, + { + "id": "1313442987", + "predicate": "inputMediaUploadedAudio", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-1986820223", + "predicate": "inputMediaAudio", + "params": [ + { + "name": "id", + "type": "InputAudio" + } + ], + "type": "InputMedia" + }, + { + "id": "887592125", + "predicate": "inputMediaUploadedDocument", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "file_name", + "type": "string" + }, + { + "name": "mime_type", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "1044831837", + "predicate": "inputMediaUploadedThumbDocument", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "thumb", + "type": "InputFile" + }, + { + "name": "file_name", + "type": "string" + }, + { + "name": "mime_type", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-779818943", + "predicate": "inputMediaDocument", + "params": [ + { + "name": "id", + "type": "InputDocument" + } + ], + "type": "InputMedia" + }, + { + "id": "802824708", + "predicate": "messageMediaDocument", + "params": [ + { + "name": "document", + "type": "Document" + } + ], + "type": "MessageMedia" + }, + { + "id": "-961117440", + "predicate": "messageMediaAudio", + "params": [ + { + "name": "audio", + "type": "Audio" + } + ], + "type": "MessageMedia" + }, + { + "id": "-648356732", + "predicate": "inputAudioEmpty", + "params": [], + "type": "InputAudio" + }, + { + "id": "2010398975", + "predicate": "inputAudio", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputAudio" + }, + { + "id": "1928391342", + "predicate": "inputDocumentEmpty", + "params": [], + "type": "InputDocument" + }, + { + "id": "410618194", + "predicate": "inputDocument", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputDocument" + }, + { + "id": "1960591437", + "predicate": "inputAudioFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "1313188841", + "predicate": "inputDocumentFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "1483311320", + "predicate": "audioEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Audio" + }, + { + "id": "-945003370", + "predicate": "audio", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "user_id", + "type": "int" + }, + { + "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": "922273905", + "predicate": "documentEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Document" + }, + { + "id": "-1627626714", + "predicate": "document", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "file_name", + "type": "string" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "thumb", + "type": "PhotoSize" + }, + { + "name": "dc_id", + "type": "int" + } + ], + "type": "Document" + }, + { + "id": "398898678", + "predicate": "help.support", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "user", + "type": "User" + } + ], + "type": "help.Support" + }, + { + "id": "-1613493288", + "predicate": "notifyPeer", + "params": [ + { + "name": "peer", + "type": "Peer" + } + ], + "type": "NotifyPeer" + }, + { + "id": "-1261946036", + "predicate": "notifyUsers", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "-1073230141", + "predicate": "notifyChats", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "1959820384", + "predicate": "notifyAll", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "-2131957734", + "predicate": "updateUserBlocked", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "blocked", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "-1094555409", + "predicate": "updateNotifySettings", + "params": [ + { + "name": "peer", + "type": "NotifyPeer" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + } + ], + "type": "Update" + }, + { + "id": "-484053553", + "predicate": "auth.sentAppCode", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "send_call_timeout", + "type": "int" + }, + { + "name": "is_password", + "type": "Bool" + } + ], + "type": "auth.SentCode" + }, + { + "id": "381645902", + "predicate": "sendMessageTypingAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-44119819", + "predicate": "sendMessageCancelAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-1584933265", + "predicate": "sendMessageRecordVideoAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-1845219337", + "predicate": "sendMessageUploadVideoAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-718310409", + "predicate": "sendMessageRecordAudioAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-424899985", + "predicate": "sendMessageUploadAudioAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-1727382502", + "predicate": "sendMessageUploadPhotoAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-1884362354", + "predicate": "sendMessageUploadDocumentAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "393186209", + "predicate": "sendMessageGeoLocationAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "1653390447", + "predicate": "sendMessageChooseContactAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-360210539", + "predicate": "contactFound", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "ContactFound" + }, + { + "id": "90570766", + "predicate": "contacts.found", + "params": [ + { + "name": "results", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Found" + }, + { + "id": "942527460", + "predicate": "updateServiceNotification", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "MessageMedia" + }, + { + "name": "popup", + "type": "Bool" + } + ], + "type": "Update" + } +], "methods": [ + { + "id": "-878758099", + "method": "invokeAfterMsg", + "params": [ + { + "name": "msg_id", + "type": "long" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "1036301552", + "method": "invokeAfterMsgs", + "params": [ + { + "name": "msg_ids", + "type": "Vector" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "1877286395", + "method": "auth.checkPhone", + "params": [ + { + "name": "phone_number", + "type": "string" + } + ], + "type": "auth.CheckedPhone" + }, + { + "id": "1988976461", + "method": "auth.sendCode", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "sms_type", + "type": "int" + }, + { + "name": "api_id", + "type": "int" + }, + { + "name": "api_hash", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "auth.SentCode" + }, + { + "id": "63247716", + "method": "auth.sendCall", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "453408308", + "method": "auth.signUp", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-1126886015", + "method": "auth.signIn", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "1461180992", + "method": "auth.logOut", + "params": [], + "type": "Bool" + }, + { + "id": "-1616179942", + "method": "auth.resetAuthorizations", + "params": [], + "type": "Bool" + }, + { + "id": "1998331287", + "method": "auth.sendInvites", + "params": [ + { + "name": "phone_numbers", + "type": "Vector" + }, + { + "name": "message", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "-440401971", + "method": "auth.exportAuthorization", + "params": [ + { + "name": "dc_id", + "type": "int" + } + ], + "type": "auth.ExportedAuthorization" + }, + { + "id": "-470837741", + "method": "auth.importAuthorization", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-841733627", + "method": "auth.bindTempAuthKey", + "params": [ + { + "name": "perm_auth_key_id", + "type": "long" + }, + { + "name": "nonce", + "type": "long" + }, + { + "name": "expires_at", + "type": "int" + }, + { + "name": "encrypted_message", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "1147957548", + "method": "account.registerDevice", + "params": [ + { + "name": "token_type", + "type": "int" + }, + { + "name": "token", + "type": "string" + }, + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "app_sandbox", + "type": "Bool" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "1707432768", + "method": "account.unregisterDevice", + "params": [ + { + "name": "token_type", + "type": "int" + }, + { + "name": "token", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "-2067899501", + "method": "account.updateNotifySettings", + "params": [ + { + "name": "peer", + "type": "InputNotifyPeer" + }, + { + "name": "settings", + "type": "InputPeerNotifySettings" + } + ], + "type": "Bool" + }, + { + "id": "313765169", + "method": "account.getNotifySettings", + "params": [ + { + "name": "peer", + "type": "InputNotifyPeer" + } + ], + "type": "PeerNotifySettings" + }, + { + "id": "-612493497", + "method": "account.resetNotifySettings", + "params": [], + "type": "Bool" + }, + { + "id": "-259486360", + "method": "account.updateProfile", + "params": [ + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "1713919532", + "method": "account.updateStatus", + "params": [ + { + "name": "offline", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "-1068696894", + "method": "account.getWallPapers", + "params": [], + "type": "Vector" + }, + { + "id": "227648840", + "method": "users.getUsers", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Vector" + }, + { + "id": "-902781519", + "method": "users.getFullUser", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "UserFull" + }, + { + "id": "-995929106", + "method": "contacts.getStatuses", + "params": [], + "type": "Vector" + }, + { + "id": "583445000", + "method": "contacts.getContacts", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "contacts.Contacts" + }, + { + "id": "-634342611", + "method": "contacts.importContacts", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "replace", + "type": "Bool" + } + ], + "type": "contacts.ImportedContacts" + }, + { + "id": "-847825880", + "method": "contacts.getSuggested", + "params": [ + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Suggested" + }, + { + "id": "-1902823612", + "method": "contacts.deleteContact", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "contacts.Link" + }, + { + "id": "1504393374", + "method": "contacts.deleteContacts", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "858475004", + "method": "contacts.block", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "Bool" + }, + { + "id": "-448724803", + "method": "contacts.unblock", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "Bool" + }, + { + "id": "-176409329", + "method": "contacts.getBlocked", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "-2065352905", + "method": "contacts.exportCard", + "params": [], + "type": "Vector" + }, + { + "id": "1340184318", + "method": "contacts.importCard", + "params": [ + { + "name": "export_card", + "type": "Vector" + } + ], + "type": "User" + }, + { + "id": "1109588596", + "method": "messages.getMessages", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "-321970698", + "method": "messages.getDialogs", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "-1834885329", + "method": "messages.getHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "132772523", + "method": "messages.search", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "q", + "type": "string" + }, + { + "name": "filter", + "type": "MessagesFilter" + }, + { + "name": "min_date", + "type": "int" + }, + { + "name": "max_date", + "type": "int" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "-287800122", + "method": "messages.readHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "read_contents", + "type": "Bool" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "-185009311", + "method": "messages.deleteHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "offset", + "type": "int" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "351460618", + "method": "messages.deleteMessages", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Vector" + }, + { + "id": "962567550", + "method": "messages.restoreMessages", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Vector" + }, + { + "id": "682347368", + "method": "messages.receivedMessages", + "params": [ + { + "name": "max_id", + "type": "int" + } + ], + "type": "Vector" + }, + { + "id": "-1551737264", + "method": "messages.setTyping", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Bool" + }, + { + "id": "1289620139", + "method": "messages.sendMessage", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "messages.SentMessage" + }, + { + "id": "-1547149962", + "method": "messages.sendMedia", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "media", + "type": "InputMedia" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "messages.StatedMessage" + }, + { + "id": "1363988751", + "method": "messages.forwardMessages", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.StatedMessages" + }, + { + "id": "1013621127", + "method": "messages.getChats", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Chats" + }, + { + "id": "998448230", + "method": "messages.getFullChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "-1262720843", + "method": "messages.editChatTitle", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "messages.StatedMessage" + }, + { + "id": "-662601187", + "method": "messages.editChatPhoto", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "photo", + "type": "InputChatPhoto" + } + ], + "type": "messages.StatedMessage" + }, + { + "id": "787082910", + "method": "messages.addChatUser", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "fwd_limit", + "type": "int" + } + ], + "type": "messages.StatedMessage" + }, + { + "id": "-1010447069", + "method": "messages.deleteChatUser", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "InputUser" + } + ], + "type": "messages.StatedMessage" + }, + { + "id": "1100847854", + "method": "messages.createChat", + "params": [ + { + "name": "users", + "type": "Vector" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "messages.StatedMessage" + }, + { + "id": "-304838614", + "method": "updates.getState", + "params": [], + "type": "updates.State" + }, + { + "id": "168039573", + "method": "updates.getDifference", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "qts", + "type": "int" + } + ], + "type": "updates.Difference" + }, + { + "id": "-285902432", + "method": "photos.updateProfilePhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "UserProfilePhoto" + }, + { + "id": "-720397176", + "method": "photos.uploadProfilePhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "caption", + "type": "string" + }, + { + "name": "geo_point", + "type": "InputGeoPoint" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "photos.Photo" + }, + { + "id": "-2016444625", + "method": "photos.deletePhotos", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Vector" + }, + { + "id": "-1291540959", + "method": "upload.saveFilePart", + "params": [ + { + "name": "file_id", + "type": "long" + }, + { + "name": "file_part", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "-475607115", + "method": "upload.getFile", + "params": [ + { + "name": "location", + "type": "InputFileLocation" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "upload.File" + }, + { + "id": "-990308245", + "method": "help.getConfig", + "params": [], + "type": "Config" + }, + { + "id": "531836966", + "method": "help.getNearestDc", + "params": [], + "type": "NearestDc" + }, + { + "id": "-938300290", + "method": "help.getAppUpdate", + "params": [ + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "help.AppUpdate" + }, + { + "id": "1862465352", + "method": "help.saveAppLog", + "params": [ + { + "name": "events", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "-1532407418", + "method": "help.getInviteText", + "params": [ + { + "name": "lang_code", + "type": "string" + } + ], + "type": "help.InviteText" + }, + { + "id": "-1209117380", + "method": "photos.getUserPhotos", + "params": [ + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "photos.Photos" + }, + { + "id": "66319602", + "method": "messages.forwardMessage", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "messages.StatedMessage" + }, + { + "id": "1102776690", + "method": "messages.sendBroadcast", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "InputMedia" + } + ], + "type": "messages.StatedMessages" + }, + { + "id": "2132356495", + "method": "geochats.getLocated", + "params": [ + { + "name": "geo_point", + "type": "InputGeoPoint" + }, + { + "name": "radius", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "geochats.Located" + }, + { + "id": "-515735953", + "method": "geochats.getRecents", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "geochats.Messages" + }, + { + "id": "1437853947", + "method": "geochats.checkin", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + } + ], + "type": "geochats.StatedMessage" + }, + { + "id": "1730338159", + "method": "geochats.getFullChat", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "1284383347", + "method": "geochats.editChatTitle", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "address", + "type": "string" + } + ], + "type": "geochats.StatedMessage" + }, + { + "id": "903355029", + "method": "geochats.editChatPhoto", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + }, + { + "name": "photo", + "type": "InputChatPhoto" + } + ], + "type": "geochats.StatedMessage" + }, + { + "id": "-808598451", + "method": "geochats.search", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + }, + { + "name": "q", + "type": "string" + }, + { + "name": "filter", + "type": "MessagesFilter" + }, + { + "name": "min_date", + "type": "int" + }, + { + "name": "max_date", + "type": "int" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "geochats.Messages" + }, + { + "id": "-1254131096", + "method": "geochats.getHistory", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "geochats.Messages" + }, + { + "id": "146319145", + "method": "geochats.setTyping", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + }, + { + "name": "typing", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "102432836", + "method": "geochats.sendMessage", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "geochats.StatedMessage" + }, + { + "id": "-1192173825", + "method": "geochats.sendMedia", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + }, + { + "name": "media", + "type": "InputMedia" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "geochats.StatedMessage" + }, + { + "id": "235482646", + "method": "geochats.createGeoChat", + "params": [ + { + "name": "title", + "type": "string" + }, + { + "name": "geo_point", + "type": "InputGeoPoint" + }, + { + "name": "address", + "type": "string" + }, + { + "name": "venue", + "type": "string" + } + ], + "type": "geochats.StatedMessage" + }, + { + "id": "651135312", + "method": "messages.getDhConfig", + "params": [ + { + "name": "version", + "type": "int" + }, + { + "name": "random_length", + "type": "int" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "-162681021", + "method": "messages.requestEncryption", + "params": [ + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "random_id", + "type": "int" + }, + { + "name": "g_a", + "type": "bytes" + } + ], + "type": "EncryptedChat" + }, + { + "id": "1035731989", + "method": "messages.acceptEncryption", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "g_b", + "type": "bytes" + }, + { + "name": "key_fingerprint", + "type": "long" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-304536635", + "method": "messages.discardEncryption", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "2031374829", + "method": "messages.setEncryptedTyping", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "typing", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "2135648522", + "method": "messages.readEncryptedHistory", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "max_date", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "-1451792525", + "method": "messages.sendEncrypted", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-1701831834", + "method": "messages.sendEncryptedFile", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + }, + { + "name": "file", + "type": "InputEncryptedFile" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "852769188", + "method": "messages.sendEncryptedService", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "1436924774", + "method": "messages.receivedQueue", + "params": [ + { + "name": "max_qts", + "type": "int" + } + ], + "type": "Vector" + }, + { + "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": "-1663104819", + "method": "help.getSupport", + "params": [], + "type": "help.Support" + }, + { + "id": "229241832", + "method": "auth.sendSms", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "894131138", + "method": "messages.readMessageContents", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Vector" + }, + { + "id": "655677548", + "method": "account.checkUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "1040964988", + "method": "account.updateUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "301470424", + "method": "contacts.search", + "params": [ + { + "name": "q", + "type": "string" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Found" + }, + { + "id": "479200567", + "method": "invokeWithLayer18", + "params": [ + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + } +]} \ No newline at end of file