mirror of
https://github.com/danog/tl-schema.git
synced 2024-12-12 09:29:50 +01:00
8212 lines
158 KiB
JSON
8212 lines
158 KiB
JSON
{
|
|
"constructors": [
|
|
{
|
|
"id": "-1132882121",
|
|
"predicate": "boolFalse",
|
|
"params": [],
|
|
"type": "Bool"
|
|
},
|
|
{
|
|
"id": "-1720552011",
|
|
"predicate": "boolTrue",
|
|
"params": [],
|
|
"type": "Bool"
|
|
},
|
|
{
|
|
"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": "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": "-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": "-139464256",
|
|
"predicate": "inputMediaUploadedPhoto",
|
|
"params": [
|
|
{
|
|
"name": "file",
|
|
"type": "InputFile"
|
|
},
|
|
{
|
|
"name": "caption",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "InputMedia"
|
|
},
|
|
{
|
|
"id": "-373312269",
|
|
"predicate": "inputMediaPhoto",
|
|
"params": [
|
|
{
|
|
"name": "id",
|
|
"type": "InputPhoto"
|
|
},
|
|
{
|
|
"name": "caption",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"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": "-2106507297",
|
|
"predicate": "inputMediaUploadedVideo",
|
|
"params": [
|
|
{
|
|
"name": "file",
|
|
"type": "InputFile"
|
|
},
|
|
{
|
|
"name": "duration",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "w",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "h",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "mime_type",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "caption",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "InputMedia"
|
|
},
|
|
{
|
|
"id": "2004934137",
|
|
"predicate": "inputMediaUploadedThumbVideo",
|
|
"params": [
|
|
{
|
|
"name": "file",
|
|
"type": "InputFile"
|
|
},
|
|
{
|
|
"name": "thumb",
|
|
"type": "InputFile"
|
|
},
|
|
{
|
|
"name": "duration",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "w",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "h",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "mime_type",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "caption",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "InputMedia"
|
|
},
|
|
{
|
|
"id": "-1821749571",
|
|
"predicate": "inputMediaVideo",
|
|
"params": [
|
|
{
|
|
"name": "id",
|
|
"type": "InputVideo"
|
|
},
|
|
{
|
|
"name": "caption",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "InputMedia"
|
|
},
|
|
{
|
|
"id": "480546647",
|
|
"predicate": "inputChatPhotoEmpty",
|
|
"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": "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": "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": "1930607688",
|
|
"predicate": "chat",
|
|
"params": [
|
|
{
|
|
"name": "flags",
|
|
"type": "#"
|
|
},
|
|
{
|
|
"name": "creator",
|
|
"type": "flags.0?true"
|
|
},
|
|
{
|
|
"name": "kicked",
|
|
"type": "flags.1?true"
|
|
},
|
|
{
|
|
"name": "left",
|
|
"type": "flags.2?true"
|
|
},
|
|
{
|
|
"name": "admins_enabled",
|
|
"type": "flags.3?true"
|
|
},
|
|
{
|
|
"name": "admin",
|
|
"type": "flags.4?true"
|
|
},
|
|
{
|
|
"name": "id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "title",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "photo",
|
|
"type": "ChatPhoto"
|
|
},
|
|
{
|
|
"name": "participants_count",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "date",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "version",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "Chat"
|
|
},
|
|
{
|
|
"id": "120753115",
|
|
"predicate": "chatForbidden",
|
|
"params": [
|
|
{
|
|
"name": "id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "title",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "Chat"
|
|
},
|
|
{
|
|
"id": "771925524",
|
|
"predicate": "chatFull",
|
|
"params": [
|
|
{
|
|
"name": "id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "participants",
|
|
"type": "ChatParticipants"
|
|
},
|
|
{
|
|
"name": "chat_photo",
|
|
"type": "Photo"
|
|
},
|
|
{
|
|
"name": "notify_settings",
|
|
"type": "PeerNotifySettings"
|
|
},
|
|
{
|
|
"name": "exported_invite",
|
|
"type": "ExportedChatInvite"
|
|
},
|
|
{
|
|
"name": "bot_info",
|
|
"type": "Vector<BotInfo>"
|
|
}
|
|
],
|
|
"type": "ChatFull"
|
|
},
|
|
{
|
|
"id": "-925415106",
|
|
"predicate": "chatParticipant",
|
|
"params": [
|
|
{
|
|
"name": "user_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "inviter_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "date",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "ChatParticipant"
|
|
},
|
|
{
|
|
"id": "-57668565",
|
|
"predicate": "chatParticipantsForbidden",
|
|
"params": [
|
|
{
|
|
"name": "flags",
|
|
"type": "#"
|
|
},
|
|
{
|
|
"name": "chat_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "self_participant",
|
|
"type": "flags.0?ChatParticipant"
|
|
}
|
|
],
|
|
"type": "ChatParticipants"
|
|
},
|
|
{
|
|
"id": "1061556205",
|
|
"predicate": "chatParticipants",
|
|
"params": [
|
|
{
|
|
"name": "chat_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "participants",
|
|
"type": "Vector<ChatParticipant>"
|
|
},
|
|
{
|
|
"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": "1537633299",
|
|
"predicate": "message",
|
|
"params": [
|
|
{
|
|
"name": "flags",
|
|
"type": "#"
|
|
},
|
|
{
|
|
"name": "unread",
|
|
"type": "flags.0?true"
|
|
},
|
|
{
|
|
"name": "out",
|
|
"type": "flags.1?true"
|
|
},
|
|
{
|
|
"name": "mentioned",
|
|
"type": "flags.4?true"
|
|
},
|
|
{
|
|
"name": "media_unread",
|
|
"type": "flags.5?true"
|
|
},
|
|
{
|
|
"name": "id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "from_id",
|
|
"type": "flags.8?int"
|
|
},
|
|
{
|
|
"name": "to_id",
|
|
"type": "Peer"
|
|
},
|
|
{
|
|
"name": "fwd_from_id",
|
|
"type": "flags.2?Peer"
|
|
},
|
|
{
|
|
"name": "fwd_date",
|
|
"type": "flags.2?int"
|
|
},
|
|
{
|
|
"name": "reply_to_msg_id",
|
|
"type": "flags.3?int"
|
|
},
|
|
{
|
|
"name": "date",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "message",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "media",
|
|
"type": "flags.9?MessageMedia"
|
|
},
|
|
{
|
|
"name": "reply_markup",
|
|
"type": "flags.6?ReplyMarkup"
|
|
},
|
|
{
|
|
"name": "entities",
|
|
"type": "flags.7?Vector<MessageEntity>"
|
|
},
|
|
{
|
|
"name": "views",
|
|
"type": "flags.10?int"
|
|
}
|
|
],
|
|
"type": "Message"
|
|
},
|
|
{
|
|
"id": "-1066691065",
|
|
"predicate": "messageService",
|
|
"params": [
|
|
{
|
|
"name": "flags",
|
|
"type": "#"
|
|
},
|
|
{
|
|
"name": "unread",
|
|
"type": "flags.0?true"
|
|
},
|
|
{
|
|
"name": "out",
|
|
"type": "flags.1?true"
|
|
},
|
|
{
|
|
"name": "mentioned",
|
|
"type": "flags.4?true"
|
|
},
|
|
{
|
|
"name": "media_unread",
|
|
"type": "flags.5?true"
|
|
},
|
|
{
|
|
"name": "id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "from_id",
|
|
"type": "flags.8?int"
|
|
},
|
|
{
|
|
"name": "to_id",
|
|
"type": "Peer"
|
|
},
|
|
{
|
|
"name": "date",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "action",
|
|
"type": "MessageAction"
|
|
}
|
|
],
|
|
"type": "Message"
|
|
},
|
|
{
|
|
"id": "1038967584",
|
|
"predicate": "messageMediaEmpty",
|
|
"params": [],
|
|
"type": "MessageMedia"
|
|
},
|
|
{
|
|
"id": "1032643901",
|
|
"predicate": "messageMediaPhoto",
|
|
"params": [
|
|
{
|
|
"name": "photo",
|
|
"type": "Photo"
|
|
},
|
|
{
|
|
"name": "caption",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "MessageMedia"
|
|
},
|
|
{
|
|
"id": "1540298357",
|
|
"predicate": "messageMediaVideo",
|
|
"params": [
|
|
{
|
|
"name": "video",
|
|
"type": "Video"
|
|
},
|
|
{
|
|
"name": "caption",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"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": "-1618676578",
|
|
"predicate": "messageMediaUnsupported",
|
|
"params": [],
|
|
"type": "MessageMedia"
|
|
},
|
|
{
|
|
"id": "-1230047312",
|
|
"predicate": "messageActionEmpty",
|
|
"params": [],
|
|
"type": "MessageAction"
|
|
},
|
|
{
|
|
"id": "-1503425638",
|
|
"predicate": "messageActionChatCreate",
|
|
"params": [
|
|
{
|
|
"name": "title",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "users",
|
|
"type": "Vector<int>"
|
|
}
|
|
],
|
|
"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": "-1042448310",
|
|
"predicate": "dialog",
|
|
"params": [
|
|
{
|
|
"name": "peer",
|
|
"type": "Peer"
|
|
},
|
|
{
|
|
"name": "top_message",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "read_inbox_max_id",
|
|
"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": "-840088834",
|
|
"predicate": "photo",
|
|
"params": [
|
|
{
|
|
"name": "id",
|
|
"type": "long"
|
|
},
|
|
{
|
|
"name": "access_hash",
|
|
"type": "long"
|
|
},
|
|
{
|
|
"name": "date",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "sizes",
|
|
"type": "Vector<PhotoSize>"
|
|
}
|
|
],
|
|
"type": "Photo"
|
|
},
|
|
{
|
|
"id": "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": "-148338733",
|
|
"predicate": "video",
|
|
"params": [
|
|
{
|
|
"name": "id",
|
|
"type": "long"
|
|
},
|
|
{
|
|
"name": "access_hash",
|
|
"type": "long"
|
|
},
|
|
{
|
|
"name": "date",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "duration",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "mime_type",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "size",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "thumb",
|
|
"type": "PhotoSize"
|
|
},
|
|
{
|
|
"name": "dc_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "w",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "h",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "Video"
|
|
},
|
|
{
|
|
"id": "286776671",
|
|
"predicate": "geoPointEmpty",
|
|
"params": [],
|
|
"type": "GeoPoint"
|
|
},
|
|
{
|
|
"id": "541710092",
|
|
"predicate": "geoPoint",
|
|
"params": [
|
|
{
|
|
"name": "long",
|
|
"type": "double"
|
|
},
|
|
{
|
|
"name": "lat",
|
|
"type": "double"
|
|
}
|
|
],
|
|
"type": "GeoPoint"
|
|
},
|
|
{
|
|
"id": "-2128698738",
|
|
"predicate": "auth.checkedPhone",
|
|
"params": [
|
|
{
|
|
"name": "phone_registered",
|
|
"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": "-16553231",
|
|
"predicate": "auth.authorization",
|
|
"params": [
|
|
{
|
|
"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": "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": "-860866985",
|
|
"predicate": "wallPaper",
|
|
"params": [
|
|
{
|
|
"name": "id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "title",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "sizes",
|
|
"type": "Vector<PhotoSize>"
|
|
},
|
|
{
|
|
"name": "color",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "WallPaper"
|
|
},
|
|
{
|
|
"id": "1518971995",
|
|
"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": "bot_info",
|
|
"type": "BotInfo"
|
|
}
|
|
],
|
|
"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": "-748155807",
|
|
"predicate": "contactStatus",
|
|
"params": [
|
|
{
|
|
"name": "user_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "status",
|
|
"type": "UserStatus"
|
|
}
|
|
],
|
|
"type": "ContactStatus"
|
|
},
|
|
{
|
|
"id": "986597452",
|
|
"predicate": "contacts.link",
|
|
"params": [
|
|
{
|
|
"name": "my_link",
|
|
"type": "ContactLink"
|
|
},
|
|
{
|
|
"name": "foreign_link",
|
|
"type": "ContactLink"
|
|
},
|
|
{
|
|
"name": "user",
|
|
"type": "User"
|
|
}
|
|
],
|
|
"type": "contacts.Link"
|
|
},
|
|
{
|
|
"id": "1871416498",
|
|
"predicate": "contacts.contacts",
|
|
"params": [
|
|
{
|
|
"name": "contacts",
|
|
"type": "Vector<Contact>"
|
|
},
|
|
{
|
|
"name": "users",
|
|
"type": "Vector<User>"
|
|
}
|
|
],
|
|
"type": "contacts.Contacts"
|
|
},
|
|
{
|
|
"id": "-1219778094",
|
|
"predicate": "contacts.contactsNotModified",
|
|
"params": [],
|
|
"type": "contacts.Contacts"
|
|
},
|
|
{
|
|
"id": "-1387117803",
|
|
"predicate": "contacts.importedContacts",
|
|
"params": [
|
|
{
|
|
"name": "imported",
|
|
"type": "Vector<ImportedContact>"
|
|
},
|
|
{
|
|
"name": "retry_contacts",
|
|
"type": "Vector<long>"
|
|
},
|
|
{
|
|
"name": "users",
|
|
"type": "Vector<User>"
|
|
}
|
|
],
|
|
"type": "contacts.ImportedContacts"
|
|
},
|
|
{
|
|
"id": "471043349",
|
|
"predicate": "contacts.blocked",
|
|
"params": [
|
|
{
|
|
"name": "blocked",
|
|
"type": "Vector<ContactBlocked>"
|
|
},
|
|
{
|
|
"name": "users",
|
|
"type": "Vector<User>"
|
|
}
|
|
],
|
|
"type": "contacts.Blocked"
|
|
},
|
|
{
|
|
"id": "-1878523231",
|
|
"predicate": "contacts.blockedSlice",
|
|
"params": [
|
|
{
|
|
"name": "count",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "blocked",
|
|
"type": "Vector<ContactBlocked>"
|
|
},
|
|
{
|
|
"name": "users",
|
|
"type": "Vector<User>"
|
|
}
|
|
],
|
|
"type": "contacts.Blocked"
|
|
},
|
|
{
|
|
"id": "446822276",
|
|
"predicate": "contacts.found",
|
|
"params": [
|
|
{
|
|
"name": "results",
|
|
"type": "Vector<Peer>"
|
|
},
|
|
{
|
|
"name": "chats",
|
|
"type": "Vector<Chat>"
|
|
},
|
|
{
|
|
"name": "users",
|
|
"type": "Vector<User>"
|
|
}
|
|
],
|
|
"type": "contacts.Found"
|
|
},
|
|
{
|
|
"id": "364538944",
|
|
"predicate": "messages.dialogs",
|
|
"params": [
|
|
{
|
|
"name": "dialogs",
|
|
"type": "Vector<Dialog>"
|
|
},
|
|
{
|
|
"name": "messages",
|
|
"type": "Vector<Message>"
|
|
},
|
|
{
|
|
"name": "chats",
|
|
"type": "Vector<Chat>"
|
|
},
|
|
{
|
|
"name": "users",
|
|
"type": "Vector<User>"
|
|
}
|
|
],
|
|
"type": "messages.Dialogs"
|
|
},
|
|
{
|
|
"id": "1910543603",
|
|
"predicate": "messages.dialogsSlice",
|
|
"params": [
|
|
{
|
|
"name": "count",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "dialogs",
|
|
"type": "Vector<Dialog>"
|
|
},
|
|
{
|
|
"name": "messages",
|
|
"type": "Vector<Message>"
|
|
},
|
|
{
|
|
"name": "chats",
|
|
"type": "Vector<Chat>"
|
|
},
|
|
{
|
|
"name": "users",
|
|
"type": "Vector<User>"
|
|
}
|
|
],
|
|
"type": "messages.Dialogs"
|
|
},
|
|
{
|
|
"id": "-1938715001",
|
|
"predicate": "messages.messages",
|
|
"params": [
|
|
{
|
|
"name": "messages",
|
|
"type": "Vector<Message>"
|
|
},
|
|
{
|
|
"name": "chats",
|
|
"type": "Vector<Chat>"
|
|
},
|
|
{
|
|
"name": "users",
|
|
"type": "Vector<User>"
|
|
}
|
|
],
|
|
"type": "messages.Messages"
|
|
},
|
|
{
|
|
"id": "189033187",
|
|
"predicate": "messages.messagesSlice",
|
|
"params": [
|
|
{
|
|
"name": "count",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "messages",
|
|
"type": "Vector<Message>"
|
|
},
|
|
{
|
|
"name": "chats",
|
|
"type": "Vector<Chat>"
|
|
},
|
|
{
|
|
"name": "users",
|
|
"type": "Vector<User>"
|
|
}
|
|
],
|
|
"type": "messages.Messages"
|
|
},
|
|
{
|
|
"id": "1694474197",
|
|
"predicate": "messages.chats",
|
|
"params": [
|
|
{
|
|
"name": "chats",
|
|
"type": "Vector<Chat>"
|
|
}
|
|
],
|
|
"type": "messages.Chats"
|
|
},
|
|
{
|
|
"id": "-438840932",
|
|
"predicate": "messages.chatFull",
|
|
"params": [
|
|
{
|
|
"name": "full_chat",
|
|
"type": "ChatFull"
|
|
},
|
|
{
|
|
"name": "chats",
|
|
"type": "Vector<Chat>"
|
|
},
|
|
{
|
|
"name": "users",
|
|
"type": "Vector<User>"
|
|
}
|
|
],
|
|
"type": "messages.ChatFull"
|
|
},
|
|
{
|
|
"id": "-1269012015",
|
|
"predicate": "messages.affectedHistory",
|
|
"params": [
|
|
{
|
|
"name": "pts",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "pts_count",
|
|
"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": "522914557",
|
|
"predicate": "updateNewMessage",
|
|
"params": [
|
|
{
|
|
"name": "message",
|
|
"type": "Message"
|
|
},
|
|
{
|
|
"name": "pts",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "pts_count",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "Update"
|
|
},
|
|
{
|
|
"id": "1318109142",
|
|
"predicate": "updateMessageID",
|
|
"params": [
|
|
{
|
|
"name": "id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "random_id",
|
|
"type": "long"
|
|
}
|
|
],
|
|
"type": "Update"
|
|
},
|
|
{
|
|
"id": "-1576161051",
|
|
"predicate": "updateDeleteMessages",
|
|
"params": [
|
|
{
|
|
"name": "messages",
|
|
"type": "Vector<int>"
|
|
},
|
|
{
|
|
"name": "pts",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "pts_count",
|
|
"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": "-1657903163",
|
|
"predicate": "updateContactLink",
|
|
"params": [
|
|
{
|
|
"name": "user_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "my_link",
|
|
"type": "ContactLink"
|
|
},
|
|
{
|
|
"name": "foreign_link",
|
|
"type": "ContactLink"
|
|
}
|
|
],
|
|
"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<Message>"
|
|
},
|
|
{
|
|
"name": "new_encrypted_messages",
|
|
"type": "Vector<EncryptedMessage>"
|
|
},
|
|
{
|
|
"name": "other_updates",
|
|
"type": "Vector<Update>"
|
|
},
|
|
{
|
|
"name": "chats",
|
|
"type": "Vector<Chat>"
|
|
},
|
|
{
|
|
"name": "users",
|
|
"type": "Vector<User>"
|
|
},
|
|
{
|
|
"name": "state",
|
|
"type": "updates.State"
|
|
}
|
|
],
|
|
"type": "updates.Difference"
|
|
},
|
|
{
|
|
"id": "-1459938943",
|
|
"predicate": "updates.differenceSlice",
|
|
"params": [
|
|
{
|
|
"name": "new_messages",
|
|
"type": "Vector<Message>"
|
|
},
|
|
{
|
|
"name": "new_encrypted_messages",
|
|
"type": "Vector<EncryptedMessage>"
|
|
},
|
|
{
|
|
"name": "other_updates",
|
|
"type": "Vector<Update>"
|
|
},
|
|
{
|
|
"name": "chats",
|
|
"type": "Vector<Chat>"
|
|
},
|
|
{
|
|
"name": "users",
|
|
"type": "Vector<User>"
|
|
},
|
|
{
|
|
"name": "intermediate_state",
|
|
"type": "updates.State"
|
|
}
|
|
],
|
|
"type": "updates.Difference"
|
|
},
|
|
{
|
|
"id": "-484987010",
|
|
"predicate": "updatesTooLong",
|
|
"params": [],
|
|
"type": "Updates"
|
|
},
|
|
{
|
|
"id": "-136766906",
|
|
"predicate": "updateShortMessage",
|
|
"params": [
|
|
{
|
|
"name": "flags",
|
|
"type": "#"
|
|
},
|
|
{
|
|
"name": "unread",
|
|
"type": "flags.0?true"
|
|
},
|
|
{
|
|
"name": "out",
|
|
"type": "flags.1?true"
|
|
},
|
|
{
|
|
"name": "mentioned",
|
|
"type": "flags.4?true"
|
|
},
|
|
{
|
|
"name": "media_unread",
|
|
"type": "flags.5?true"
|
|
},
|
|
{
|
|
"name": "id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "user_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "message",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "pts",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "pts_count",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "date",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "fwd_from_id",
|
|
"type": "flags.2?Peer"
|
|
},
|
|
{
|
|
"name": "fwd_date",
|
|
"type": "flags.2?int"
|
|
},
|
|
{
|
|
"name": "reply_to_msg_id",
|
|
"type": "flags.3?int"
|
|
},
|
|
{
|
|
"name": "entities",
|
|
"type": "flags.7?Vector<MessageEntity>"
|
|
}
|
|
],
|
|
"type": "Updates"
|
|
},
|
|
{
|
|
"id": "-892863022",
|
|
"predicate": "updateShortChatMessage",
|
|
"params": [
|
|
{
|
|
"name": "flags",
|
|
"type": "#"
|
|
},
|
|
{
|
|
"name": "unread",
|
|
"type": "flags.0?true"
|
|
},
|
|
{
|
|
"name": "out",
|
|
"type": "flags.1?true"
|
|
},
|
|
{
|
|
"name": "mentioned",
|
|
"type": "flags.4?true"
|
|
},
|
|
{
|
|
"name": "media_unread",
|
|
"type": "flags.5?true"
|
|
},
|
|
{
|
|
"name": "id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "from_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "chat_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "message",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "pts",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "pts_count",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "date",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "fwd_from_id",
|
|
"type": "flags.2?Peer"
|
|
},
|
|
{
|
|
"name": "fwd_date",
|
|
"type": "flags.2?int"
|
|
},
|
|
{
|
|
"name": "reply_to_msg_id",
|
|
"type": "flags.3?int"
|
|
},
|
|
{
|
|
"name": "entities",
|
|
"type": "flags.7?Vector<MessageEntity>"
|
|
}
|
|
],
|
|
"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<Update>"
|
|
},
|
|
{
|
|
"name": "users",
|
|
"type": "Vector<User>"
|
|
},
|
|
{
|
|
"name": "chats",
|
|
"type": "Vector<Chat>"
|
|
},
|
|
{
|
|
"name": "date",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "seq_start",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "seq",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "Updates"
|
|
},
|
|
{
|
|
"id": "1957577280",
|
|
"predicate": "updates",
|
|
"params": [
|
|
{
|
|
"name": "updates",
|
|
"type": "Vector<Update>"
|
|
},
|
|
{
|
|
"name": "users",
|
|
"type": "Vector<User>"
|
|
},
|
|
{
|
|
"name": "chats",
|
|
"type": "Vector<Chat>"
|
|
},
|
|
{
|
|
"name": "date",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "seq",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "Updates"
|
|
},
|
|
{
|
|
"id": "539045032",
|
|
"predicate": "photos.photo",
|
|
"params": [
|
|
{
|
|
"name": "photo",
|
|
"type": "Photo"
|
|
},
|
|
{
|
|
"name": "users",
|
|
"type": "Vector<User>"
|
|
}
|
|
],
|
|
"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": "98092748",
|
|
"predicate": "dcOption",
|
|
"params": [
|
|
{
|
|
"name": "flags",
|
|
"type": "#"
|
|
},
|
|
{
|
|
"name": "ipv6",
|
|
"type": "flags.0?true"
|
|
},
|
|
{
|
|
"name": "media_only",
|
|
"type": "flags.1?true"
|
|
},
|
|
{
|
|
"name": "id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "ip_address",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "port",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "DcOption"
|
|
},
|
|
{
|
|
"id": "1311946900",
|
|
"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": "push_chat_period_ms",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "push_chat_limit",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "disabled_features",
|
|
"type": "Vector<DisabledFeature>"
|
|
}
|
|
],
|
|
"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": "-265263912",
|
|
"predicate": "inputPeerNotifyEventsEmpty",
|
|
"params": [],
|
|
"type": "InputPeerNotifyEvents"
|
|
},
|
|
{
|
|
"id": "-395694988",
|
|
"predicate": "inputPeerNotifyEventsAll",
|
|
"params": [],
|
|
"type": "InputPeerNotifyEvents"
|
|
},
|
|
{
|
|
"id": "-1916114267",
|
|
"predicate": "photos.photos",
|
|
"params": [
|
|
{
|
|
"name": "photos",
|
|
"type": "Vector<Photo>"
|
|
},
|
|
{
|
|
"name": "users",
|
|
"type": "Vector<User>"
|
|
}
|
|
],
|
|
"type": "photos.Photos"
|
|
},
|
|
{
|
|
"id": "352657236",
|
|
"predicate": "photos.photosSlice",
|
|
"params": [
|
|
{
|
|
"name": "count",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "photos",
|
|
"type": "Vector<Photo>"
|
|
},
|
|
{
|
|
"name": "users",
|
|
"type": "Vector<User>"
|
|
}
|
|
],
|
|
"type": "photos.Photos"
|
|
},
|
|
{
|
|
"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": "-1373745011",
|
|
"predicate": "storage.filePdf",
|
|
"params": [],
|
|
"type": "storage.FileType"
|
|
},
|
|
{
|
|
"id": "-808946398",
|
|
"predicate": "inputMessagesFilterAudio",
|
|
"params": [],
|
|
"type": "MessagesFilter"
|
|
},
|
|
{
|
|
"id": "-1629621880",
|
|
"predicate": "inputMessagesFilterDocument",
|
|
"params": [],
|
|
"type": "MessagesFilter"
|
|
},
|
|
{
|
|
"id": "-648121413",
|
|
"predicate": "inputMessagesFilterPhotoVideoDocuments",
|
|
"params": [],
|
|
"type": "MessagesFilter"
|
|
},
|
|
{
|
|
"id": "-364179876",
|
|
"predicate": "updateChatParticipantAdd",
|
|
"params": [
|
|
{
|
|
"name": "chat_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "user_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "inviter_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "date",
|
|
"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<DcOption>"
|
|
}
|
|
],
|
|
"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": "-1610888",
|
|
"predicate": "inputMediaUploadedDocument",
|
|
"params": [
|
|
{
|
|
"name": "file",
|
|
"type": "InputFile"
|
|
},
|
|
{
|
|
"name": "mime_type",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "attributes",
|
|
"type": "Vector<DocumentAttribute>"
|
|
}
|
|
],
|
|
"type": "InputMedia"
|
|
},
|
|
{
|
|
"id": "1095242886",
|
|
"predicate": "inputMediaUploadedThumbDocument",
|
|
"params": [
|
|
{
|
|
"name": "file",
|
|
"type": "InputFile"
|
|
},
|
|
{
|
|
"name": "thumb",
|
|
"type": "InputFile"
|
|
},
|
|
{
|
|
"name": "mime_type",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "attributes",
|
|
"type": "Vector<DocumentAttribute>"
|
|
}
|
|
],
|
|
"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": "-102543275",
|
|
"predicate": "audio",
|
|
"params": [
|
|
{
|
|
"name": "id",
|
|
"type": "long"
|
|
},
|
|
{
|
|
"name": "access_hash",
|
|
"type": "long"
|
|
},
|
|
{
|
|
"name": "date",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "duration",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "mime_type",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "size",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "dc_id",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "Audio"
|
|
},
|
|
{
|
|
"id": "922273905",
|
|
"predicate": "documentEmpty",
|
|
"params": [
|
|
{
|
|
"name": "id",
|
|
"type": "long"
|
|
}
|
|
],
|
|
"type": "Document"
|
|
},
|
|
{
|
|
"id": "-106717361",
|
|
"predicate": "document",
|
|
"params": [
|
|
{
|
|
"name": "id",
|
|
"type": "long"
|
|
},
|
|
{
|
|
"name": "access_hash",
|
|
"type": "long"
|
|
},
|
|
{
|
|
"name": "date",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "mime_type",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "size",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "thumb",
|
|
"type": "PhotoSize"
|
|
},
|
|
{
|
|
"name": "dc_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "attributes",
|
|
"type": "Vector<DocumentAttribute>"
|
|
}
|
|
],
|
|
"type": "Document"
|
|
},
|
|
{
|
|
"id": "398898678",
|
|
"predicate": "help.support",
|
|
"params": [
|
|
{
|
|
"name": "phone_number",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "user",
|
|
"type": "User"
|
|
}
|
|
],
|
|
"type": "help.Support"
|
|
},
|
|
{
|
|
"id": "1959820384",
|
|
"predicate": "notifyAll",
|
|
"params": [],
|
|
"type": "NotifyPeer"
|
|
},
|
|
{
|
|
"id": "-1073230141",
|
|
"predicate": "notifyChats",
|
|
"params": [],
|
|
"type": "NotifyPeer"
|
|
},
|
|
{
|
|
"id": "-1613493288",
|
|
"predicate": "notifyPeer",
|
|
"params": [
|
|
{
|
|
"name": "peer",
|
|
"type": "Peer"
|
|
}
|
|
],
|
|
"type": "NotifyPeer"
|
|
},
|
|
{
|
|
"id": "-1261946036",
|
|
"predicate": "notifyUsers",
|
|
"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": "-378127636",
|
|
"predicate": "sendMessageUploadVideoAction",
|
|
"params": [
|
|
{
|
|
"name": "progress",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "SendMessageAction"
|
|
},
|
|
{
|
|
"id": "-718310409",
|
|
"predicate": "sendMessageRecordAudioAction",
|
|
"params": [],
|
|
"type": "SendMessageAction"
|
|
},
|
|
{
|
|
"id": "-212740181",
|
|
"predicate": "sendMessageUploadAudioAction",
|
|
"params": [
|
|
{
|
|
"name": "progress",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "SendMessageAction"
|
|
},
|
|
{
|
|
"id": "-774682074",
|
|
"predicate": "sendMessageUploadPhotoAction",
|
|
"params": [
|
|
{
|
|
"name": "progress",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "SendMessageAction"
|
|
},
|
|
{
|
|
"id": "-1441998364",
|
|
"predicate": "sendMessageUploadDocumentAction",
|
|
"params": [
|
|
{
|
|
"name": "progress",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "SendMessageAction"
|
|
},
|
|
{
|
|
"id": "393186209",
|
|
"predicate": "sendMessageGeoLocationAction",
|
|
"params": [],
|
|
"type": "SendMessageAction"
|
|
},
|
|
{
|
|
"id": "1653390447",
|
|
"predicate": "sendMessageChooseContactAction",
|
|
"params": [],
|
|
"type": "SendMessageAction"
|
|
},
|
|
{
|
|
"id": "942527460",
|
|
"predicate": "updateServiceNotification",
|
|
"params": [
|
|
{
|
|
"name": "type",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "message",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "media",
|
|
"type": "MessageMedia"
|
|
},
|
|
{
|
|
"name": "popup",
|
|
"type": "Bool"
|
|
}
|
|
],
|
|
"type": "Update"
|
|
},
|
|
{
|
|
"id": "-496024847",
|
|
"predicate": "userStatusRecently",
|
|
"params": [],
|
|
"type": "UserStatus"
|
|
},
|
|
{
|
|
"id": "129960444",
|
|
"predicate": "userStatusLastWeek",
|
|
"params": [],
|
|
"type": "UserStatus"
|
|
},
|
|
{
|
|
"id": "2011940674",
|
|
"predicate": "userStatusLastMonth",
|
|
"params": [],
|
|
"type": "UserStatus"
|
|
},
|
|
{
|
|
"id": "-298113238",
|
|
"predicate": "updatePrivacy",
|
|
"params": [
|
|
{
|
|
"name": "key",
|
|
"type": "PrivacyKey"
|
|
},
|
|
{
|
|
"name": "rules",
|
|
"type": "Vector<PrivacyRule>"
|
|
}
|
|
],
|
|
"type": "Update"
|
|
},
|
|
{
|
|
"id": "1335282456",
|
|
"predicate": "inputPrivacyKeyStatusTimestamp",
|
|
"params": [],
|
|
"type": "InputPrivacyKey"
|
|
},
|
|
{
|
|
"id": "-1137792208",
|
|
"predicate": "privacyKeyStatusTimestamp",
|
|
"params": [],
|
|
"type": "PrivacyKey"
|
|
},
|
|
{
|
|
"id": "218751099",
|
|
"predicate": "inputPrivacyValueAllowContacts",
|
|
"params": [],
|
|
"type": "InputPrivacyRule"
|
|
},
|
|
{
|
|
"id": "407582158",
|
|
"predicate": "inputPrivacyValueAllowAll",
|
|
"params": [],
|
|
"type": "InputPrivacyRule"
|
|
},
|
|
{
|
|
"id": "320652927",
|
|
"predicate": "inputPrivacyValueAllowUsers",
|
|
"params": [
|
|
{
|
|
"name": "users",
|
|
"type": "Vector<InputUser>"
|
|
}
|
|
],
|
|
"type": "InputPrivacyRule"
|
|
},
|
|
{
|
|
"id": "195371015",
|
|
"predicate": "inputPrivacyValueDisallowContacts",
|
|
"params": [],
|
|
"type": "InputPrivacyRule"
|
|
},
|
|
{
|
|
"id": "-697604407",
|
|
"predicate": "inputPrivacyValueDisallowAll",
|
|
"params": [],
|
|
"type": "InputPrivacyRule"
|
|
},
|
|
{
|
|
"id": "-1877932953",
|
|
"predicate": "inputPrivacyValueDisallowUsers",
|
|
"params": [
|
|
{
|
|
"name": "users",
|
|
"type": "Vector<InputUser>"
|
|
}
|
|
],
|
|
"type": "InputPrivacyRule"
|
|
},
|
|
{
|
|
"id": "-123988",
|
|
"predicate": "privacyValueAllowContacts",
|
|
"params": [],
|
|
"type": "PrivacyRule"
|
|
},
|
|
{
|
|
"id": "1698855810",
|
|
"predicate": "privacyValueAllowAll",
|
|
"params": [],
|
|
"type": "PrivacyRule"
|
|
},
|
|
{
|
|
"id": "1297858060",
|
|
"predicate": "privacyValueAllowUsers",
|
|
"params": [
|
|
{
|
|
"name": "users",
|
|
"type": "Vector<int>"
|
|
}
|
|
],
|
|
"type": "PrivacyRule"
|
|
},
|
|
{
|
|
"id": "-125240806",
|
|
"predicate": "privacyValueDisallowContacts",
|
|
"params": [],
|
|
"type": "PrivacyRule"
|
|
},
|
|
{
|
|
"id": "-1955338397",
|
|
"predicate": "privacyValueDisallowAll",
|
|
"params": [],
|
|
"type": "PrivacyRule"
|
|
},
|
|
{
|
|
"id": "209668535",
|
|
"predicate": "privacyValueDisallowUsers",
|
|
"params": [
|
|
{
|
|
"name": "users",
|
|
"type": "Vector<int>"
|
|
}
|
|
],
|
|
"type": "PrivacyRule"
|
|
},
|
|
{
|
|
"id": "1430961007",
|
|
"predicate": "account.privacyRules",
|
|
"params": [
|
|
{
|
|
"name": "rules",
|
|
"type": "Vector<PrivacyRule>"
|
|
},
|
|
{
|
|
"name": "users",
|
|
"type": "Vector<User>"
|
|
}
|
|
],
|
|
"type": "account.PrivacyRules"
|
|
},
|
|
{
|
|
"id": "-1194283041",
|
|
"predicate": "accountDaysTTL",
|
|
"params": [
|
|
{
|
|
"name": "days",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "AccountDaysTTL"
|
|
},
|
|
{
|
|
"id": "-1527411636",
|
|
"predicate": "account.sentChangePhoneCode",
|
|
"params": [
|
|
{
|
|
"name": "phone_code_hash",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "send_call_timeout",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "account.SentChangePhoneCode"
|
|
},
|
|
{
|
|
"id": "314130811",
|
|
"predicate": "updateUserPhone",
|
|
"params": [
|
|
{
|
|
"name": "user_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "phone",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "Update"
|
|
},
|
|
{
|
|
"id": "-1369215196",
|
|
"predicate": "disabledFeature",
|
|
"params": [
|
|
{
|
|
"name": "feature",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "description",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "DisabledFeature"
|
|
},
|
|
{
|
|
"id": "1815593308",
|
|
"predicate": "documentAttributeImageSize",
|
|
"params": [
|
|
{
|
|
"name": "w",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "h",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "DocumentAttribute"
|
|
},
|
|
{
|
|
"id": "297109817",
|
|
"predicate": "documentAttributeAnimated",
|
|
"params": [],
|
|
"type": "DocumentAttribute"
|
|
},
|
|
{
|
|
"id": "978674434",
|
|
"predicate": "documentAttributeSticker",
|
|
"params": [
|
|
{
|
|
"name": "alt",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "stickerset",
|
|
"type": "InputStickerSet"
|
|
}
|
|
],
|
|
"type": "DocumentAttribute"
|
|
},
|
|
{
|
|
"id": "1494273227",
|
|
"predicate": "documentAttributeVideo",
|
|
"params": [
|
|
{
|
|
"name": "duration",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "w",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "h",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "DocumentAttribute"
|
|
},
|
|
{
|
|
"id": "-556656416",
|
|
"predicate": "documentAttributeAudio",
|
|
"params": [
|
|
{
|
|
"name": "duration",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "title",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "performer",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "DocumentAttribute"
|
|
},
|
|
{
|
|
"id": "358154344",
|
|
"predicate": "documentAttributeFilename",
|
|
"params": [
|
|
{
|
|
"name": "file_name",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "DocumentAttribute"
|
|
},
|
|
{
|
|
"id": "-244016606",
|
|
"predicate": "messages.stickersNotModified",
|
|
"params": [],
|
|
"type": "messages.Stickers"
|
|
},
|
|
{
|
|
"id": "-1970352846",
|
|
"predicate": "messages.stickers",
|
|
"params": [
|
|
{
|
|
"name": "hash",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "stickers",
|
|
"type": "Vector<Document>"
|
|
}
|
|
],
|
|
"type": "messages.Stickers"
|
|
},
|
|
{
|
|
"id": "313694676",
|
|
"predicate": "stickerPack",
|
|
"params": [
|
|
{
|
|
"name": "emoticon",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "documents",
|
|
"type": "Vector<long>"
|
|
}
|
|
],
|
|
"type": "StickerPack"
|
|
},
|
|
{
|
|
"id": "-395967805",
|
|
"predicate": "messages.allStickersNotModified",
|
|
"params": [],
|
|
"type": "messages.AllStickers"
|
|
},
|
|
{
|
|
"id": "-719474725",
|
|
"predicate": "messages.allStickers",
|
|
"params": [
|
|
{
|
|
"name": "hash",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "sets",
|
|
"type": "Vector<StickerSet>"
|
|
}
|
|
],
|
|
"type": "messages.AllStickers"
|
|
},
|
|
{
|
|
"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": "1038193057",
|
|
"predicate": "contactSuggested",
|
|
"params": [
|
|
{
|
|
"name": "user_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "mutual_contacts",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "ContactSuggested"
|
|
},
|
|
{
|
|
"id": "1447681221",
|
|
"predicate": "contacts.suggested",
|
|
"params": [
|
|
{
|
|
"name": "results",
|
|
"type": "Vector<ContactSuggested>"
|
|
},
|
|
{
|
|
"name": "users",
|
|
"type": "Vector<User>"
|
|
}
|
|
],
|
|
"type": "contacts.Suggested"
|
|
},
|
|
{
|
|
"id": "-1721631396",
|
|
"predicate": "updateReadHistoryInbox",
|
|
"params": [
|
|
{
|
|
"name": "peer",
|
|
"type": "Peer"
|
|
},
|
|
{
|
|
"name": "max_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "pts",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "pts_count",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "Update"
|
|
},
|
|
{
|
|
"id": "791617983",
|
|
"predicate": "updateReadHistoryOutbox",
|
|
"params": [
|
|
{
|
|
"name": "peer",
|
|
"type": "Peer"
|
|
},
|
|
{
|
|
"name": "max_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "pts",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "pts_count",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "Update"
|
|
},
|
|
{
|
|
"id": "-2066640507",
|
|
"predicate": "messages.affectedMessages",
|
|
"params": [
|
|
{
|
|
"name": "pts",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "pts_count",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "messages.AffectedMessages"
|
|
},
|
|
{
|
|
"id": "1599050311",
|
|
"predicate": "contactLinkUnknown",
|
|
"params": [],
|
|
"type": "ContactLink"
|
|
},
|
|
{
|
|
"id": "-17968211",
|
|
"predicate": "contactLinkNone",
|
|
"params": [],
|
|
"type": "ContactLink"
|
|
},
|
|
{
|
|
"id": "646922073",
|
|
"predicate": "contactLinkHasPhone",
|
|
"params": [],
|
|
"type": "ContactLink"
|
|
},
|
|
{
|
|
"id": "-721239344",
|
|
"predicate": "contactLinkContact",
|
|
"params": [],
|
|
"type": "ContactLink"
|
|
},
|
|
{
|
|
"id": "2139689491",
|
|
"predicate": "updateWebPage",
|
|
"params": [
|
|
{
|
|
"name": "webpage",
|
|
"type": "WebPage"
|
|
},
|
|
{
|
|
"name": "pts",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "pts_count",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"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": "-897446185",
|
|
"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"
|
|
},
|
|
{
|
|
"name": "document",
|
|
"type": "flags.9?Document"
|
|
}
|
|
],
|
|
"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"
|
|
},
|
|
{
|
|
"id": "673687578",
|
|
"predicate": "inputMediaVenue",
|
|
"params": [
|
|
{
|
|
"name": "geo_point",
|
|
"type": "InputGeoPoint"
|
|
},
|
|
{
|
|
"name": "title",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "address",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "provider",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "venue_id",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "InputMedia"
|
|
},
|
|
{
|
|
"id": "2031269663",
|
|
"predicate": "messageMediaVenue",
|
|
"params": [
|
|
{
|
|
"name": "geo",
|
|
"type": "GeoPoint"
|
|
},
|
|
{
|
|
"name": "title",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "address",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "provider",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "venue_id",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "MessageMedia"
|
|
},
|
|
{
|
|
"id": "-1551583367",
|
|
"predicate": "receivedNotifyMessage",
|
|
"params": [
|
|
{
|
|
"name": "id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "flags",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "ReceivedNotifyMessage"
|
|
},
|
|
{
|
|
"id": "1776236393",
|
|
"predicate": "chatInviteEmpty",
|
|
"params": [],
|
|
"type": "ExportedChatInvite"
|
|
},
|
|
{
|
|
"id": "-64092740",
|
|
"predicate": "chatInviteExported",
|
|
"params": [
|
|
{
|
|
"name": "link",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "ExportedChatInvite"
|
|
},
|
|
{
|
|
"id": "1516793212",
|
|
"predicate": "chatInviteAlready",
|
|
"params": [
|
|
{
|
|
"name": "chat",
|
|
"type": "Chat"
|
|
}
|
|
],
|
|
"type": "ChatInvite"
|
|
},
|
|
{
|
|
"id": "-1813406880",
|
|
"predicate": "chatInvite",
|
|
"params": [
|
|
{
|
|
"name": "flags",
|
|
"type": "#"
|
|
},
|
|
{
|
|
"name": "channel",
|
|
"type": "flags.0?true"
|
|
},
|
|
{
|
|
"name": "broadcast",
|
|
"type": "flags.1?true"
|
|
},
|
|
{
|
|
"name": "public",
|
|
"type": "flags.2?true"
|
|
},
|
|
{
|
|
"name": "title",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "ChatInvite"
|
|
},
|
|
{
|
|
"id": "-123931160",
|
|
"predicate": "messageActionChatJoinedByLink",
|
|
"params": [
|
|
{
|
|
"name": "inviter_id",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "MessageAction"
|
|
},
|
|
{
|
|
"id": "1757493555",
|
|
"predicate": "updateReadMessagesContents",
|
|
"params": [
|
|
{
|
|
"name": "messages",
|
|
"type": "Vector<int>"
|
|
},
|
|
{
|
|
"name": "pts",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "pts_count",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "Update"
|
|
},
|
|
{
|
|
"id": "-4838507",
|
|
"predicate": "inputStickerSetEmpty",
|
|
"params": [],
|
|
"type": "InputStickerSet"
|
|
},
|
|
{
|
|
"id": "-1645763991",
|
|
"predicate": "inputStickerSetID",
|
|
"params": [
|
|
{
|
|
"name": "id",
|
|
"type": "long"
|
|
},
|
|
{
|
|
"name": "access_hash",
|
|
"type": "long"
|
|
}
|
|
],
|
|
"type": "InputStickerSet"
|
|
},
|
|
{
|
|
"id": "-2044933984",
|
|
"predicate": "inputStickerSetShortName",
|
|
"params": [
|
|
{
|
|
"name": "short_name",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "InputStickerSet"
|
|
},
|
|
{
|
|
"id": "-852477119",
|
|
"predicate": "stickerSet",
|
|
"params": [
|
|
{
|
|
"name": "flags",
|
|
"type": "#"
|
|
},
|
|
{
|
|
"name": "installed",
|
|
"type": "flags.0?true"
|
|
},
|
|
{
|
|
"name": "disabled",
|
|
"type": "flags.1?true"
|
|
},
|
|
{
|
|
"name": "official",
|
|
"type": "flags.2?true"
|
|
},
|
|
{
|
|
"name": "id",
|
|
"type": "long"
|
|
},
|
|
{
|
|
"name": "access_hash",
|
|
"type": "long"
|
|
},
|
|
{
|
|
"name": "title",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "short_name",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "count",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "hash",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "StickerSet"
|
|
},
|
|
{
|
|
"id": "-1240849242",
|
|
"predicate": "messages.stickerSet",
|
|
"params": [
|
|
{
|
|
"name": "set",
|
|
"type": "StickerSet"
|
|
},
|
|
{
|
|
"name": "packs",
|
|
"type": "Vector<StickerPack>"
|
|
},
|
|
{
|
|
"name": "documents",
|
|
"type": "Vector<Document>"
|
|
}
|
|
],
|
|
"type": "messages.StickerSet"
|
|
},
|
|
{
|
|
"id": "1526462308",
|
|
"predicate": "inputMessagesFilterAudioDocuments",
|
|
"params": [],
|
|
"type": "MessagesFilter"
|
|
},
|
|
{
|
|
"id": "585404530",
|
|
"predicate": "user",
|
|
"params": [
|
|
{
|
|
"name": "flags",
|
|
"type": "#"
|
|
},
|
|
{
|
|
"name": "self",
|
|
"type": "flags.10?true"
|
|
},
|
|
{
|
|
"name": "contact",
|
|
"type": "flags.11?true"
|
|
},
|
|
{
|
|
"name": "mutual_contact",
|
|
"type": "flags.12?true"
|
|
},
|
|
{
|
|
"name": "deleted",
|
|
"type": "flags.13?true"
|
|
},
|
|
{
|
|
"name": "bot",
|
|
"type": "flags.14?true"
|
|
},
|
|
{
|
|
"name": "bot_chat_history",
|
|
"type": "flags.15?true"
|
|
},
|
|
{
|
|
"name": "bot_nochats",
|
|
"type": "flags.16?true"
|
|
},
|
|
{
|
|
"name": "verified",
|
|
"type": "flags.17?true"
|
|
},
|
|
{
|
|
"name": "id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "access_hash",
|
|
"type": "flags.0?long"
|
|
},
|
|
{
|
|
"name": "first_name",
|
|
"type": "flags.1?string"
|
|
},
|
|
{
|
|
"name": "last_name",
|
|
"type": "flags.2?string"
|
|
},
|
|
{
|
|
"name": "username",
|
|
"type": "flags.3?string"
|
|
},
|
|
{
|
|
"name": "phone",
|
|
"type": "flags.4?string"
|
|
},
|
|
{
|
|
"name": "photo",
|
|
"type": "flags.5?UserProfilePhoto"
|
|
},
|
|
{
|
|
"name": "status",
|
|
"type": "flags.6?UserStatus"
|
|
},
|
|
{
|
|
"name": "bot_info_version",
|
|
"type": "flags.14?int"
|
|
}
|
|
],
|
|
"type": "User"
|
|
},
|
|
{
|
|
"id": "-1032140601",
|
|
"predicate": "botCommand",
|
|
"params": [
|
|
{
|
|
"name": "command",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "description",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "BotCommand"
|
|
},
|
|
{
|
|
"id": "-1154598962",
|
|
"predicate": "botInfoEmpty",
|
|
"params": [],
|
|
"type": "BotInfo"
|
|
},
|
|
{
|
|
"id": "164583517",
|
|
"predicate": "botInfo",
|
|
"params": [
|
|
{
|
|
"name": "user_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "version",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "share_text",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "description",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "commands",
|
|
"type": "Vector<BotCommand>"
|
|
}
|
|
],
|
|
"type": "BotInfo"
|
|
},
|
|
{
|
|
"id": "-1560655744",
|
|
"predicate": "keyboardButton",
|
|
"params": [
|
|
{
|
|
"name": "text",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "KeyboardButton"
|
|
},
|
|
{
|
|
"id": "2002815875",
|
|
"predicate": "keyboardButtonRow",
|
|
"params": [
|
|
{
|
|
"name": "buttons",
|
|
"type": "Vector<KeyboardButton>"
|
|
}
|
|
],
|
|
"type": "KeyboardButtonRow"
|
|
},
|
|
{
|
|
"id": "-1606526075",
|
|
"predicate": "replyKeyboardHide",
|
|
"params": [
|
|
{
|
|
"name": "flags",
|
|
"type": "#"
|
|
},
|
|
{
|
|
"name": "selective",
|
|
"type": "flags.2?true"
|
|
}
|
|
],
|
|
"type": "ReplyMarkup"
|
|
},
|
|
{
|
|
"id": "-200242528",
|
|
"predicate": "replyKeyboardForceReply",
|
|
"params": [
|
|
{
|
|
"name": "flags",
|
|
"type": "#"
|
|
},
|
|
{
|
|
"name": "single_use",
|
|
"type": "flags.1?true"
|
|
},
|
|
{
|
|
"name": "selective",
|
|
"type": "flags.2?true"
|
|
}
|
|
],
|
|
"type": "ReplyMarkup"
|
|
},
|
|
{
|
|
"id": "889353612",
|
|
"predicate": "replyKeyboardMarkup",
|
|
"params": [
|
|
{
|
|
"name": "flags",
|
|
"type": "#"
|
|
},
|
|
{
|
|
"name": "resize",
|
|
"type": "flags.0?true"
|
|
},
|
|
{
|
|
"name": "single_use",
|
|
"type": "flags.1?true"
|
|
},
|
|
{
|
|
"name": "selective",
|
|
"type": "flags.2?true"
|
|
},
|
|
{
|
|
"name": "rows",
|
|
"type": "Vector<KeyboardButtonRow>"
|
|
}
|
|
],
|
|
"type": "ReplyMarkup"
|
|
},
|
|
{
|
|
"id": "2129714567",
|
|
"predicate": "inputMessagesFilterUrl",
|
|
"params": [],
|
|
"type": "MessagesFilter"
|
|
},
|
|
{
|
|
"id": "2072935910",
|
|
"predicate": "inputPeerUser",
|
|
"params": [
|
|
{
|
|
"name": "user_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "access_hash",
|
|
"type": "long"
|
|
}
|
|
],
|
|
"type": "InputPeer"
|
|
},
|
|
{
|
|
"id": "-668391402",
|
|
"predicate": "inputUser",
|
|
"params": [
|
|
{
|
|
"name": "user_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "access_hash",
|
|
"type": "long"
|
|
}
|
|
],
|
|
"type": "InputUser"
|
|
},
|
|
{
|
|
"id": "-1350696044",
|
|
"predicate": "help.appChangelogEmpty",
|
|
"params": [],
|
|
"type": "help.AppChangelog"
|
|
},
|
|
{
|
|
"id": "1181279933",
|
|
"predicate": "help.appChangelog",
|
|
"params": [
|
|
{
|
|
"name": "text",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "help.AppChangelog"
|
|
},
|
|
{
|
|
"id": "-1148011883",
|
|
"predicate": "messageEntityUnknown",
|
|
"params": [
|
|
{
|
|
"name": "offset",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "MessageEntity"
|
|
},
|
|
{
|
|
"id": "-100378723",
|
|
"predicate": "messageEntityMention",
|
|
"params": [
|
|
{
|
|
"name": "offset",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "MessageEntity"
|
|
},
|
|
{
|
|
"id": "1868782349",
|
|
"predicate": "messageEntityHashtag",
|
|
"params": [
|
|
{
|
|
"name": "offset",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "MessageEntity"
|
|
},
|
|
{
|
|
"id": "1827637959",
|
|
"predicate": "messageEntityBotCommand",
|
|
"params": [
|
|
{
|
|
"name": "offset",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "MessageEntity"
|
|
},
|
|
{
|
|
"id": "1859134776",
|
|
"predicate": "messageEntityUrl",
|
|
"params": [
|
|
{
|
|
"name": "offset",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "MessageEntity"
|
|
},
|
|
{
|
|
"id": "1692693954",
|
|
"predicate": "messageEntityEmail",
|
|
"params": [
|
|
{
|
|
"name": "offset",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "MessageEntity"
|
|
},
|
|
{
|
|
"id": "-1117713463",
|
|
"predicate": "messageEntityBold",
|
|
"params": [
|
|
{
|
|
"name": "offset",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "MessageEntity"
|
|
},
|
|
{
|
|
"id": "-2106619040",
|
|
"predicate": "messageEntityItalic",
|
|
"params": [
|
|
{
|
|
"name": "offset",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "MessageEntity"
|
|
},
|
|
{
|
|
"id": "681706865",
|
|
"predicate": "messageEntityCode",
|
|
"params": [
|
|
{
|
|
"name": "offset",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "MessageEntity"
|
|
},
|
|
{
|
|
"id": "1938967520",
|
|
"predicate": "messageEntityPre",
|
|
"params": [
|
|
{
|
|
"name": "offset",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "language",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "MessageEntity"
|
|
},
|
|
{
|
|
"id": "1990644519",
|
|
"predicate": "messageEntityTextUrl",
|
|
"params": [
|
|
{
|
|
"name": "offset",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "url",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "MessageEntity"
|
|
},
|
|
{
|
|
"id": "301019932",
|
|
"predicate": "updateShortSentMessage",
|
|
"params": [
|
|
{
|
|
"name": "flags",
|
|
"type": "#"
|
|
},
|
|
{
|
|
"name": "unread",
|
|
"type": "flags.0?true"
|
|
},
|
|
{
|
|
"name": "out",
|
|
"type": "flags.1?true"
|
|
},
|
|
{
|
|
"name": "id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "pts",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "pts_count",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "date",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "media",
|
|
"type": "flags.9?MessageMedia"
|
|
},
|
|
{
|
|
"name": "entities",
|
|
"type": "flags.7?Vector<MessageEntity>"
|
|
}
|
|
],
|
|
"type": "Updates"
|
|
},
|
|
{
|
|
"id": "548253432",
|
|
"predicate": "inputPeerChannel",
|
|
"params": [
|
|
{
|
|
"name": "channel_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "access_hash",
|
|
"type": "long"
|
|
}
|
|
],
|
|
"type": "InputPeer"
|
|
},
|
|
{
|
|
"id": "-1109531342",
|
|
"predicate": "peerChannel",
|
|
"params": [
|
|
{
|
|
"name": "channel_id",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "Peer"
|
|
},
|
|
{
|
|
"id": "1737397639",
|
|
"predicate": "channel",
|
|
"params": [
|
|
{
|
|
"name": "flags",
|
|
"type": "#"
|
|
},
|
|
{
|
|
"name": "creator",
|
|
"type": "flags.0?true"
|
|
},
|
|
{
|
|
"name": "kicked",
|
|
"type": "flags.1?true"
|
|
},
|
|
{
|
|
"name": "left",
|
|
"type": "flags.2?true"
|
|
},
|
|
{
|
|
"name": "editor",
|
|
"type": "flags.3?true"
|
|
},
|
|
{
|
|
"name": "moderator",
|
|
"type": "flags.4?true"
|
|
},
|
|
{
|
|
"name": "broadcast",
|
|
"type": "flags.5?true"
|
|
},
|
|
{
|
|
"name": "verified",
|
|
"type": "flags.7?true"
|
|
},
|
|
{
|
|
"name": "id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "access_hash",
|
|
"type": "long"
|
|
},
|
|
{
|
|
"name": "title",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "username",
|
|
"type": "flags.6?string"
|
|
},
|
|
{
|
|
"name": "photo",
|
|
"type": "ChatPhoto"
|
|
},
|
|
{
|
|
"name": "date",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "version",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "Chat"
|
|
},
|
|
{
|
|
"id": "763724588",
|
|
"predicate": "channelForbidden",
|
|
"params": [
|
|
{
|
|
"name": "id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "access_hash",
|
|
"type": "long"
|
|
},
|
|
{
|
|
"name": "title",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "Chat"
|
|
},
|
|
{
|
|
"id": "-88925533",
|
|
"predicate": "channelFull",
|
|
"params": [
|
|
{
|
|
"name": "flags",
|
|
"type": "#"
|
|
},
|
|
{
|
|
"name": "can_view_participants",
|
|
"type": "flags.3?true"
|
|
},
|
|
{
|
|
"name": "id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "about",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "participants_count",
|
|
"type": "flags.0?int"
|
|
},
|
|
{
|
|
"name": "admins_count",
|
|
"type": "flags.1?int"
|
|
},
|
|
{
|
|
"name": "kicked_count",
|
|
"type": "flags.2?int"
|
|
},
|
|
{
|
|
"name": "read_inbox_max_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "unread_count",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "unread_important_count",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "chat_photo",
|
|
"type": "Photo"
|
|
},
|
|
{
|
|
"name": "notify_settings",
|
|
"type": "PeerNotifySettings"
|
|
},
|
|
{
|
|
"name": "exported_invite",
|
|
"type": "ExportedChatInvite"
|
|
}
|
|
],
|
|
"type": "ChatFull"
|
|
},
|
|
{
|
|
"id": "-1781355374",
|
|
"predicate": "messageActionChannelCreate",
|
|
"params": [
|
|
{
|
|
"name": "title",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "MessageAction"
|
|
},
|
|
{
|
|
"id": "1535415986",
|
|
"predicate": "dialogChannel",
|
|
"params": [
|
|
{
|
|
"name": "peer",
|
|
"type": "Peer"
|
|
},
|
|
{
|
|
"name": "top_message",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "top_important_message",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "read_inbox_max_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "unread_count",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "unread_important_count",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "notify_settings",
|
|
"type": "PeerNotifySettings"
|
|
},
|
|
{
|
|
"name": "pts",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "Dialog"
|
|
},
|
|
{
|
|
"id": "-1139861572",
|
|
"predicate": "messages.channelMessages",
|
|
"params": [
|
|
{
|
|
"name": "flags",
|
|
"type": "#"
|
|
},
|
|
{
|
|
"name": "pts",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "count",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "messages",
|
|
"type": "Vector<Message>"
|
|
},
|
|
{
|
|
"name": "collapsed",
|
|
"type": "flags.0?Vector<MessageGroup>"
|
|
},
|
|
{
|
|
"name": "chats",
|
|
"type": "Vector<Chat>"
|
|
},
|
|
{
|
|
"name": "users",
|
|
"type": "Vector<User>"
|
|
}
|
|
],
|
|
"type": "messages.Messages"
|
|
},
|
|
{
|
|
"id": "1620337698",
|
|
"predicate": "updateChannelTooLong",
|
|
"params": [
|
|
{
|
|
"name": "channel_id",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "Update"
|
|
},
|
|
{
|
|
"id": "-1227598250",
|
|
"predicate": "updateChannel",
|
|
"params": [
|
|
{
|
|
"name": "channel_id",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "Update"
|
|
},
|
|
{
|
|
"id": "-1016324548",
|
|
"predicate": "updateChannelGroup",
|
|
"params": [
|
|
{
|
|
"name": "channel_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "group",
|
|
"type": "MessageGroup"
|
|
}
|
|
],
|
|
"type": "Update"
|
|
},
|
|
{
|
|
"id": "1656358105",
|
|
"predicate": "updateNewChannelMessage",
|
|
"params": [
|
|
{
|
|
"name": "message",
|
|
"type": "Message"
|
|
},
|
|
{
|
|
"name": "pts",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "pts_count",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "Update"
|
|
},
|
|
{
|
|
"id": "1108669311",
|
|
"predicate": "updateReadChannelInbox",
|
|
"params": [
|
|
{
|
|
"name": "channel_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "max_id",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "Update"
|
|
},
|
|
{
|
|
"id": "-1015733815",
|
|
"predicate": "updateDeleteChannelMessages",
|
|
"params": [
|
|
{
|
|
"name": "channel_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "messages",
|
|
"type": "Vector<int>"
|
|
},
|
|
{
|
|
"name": "pts",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "pts_count",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "Update"
|
|
},
|
|
{
|
|
"id": "-1734268085",
|
|
"predicate": "updateChannelMessageViews",
|
|
"params": [
|
|
{
|
|
"name": "channel_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "views",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "Update"
|
|
},
|
|
{
|
|
"id": "-292807034",
|
|
"predicate": "inputChannelEmpty",
|
|
"params": [],
|
|
"type": "InputChannel"
|
|
},
|
|
{
|
|
"id": "-1343524562",
|
|
"predicate": "inputChannel",
|
|
"params": [
|
|
{
|
|
"name": "channel_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "access_hash",
|
|
"type": "long"
|
|
}
|
|
],
|
|
"type": "InputChannel"
|
|
},
|
|
{
|
|
"id": "2131196633",
|
|
"predicate": "contacts.resolvedPeer",
|
|
"params": [
|
|
{
|
|
"name": "peer",
|
|
"type": "Peer"
|
|
},
|
|
{
|
|
"name": "chats",
|
|
"type": "Vector<Chat>"
|
|
},
|
|
{
|
|
"name": "users",
|
|
"type": "Vector<User>"
|
|
}
|
|
],
|
|
"type": "contacts.ResolvedPeer"
|
|
},
|
|
{
|
|
"id": "182649427",
|
|
"predicate": "messageRange",
|
|
"params": [
|
|
{
|
|
"name": "min_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "max_id",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "MessageRange"
|
|
},
|
|
{
|
|
"id": "-399216813",
|
|
"predicate": "messageGroup",
|
|
"params": [
|
|
{
|
|
"name": "min_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "max_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "count",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "date",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "MessageGroup"
|
|
},
|
|
{
|
|
"id": "1041346555",
|
|
"predicate": "updates.channelDifferenceEmpty",
|
|
"params": [
|
|
{
|
|
"name": "flags",
|
|
"type": "#"
|
|
},
|
|
{
|
|
"name": "final",
|
|
"type": "flags.0?true"
|
|
},
|
|
{
|
|
"name": "pts",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "timeout",
|
|
"type": "flags.1?int"
|
|
}
|
|
],
|
|
"type": "updates.ChannelDifference"
|
|
},
|
|
{
|
|
"id": "1578530374",
|
|
"predicate": "updates.channelDifferenceTooLong",
|
|
"params": [
|
|
{
|
|
"name": "flags",
|
|
"type": "#"
|
|
},
|
|
{
|
|
"name": "final",
|
|
"type": "flags.0?true"
|
|
},
|
|
{
|
|
"name": "pts",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "timeout",
|
|
"type": "flags.1?int"
|
|
},
|
|
{
|
|
"name": "top_message",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "top_important_message",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "read_inbox_max_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "unread_count",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "unread_important_count",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "messages",
|
|
"type": "Vector<Message>"
|
|
},
|
|
{
|
|
"name": "chats",
|
|
"type": "Vector<Chat>"
|
|
},
|
|
{
|
|
"name": "users",
|
|
"type": "Vector<User>"
|
|
}
|
|
],
|
|
"type": "updates.ChannelDifference"
|
|
},
|
|
{
|
|
"id": "543450958",
|
|
"predicate": "updates.channelDifference",
|
|
"params": [
|
|
{
|
|
"name": "flags",
|
|
"type": "#"
|
|
},
|
|
{
|
|
"name": "final",
|
|
"type": "flags.0?true"
|
|
},
|
|
{
|
|
"name": "pts",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "timeout",
|
|
"type": "flags.1?int"
|
|
},
|
|
{
|
|
"name": "new_messages",
|
|
"type": "Vector<Message>"
|
|
},
|
|
{
|
|
"name": "other_updates",
|
|
"type": "Vector<Update>"
|
|
},
|
|
{
|
|
"name": "chats",
|
|
"type": "Vector<Chat>"
|
|
},
|
|
{
|
|
"name": "users",
|
|
"type": "Vector<User>"
|
|
}
|
|
],
|
|
"type": "updates.ChannelDifference"
|
|
},
|
|
{
|
|
"id": "-1798033689",
|
|
"predicate": "channelMessagesFilterEmpty",
|
|
"params": [],
|
|
"type": "ChannelMessagesFilter"
|
|
},
|
|
{
|
|
"id": "-847783593",
|
|
"predicate": "channelMessagesFilter",
|
|
"params": [
|
|
{
|
|
"name": "flags",
|
|
"type": "#"
|
|
},
|
|
{
|
|
"name": "important_only",
|
|
"type": "flags.0?true"
|
|
},
|
|
{
|
|
"name": "ranges",
|
|
"type": "Vector<MessageRange>"
|
|
}
|
|
],
|
|
"type": "ChannelMessagesFilter"
|
|
},
|
|
{
|
|
"id": "-100588754",
|
|
"predicate": "channelMessagesFilterCollapsed",
|
|
"params": [],
|
|
"type": "ChannelMessagesFilter"
|
|
},
|
|
{
|
|
"id": "367766557",
|
|
"predicate": "channelParticipant",
|
|
"params": [
|
|
{
|
|
"name": "user_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "date",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "ChannelParticipant"
|
|
},
|
|
{
|
|
"id": "-1557620115",
|
|
"predicate": "channelParticipantSelf",
|
|
"params": [
|
|
{
|
|
"name": "user_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "inviter_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "date",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "ChannelParticipant"
|
|
},
|
|
{
|
|
"id": "-1861910545",
|
|
"predicate": "channelParticipantModerator",
|
|
"params": [
|
|
{
|
|
"name": "user_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "inviter_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "date",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "ChannelParticipant"
|
|
},
|
|
{
|
|
"id": "-1743180447",
|
|
"predicate": "channelParticipantEditor",
|
|
"params": [
|
|
{
|
|
"name": "user_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "inviter_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "date",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "ChannelParticipant"
|
|
},
|
|
{
|
|
"id": "-1933187430",
|
|
"predicate": "channelParticipantKicked",
|
|
"params": [
|
|
{
|
|
"name": "user_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "kicked_by",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "date",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "ChannelParticipant"
|
|
},
|
|
{
|
|
"id": "-471670279",
|
|
"predicate": "channelParticipantCreator",
|
|
"params": [
|
|
{
|
|
"name": "user_id",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "ChannelParticipant"
|
|
},
|
|
{
|
|
"id": "-566281095",
|
|
"predicate": "channelParticipantsRecent",
|
|
"params": [],
|
|
"type": "ChannelParticipantsFilter"
|
|
},
|
|
{
|
|
"id": "-1268741783",
|
|
"predicate": "channelParticipantsAdmins",
|
|
"params": [],
|
|
"type": "ChannelParticipantsFilter"
|
|
},
|
|
{
|
|
"id": "1010285434",
|
|
"predicate": "channelParticipantsKicked",
|
|
"params": [],
|
|
"type": "ChannelParticipantsFilter"
|
|
},
|
|
{
|
|
"id": "-1299865402",
|
|
"predicate": "channelRoleEmpty",
|
|
"params": [],
|
|
"type": "ChannelParticipantRole"
|
|
},
|
|
{
|
|
"id": "-1776756363",
|
|
"predicate": "channelRoleModerator",
|
|
"params": [],
|
|
"type": "ChannelParticipantRole"
|
|
},
|
|
{
|
|
"id": "-2113143156",
|
|
"predicate": "channelRoleEditor",
|
|
"params": [],
|
|
"type": "ChannelParticipantRole"
|
|
},
|
|
{
|
|
"id": "-177282392",
|
|
"predicate": "channels.channelParticipants",
|
|
"params": [
|
|
{
|
|
"name": "count",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "participants",
|
|
"type": "Vector<ChannelParticipant>"
|
|
},
|
|
{
|
|
"name": "users",
|
|
"type": "Vector<User>"
|
|
}
|
|
],
|
|
"type": "channels.ChannelParticipants"
|
|
},
|
|
{
|
|
"id": "-791039645",
|
|
"predicate": "channels.channelParticipant",
|
|
"params": [
|
|
{
|
|
"name": "participant",
|
|
"type": "ChannelParticipant"
|
|
},
|
|
{
|
|
"name": "users",
|
|
"type": "Vector<User>"
|
|
}
|
|
],
|
|
"type": "channels.ChannelParticipant"
|
|
},
|
|
{
|
|
"id": "1072550713",
|
|
"predicate": "true",
|
|
"params": [],
|
|
"type": "True"
|
|
},
|
|
{
|
|
"id": "-636267638",
|
|
"predicate": "chatParticipantCreator",
|
|
"params": [
|
|
{
|
|
"name": "user_id",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "ChatParticipant"
|
|
},
|
|
{
|
|
"id": "-489233354",
|
|
"predicate": "chatParticipantAdmin",
|
|
"params": [
|
|
{
|
|
"name": "user_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "inviter_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "date",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "ChatParticipant"
|
|
},
|
|
{
|
|
"id": "1855224129",
|
|
"predicate": "updateChatAdmins",
|
|
"params": [
|
|
{
|
|
"name": "chat_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "enabled",
|
|
"type": "Bool"
|
|
},
|
|
{
|
|
"name": "version",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "Update"
|
|
},
|
|
{
|
|
"id": "-1232070311",
|
|
"predicate": "updateChatParticipantAdmin",
|
|
"params": [
|
|
{
|
|
"name": "chat_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "user_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "is_admin",
|
|
"type": "Bool"
|
|
},
|
|
{
|
|
"name": "version",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"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<long>"
|
|
},
|
|
{
|
|
"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<string>"
|
|
},
|
|
{
|
|
"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": "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<WallPaper>"
|
|
},
|
|
{
|
|
"id": "227648840",
|
|
"method": "users.getUsers",
|
|
"params": [
|
|
{
|
|
"name": "id",
|
|
"type": "Vector<InputUser>"
|
|
}
|
|
],
|
|
"type": "Vector<User>"
|
|
},
|
|
{
|
|
"id": "-902781519",
|
|
"method": "users.getFullUser",
|
|
"params": [
|
|
{
|
|
"name": "id",
|
|
"type": "InputUser"
|
|
}
|
|
],
|
|
"type": "UserFull"
|
|
},
|
|
{
|
|
"id": "-995929106",
|
|
"method": "contacts.getStatuses",
|
|
"params": [],
|
|
"type": "Vector<ContactStatus>"
|
|
},
|
|
{
|
|
"id": "583445000",
|
|
"method": "contacts.getContacts",
|
|
"params": [
|
|
{
|
|
"name": "hash",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "contacts.Contacts"
|
|
},
|
|
{
|
|
"id": "-634342611",
|
|
"method": "contacts.importContacts",
|
|
"params": [
|
|
{
|
|
"name": "contacts",
|
|
"type": "Vector<InputContact>"
|
|
},
|
|
{
|
|
"name": "replace",
|
|
"type": "Bool"
|
|
}
|
|
],
|
|
"type": "contacts.ImportedContacts"
|
|
},
|
|
{
|
|
"id": "301470424",
|
|
"method": "contacts.search",
|
|
"params": [
|
|
{
|
|
"name": "q",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "contacts.Found"
|
|
},
|
|
{
|
|
"id": "-1902823612",
|
|
"method": "contacts.deleteContact",
|
|
"params": [
|
|
{
|
|
"name": "id",
|
|
"type": "InputUser"
|
|
}
|
|
],
|
|
"type": "contacts.Link"
|
|
},
|
|
{
|
|
"id": "1504393374",
|
|
"method": "contacts.deleteContacts",
|
|
"params": [
|
|
{
|
|
"name": "id",
|
|
"type": "Vector<InputUser>"
|
|
}
|
|
],
|
|
"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": "1109588596",
|
|
"method": "messages.getMessages",
|
|
"params": [
|
|
{
|
|
"name": "id",
|
|
"type": "Vector<int>"
|
|
}
|
|
],
|
|
"type": "messages.Messages"
|
|
},
|
|
{
|
|
"id": "-2053423812",
|
|
"method": "messages.getDialogs",
|
|
"params": [
|
|
{
|
|
"name": "offset",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "messages.Dialogs"
|
|
},
|
|
{
|
|
"id": "-1970355494",
|
|
"method": "messages.getHistory",
|
|
"params": [
|
|
{
|
|
"name": "peer",
|
|
"type": "InputPeer"
|
|
},
|
|
{
|
|
"name": "offset_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "add_offset",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "max_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "min_id",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "messages.Messages"
|
|
},
|
|
{
|
|
"id": "-732523960",
|
|
"method": "messages.search",
|
|
"params": [
|
|
{
|
|
"name": "flags",
|
|
"type": "#"
|
|
},
|
|
{
|
|
"name": "important_only",
|
|
"type": "flags.0?true"
|
|
},
|
|
{
|
|
"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": "238054714",
|
|
"method": "messages.readHistory",
|
|
"params": [
|
|
{
|
|
"name": "peer",
|
|
"type": "InputPeer"
|
|
},
|
|
{
|
|
"name": "max_id",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "messages.AffectedMessages"
|
|
},
|
|
{
|
|
"id": "-1212072999",
|
|
"method": "messages.deleteHistory",
|
|
"params": [
|
|
{
|
|
"name": "peer",
|
|
"type": "InputPeer"
|
|
},
|
|
{
|
|
"name": "max_id",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "messages.AffectedHistory"
|
|
},
|
|
{
|
|
"id": "-1510897371",
|
|
"method": "messages.deleteMessages",
|
|
"params": [
|
|
{
|
|
"name": "id",
|
|
"type": "Vector<int>"
|
|
}
|
|
],
|
|
"type": "messages.AffectedMessages"
|
|
},
|
|
{
|
|
"id": "94983360",
|
|
"method": "messages.receivedMessages",
|
|
"params": [
|
|
{
|
|
"name": "max_id",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "Vector<ReceivedNotifyMessage>"
|
|
},
|
|
{
|
|
"id": "-1551737264",
|
|
"method": "messages.setTyping",
|
|
"params": [
|
|
{
|
|
"name": "peer",
|
|
"type": "InputPeer"
|
|
},
|
|
{
|
|
"name": "action",
|
|
"type": "SendMessageAction"
|
|
}
|
|
],
|
|
"type": "Bool"
|
|
},
|
|
{
|
|
"id": "-91733382",
|
|
"method": "messages.sendMessage",
|
|
"params": [
|
|
{
|
|
"name": "flags",
|
|
"type": "#"
|
|
},
|
|
{
|
|
"name": "no_webpage",
|
|
"type": "flags.1?true"
|
|
},
|
|
{
|
|
"name": "broadcast",
|
|
"type": "flags.4?true"
|
|
},
|
|
{
|
|
"name": "peer",
|
|
"type": "InputPeer"
|
|
},
|
|
{
|
|
"name": "reply_to_msg_id",
|
|
"type": "flags.0?int"
|
|
},
|
|
{
|
|
"name": "message",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "random_id",
|
|
"type": "long"
|
|
},
|
|
{
|
|
"name": "reply_markup",
|
|
"type": "flags.2?ReplyMarkup"
|
|
},
|
|
{
|
|
"name": "entities",
|
|
"type": "flags.3?Vector<MessageEntity>"
|
|
}
|
|
],
|
|
"type": "Updates"
|
|
},
|
|
{
|
|
"id": "-923703407",
|
|
"method": "messages.sendMedia",
|
|
"params": [
|
|
{
|
|
"name": "flags",
|
|
"type": "#"
|
|
},
|
|
{
|
|
"name": "broadcast",
|
|
"type": "flags.4?true"
|
|
},
|
|
{
|
|
"name": "peer",
|
|
"type": "InputPeer"
|
|
},
|
|
{
|
|
"name": "reply_to_msg_id",
|
|
"type": "flags.0?int"
|
|
},
|
|
{
|
|
"name": "media",
|
|
"type": "InputMedia"
|
|
},
|
|
{
|
|
"name": "random_id",
|
|
"type": "long"
|
|
},
|
|
{
|
|
"name": "reply_markup",
|
|
"type": "flags.2?ReplyMarkup"
|
|
}
|
|
],
|
|
"type": "Updates"
|
|
},
|
|
{
|
|
"id": "1888354709",
|
|
"method": "messages.forwardMessages",
|
|
"params": [
|
|
{
|
|
"name": "flags",
|
|
"type": "#"
|
|
},
|
|
{
|
|
"name": "broadcast",
|
|
"type": "flags.4?true"
|
|
},
|
|
{
|
|
"name": "from_peer",
|
|
"type": "InputPeer"
|
|
},
|
|
{
|
|
"name": "id",
|
|
"type": "Vector<int>"
|
|
},
|
|
{
|
|
"name": "random_id",
|
|
"type": "Vector<long>"
|
|
},
|
|
{
|
|
"name": "to_peer",
|
|
"type": "InputPeer"
|
|
}
|
|
],
|
|
"type": "Updates"
|
|
},
|
|
{
|
|
"id": "1013621127",
|
|
"method": "messages.getChats",
|
|
"params": [
|
|
{
|
|
"name": "id",
|
|
"type": "Vector<int>"
|
|
}
|
|
],
|
|
"type": "messages.Chats"
|
|
},
|
|
{
|
|
"id": "998448230",
|
|
"method": "messages.getFullChat",
|
|
"params": [
|
|
{
|
|
"name": "chat_id",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "messages.ChatFull"
|
|
},
|
|
{
|
|
"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": "-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": "-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<InputAppEvent>"
|
|
}
|
|
],
|
|
"type": "Bool"
|
|
},
|
|
{
|
|
"id": "-1532407418",
|
|
"method": "help.getInviteText",
|
|
"params": [
|
|
{
|
|
"name": "lang_code",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "help.InviteText"
|
|
},
|
|
{
|
|
"id": "-2016444625",
|
|
"method": "photos.deletePhotos",
|
|
"params": [
|
|
{
|
|
"name": "id",
|
|
"type": "Vector<InputPhoto>"
|
|
}
|
|
],
|
|
"type": "Vector<long>"
|
|
},
|
|
{
|
|
"id": "-1848823128",
|
|
"method": "photos.getUserPhotos",
|
|
"params": [
|
|
{
|
|
"name": "user_id",
|
|
"type": "InputUser"
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "max_id",
|
|
"type": "long"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "photos.Photos"
|
|
},
|
|
{
|
|
"id": "865483769",
|
|
"method": "messages.forwardMessage",
|
|
"params": [
|
|
{
|
|
"name": "peer",
|
|
"type": "InputPeer"
|
|
},
|
|
{
|
|
"name": "id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "random_id",
|
|
"type": "long"
|
|
}
|
|
],
|
|
"type": "Updates"
|
|
},
|
|
{
|
|
"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<long>"
|
|
},
|
|
{
|
|
"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": "-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": "-2065352905",
|
|
"method": "contacts.exportCard",
|
|
"params": [],
|
|
"type": "Vector<int>"
|
|
},
|
|
{
|
|
"id": "1340184318",
|
|
"method": "contacts.importCard",
|
|
"params": [
|
|
{
|
|
"name": "export_card",
|
|
"type": "Vector<int>"
|
|
}
|
|
],
|
|
"type": "User"
|
|
},
|
|
{
|
|
"id": "229241832",
|
|
"method": "auth.sendSms",
|
|
"params": [
|
|
{
|
|
"name": "phone_number",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "phone_code_hash",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "Bool"
|
|
},
|
|
{
|
|
"id": "916930423",
|
|
"method": "messages.readMessageContents",
|
|
"params": [
|
|
{
|
|
"name": "id",
|
|
"type": "Vector<int>"
|
|
}
|
|
],
|
|
"type": "messages.AffectedMessages"
|
|
},
|
|
{
|
|
"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": "-623130288",
|
|
"method": "account.getPrivacy",
|
|
"params": [
|
|
{
|
|
"name": "key",
|
|
"type": "InputPrivacyKey"
|
|
}
|
|
],
|
|
"type": "account.PrivacyRules"
|
|
},
|
|
{
|
|
"id": "-906486552",
|
|
"method": "account.setPrivacy",
|
|
"params": [
|
|
{
|
|
"name": "key",
|
|
"type": "InputPrivacyKey"
|
|
},
|
|
{
|
|
"name": "rules",
|
|
"type": "Vector<InputPrivacyRule>"
|
|
}
|
|
],
|
|
"type": "account.PrivacyRules"
|
|
},
|
|
{
|
|
"id": "1099779595",
|
|
"method": "account.deleteAccount",
|
|
"params": [
|
|
{
|
|
"name": "reason",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "Bool"
|
|
},
|
|
{
|
|
"id": "150761757",
|
|
"method": "account.getAccountTTL",
|
|
"params": [],
|
|
"type": "AccountDaysTTL"
|
|
},
|
|
{
|
|
"id": "608323678",
|
|
"method": "account.setAccountTTL",
|
|
"params": [
|
|
{
|
|
"name": "ttl",
|
|
"type": "AccountDaysTTL"
|
|
}
|
|
],
|
|
"type": "Bool"
|
|
},
|
|
{
|
|
"id": "-627372787",
|
|
"method": "invokeWithLayer",
|
|
"params": [
|
|
{
|
|
"name": "layer",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "query",
|
|
"type": "!X"
|
|
}
|
|
],
|
|
"type": "X"
|
|
},
|
|
{
|
|
"id": "-113456221",
|
|
"method": "contacts.resolveUsername",
|
|
"params": [
|
|
{
|
|
"name": "username",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "contacts.ResolvedPeer"
|
|
},
|
|
{
|
|
"id": "-1543001868",
|
|
"method": "account.sendChangePhoneCode",
|
|
"params": [
|
|
{
|
|
"name": "phone_number",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "account.SentChangePhoneCode"
|
|
},
|
|
{
|
|
"id": "1891839707",
|
|
"method": "account.changePhone",
|
|
"params": [
|
|
{
|
|
"name": "phone_number",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "phone_code_hash",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "phone_code",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "User"
|
|
},
|
|
{
|
|
"id": "-1373446075",
|
|
"method": "messages.getStickers",
|
|
"params": [
|
|
{
|
|
"name": "emoticon",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "hash",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "messages.Stickers"
|
|
},
|
|
{
|
|
"id": "-1438922648",
|
|
"method": "messages.getAllStickers",
|
|
"params": [
|
|
{
|
|
"name": "hash",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "messages.AllStickers"
|
|
},
|
|
{
|
|
"id": "954152242",
|
|
"method": "account.updateDeviceLocked",
|
|
"params": [
|
|
{
|
|
"name": "period",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "Bool"
|
|
},
|
|
{
|
|
"id": "1418342645",
|
|
"method": "account.getPassword",
|
|
"params": [],
|
|
"type": "account.Password"
|
|
},
|
|
{
|
|
"id": "174260510",
|
|
"method": "auth.checkPassword",
|
|
"params": [
|
|
{
|
|
"name": "password_hash",
|
|
"type": "bytes"
|
|
}
|
|
],
|
|
"type": "auth.Authorization"
|
|
},
|
|
{
|
|
"id": "-847825880",
|
|
"method": "contacts.getSuggested",
|
|
"params": [
|
|
{
|
|
"name": "limit",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "contacts.Suggested"
|
|
},
|
|
{
|
|
"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"
|
|
},
|
|
{
|
|
"id": "-1080796745",
|
|
"method": "invokeWithoutUpdates",
|
|
"params": [
|
|
{
|
|
"name": "query",
|
|
"type": "!X"
|
|
}
|
|
],
|
|
"type": "X"
|
|
},
|
|
{
|
|
"id": "2106086025",
|
|
"method": "messages.exportChatInvite",
|
|
"params": [
|
|
{
|
|
"name": "chat_id",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "ExportedChatInvite"
|
|
},
|
|
{
|
|
"id": "1051570619",
|
|
"method": "messages.checkChatInvite",
|
|
"params": [
|
|
{
|
|
"name": "hash",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "ChatInvite"
|
|
},
|
|
{
|
|
"id": "1817183516",
|
|
"method": "messages.importChatInvite",
|
|
"params": [
|
|
{
|
|
"name": "hash",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "Updates"
|
|
},
|
|
{
|
|
"id": "639215886",
|
|
"method": "messages.getStickerSet",
|
|
"params": [
|
|
{
|
|
"name": "stickerset",
|
|
"type": "InputStickerSet"
|
|
}
|
|
],
|
|
"type": "messages.StickerSet"
|
|
},
|
|
{
|
|
"id": "2066793382",
|
|
"method": "messages.installStickerSet",
|
|
"params": [
|
|
{
|
|
"name": "stickerset",
|
|
"type": "InputStickerSet"
|
|
},
|
|
{
|
|
"name": "disabled",
|
|
"type": "Bool"
|
|
}
|
|
],
|
|
"type": "Bool"
|
|
},
|
|
{
|
|
"id": "-110209570",
|
|
"method": "messages.uninstallStickerSet",
|
|
"params": [
|
|
{
|
|
"name": "stickerset",
|
|
"type": "InputStickerSet"
|
|
}
|
|
],
|
|
"type": "Bool"
|
|
},
|
|
{
|
|
"id": "1738800940",
|
|
"method": "auth.importBotAuthorization",
|
|
"params": [
|
|
{
|
|
"name": "flags",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "api_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "api_hash",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "bot_auth_token",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "auth.Authorization"
|
|
},
|
|
{
|
|
"id": "457052156",
|
|
"method": "messages.startBot",
|
|
"params": [
|
|
{
|
|
"name": "bot",
|
|
"type": "InputUser"
|
|
},
|
|
{
|
|
"name": "chat_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "random_id",
|
|
"type": "long"
|
|
},
|
|
{
|
|
"name": "start_param",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "Updates"
|
|
},
|
|
{
|
|
"id": "1537966002",
|
|
"method": "help.getAppChangelog",
|
|
"params": [
|
|
{
|
|
"name": "device_model",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "system_version",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "app_version",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "lang_code",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "help.AppChangelog"
|
|
},
|
|
{
|
|
"id": "-820669733",
|
|
"method": "messages.reportSpam",
|
|
"params": [
|
|
{
|
|
"name": "peer",
|
|
"type": "InputPeer"
|
|
}
|
|
],
|
|
"type": "Bool"
|
|
},
|
|
{
|
|
"id": "-993483427",
|
|
"method": "messages.getMessagesViews",
|
|
"params": [
|
|
{
|
|
"name": "peer",
|
|
"type": "InputPeer"
|
|
},
|
|
{
|
|
"name": "id",
|
|
"type": "Vector<int>"
|
|
},
|
|
{
|
|
"name": "increment",
|
|
"type": "Bool"
|
|
}
|
|
],
|
|
"type": "Vector<int>"
|
|
},
|
|
{
|
|
"id": "-1154295872",
|
|
"method": "updates.getChannelDifference",
|
|
"params": [
|
|
{
|
|
"name": "channel",
|
|
"type": "InputChannel"
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"type": "ChannelMessagesFilter"
|
|
},
|
|
{
|
|
"name": "pts",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "updates.ChannelDifference"
|
|
},
|
|
{
|
|
"id": "-1445735863",
|
|
"method": "channels.getDialogs",
|
|
"params": [
|
|
{
|
|
"name": "offset",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "messages.Dialogs"
|
|
},
|
|
{
|
|
"id": "-575067701",
|
|
"method": "channels.getImportantHistory",
|
|
"params": [
|
|
{
|
|
"name": "channel",
|
|
"type": "InputChannel"
|
|
},
|
|
{
|
|
"name": "offset_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "add_offset",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "max_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "min_id",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "messages.Messages"
|
|
},
|
|
{
|
|
"id": "-871347913",
|
|
"method": "channels.readHistory",
|
|
"params": [
|
|
{
|
|
"name": "channel",
|
|
"type": "InputChannel"
|
|
},
|
|
{
|
|
"name": "max_id",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "Bool"
|
|
},
|
|
{
|
|
"id": "-2067661490",
|
|
"method": "channels.deleteMessages",
|
|
"params": [
|
|
{
|
|
"name": "channel",
|
|
"type": "InputChannel"
|
|
},
|
|
{
|
|
"name": "id",
|
|
"type": "Vector<int>"
|
|
}
|
|
],
|
|
"type": "messages.AffectedMessages"
|
|
},
|
|
{
|
|
"id": "-787622117",
|
|
"method": "channels.deleteUserHistory",
|
|
"params": [
|
|
{
|
|
"name": "channel",
|
|
"type": "InputChannel"
|
|
},
|
|
{
|
|
"name": "user_id",
|
|
"type": "InputUser"
|
|
}
|
|
],
|
|
"type": "messages.AffectedHistory"
|
|
},
|
|
{
|
|
"id": "-32999408",
|
|
"method": "channels.reportSpam",
|
|
"params": [
|
|
{
|
|
"name": "channel",
|
|
"type": "InputChannel"
|
|
},
|
|
{
|
|
"name": "user_id",
|
|
"type": "InputUser"
|
|
},
|
|
{
|
|
"name": "id",
|
|
"type": "Vector<int>"
|
|
}
|
|
],
|
|
"type": "Bool"
|
|
},
|
|
{
|
|
"id": "-1814580409",
|
|
"method": "channels.getMessages",
|
|
"params": [
|
|
{
|
|
"name": "channel",
|
|
"type": "InputChannel"
|
|
},
|
|
{
|
|
"name": "id",
|
|
"type": "Vector<int>"
|
|
}
|
|
],
|
|
"type": "messages.Messages"
|
|
},
|
|
{
|
|
"id": "618237842",
|
|
"method": "channels.getParticipants",
|
|
"params": [
|
|
{
|
|
"name": "channel",
|
|
"type": "InputChannel"
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"type": "ChannelParticipantsFilter"
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "channels.ChannelParticipants"
|
|
},
|
|
{
|
|
"id": "1416484774",
|
|
"method": "channels.getParticipant",
|
|
"params": [
|
|
{
|
|
"name": "channel",
|
|
"type": "InputChannel"
|
|
},
|
|
{
|
|
"name": "user_id",
|
|
"type": "InputUser"
|
|
}
|
|
],
|
|
"type": "channels.ChannelParticipant"
|
|
},
|
|
{
|
|
"id": "176122811",
|
|
"method": "channels.getChannels",
|
|
"params": [
|
|
{
|
|
"name": "id",
|
|
"type": "Vector<InputChannel>"
|
|
}
|
|
],
|
|
"type": "messages.Chats"
|
|
},
|
|
{
|
|
"id": "141781513",
|
|
"method": "channels.getFullChannel",
|
|
"params": [
|
|
{
|
|
"name": "channel",
|
|
"type": "InputChannel"
|
|
}
|
|
],
|
|
"type": "messages.ChatFull"
|
|
},
|
|
{
|
|
"id": "1428281412",
|
|
"method": "channels.createChannel",
|
|
"params": [
|
|
{
|
|
"name": "flags",
|
|
"type": "#"
|
|
},
|
|
{
|
|
"name": "broadcast",
|
|
"type": "flags.0?true"
|
|
},
|
|
{
|
|
"name": "title",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "about",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "users",
|
|
"type": "Vector<InputUser>"
|
|
}
|
|
],
|
|
"type": "Updates"
|
|
},
|
|
{
|
|
"id": "333610782",
|
|
"method": "channels.editAbout",
|
|
"params": [
|
|
{
|
|
"name": "channel",
|
|
"type": "InputChannel"
|
|
},
|
|
{
|
|
"name": "about",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "Bool"
|
|
},
|
|
{
|
|
"id": "1387358562",
|
|
"method": "channels.editAdmin",
|
|
"params": [
|
|
{
|
|
"name": "channel",
|
|
"type": "InputChannel"
|
|
},
|
|
{
|
|
"name": "user_id",
|
|
"type": "InputUser"
|
|
},
|
|
{
|
|
"name": "role",
|
|
"type": "ChannelParticipantRole"
|
|
}
|
|
],
|
|
"type": "Bool"
|
|
},
|
|
{
|
|
"id": "1450044624",
|
|
"method": "channels.editTitle",
|
|
"params": [
|
|
{
|
|
"name": "channel",
|
|
"type": "InputChannel"
|
|
},
|
|
{
|
|
"name": "title",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "Updates"
|
|
},
|
|
{
|
|
"id": "-248621111",
|
|
"method": "channels.editPhoto",
|
|
"params": [
|
|
{
|
|
"name": "channel",
|
|
"type": "InputChannel"
|
|
},
|
|
{
|
|
"name": "photo",
|
|
"type": "InputChatPhoto"
|
|
}
|
|
],
|
|
"type": "Updates"
|
|
},
|
|
{
|
|
"id": "-1432183160",
|
|
"method": "channels.toggleComments",
|
|
"params": [
|
|
{
|
|
"name": "channel",
|
|
"type": "InputChannel"
|
|
},
|
|
{
|
|
"name": "enabled",
|
|
"type": "Bool"
|
|
}
|
|
],
|
|
"type": "Updates"
|
|
},
|
|
{
|
|
"id": "283557164",
|
|
"method": "channels.checkUsername",
|
|
"params": [
|
|
{
|
|
"name": "channel",
|
|
"type": "InputChannel"
|
|
},
|
|
{
|
|
"name": "username",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "Bool"
|
|
},
|
|
{
|
|
"id": "890549214",
|
|
"method": "channels.updateUsername",
|
|
"params": [
|
|
{
|
|
"name": "channel",
|
|
"type": "InputChannel"
|
|
},
|
|
{
|
|
"name": "username",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"type": "Bool"
|
|
},
|
|
{
|
|
"id": "615851205",
|
|
"method": "channels.joinChannel",
|
|
"params": [
|
|
{
|
|
"name": "channel",
|
|
"type": "InputChannel"
|
|
}
|
|
],
|
|
"type": "Updates"
|
|
},
|
|
{
|
|
"id": "-130635115",
|
|
"method": "channels.leaveChannel",
|
|
"params": [
|
|
{
|
|
"name": "channel",
|
|
"type": "InputChannel"
|
|
}
|
|
],
|
|
"type": "Updates"
|
|
},
|
|
{
|
|
"id": "429865580",
|
|
"method": "channels.inviteToChannel",
|
|
"params": [
|
|
{
|
|
"name": "channel",
|
|
"type": "InputChannel"
|
|
},
|
|
{
|
|
"name": "users",
|
|
"type": "Vector<InputUser>"
|
|
}
|
|
],
|
|
"type": "Updates"
|
|
},
|
|
{
|
|
"id": "-1502421484",
|
|
"method": "channels.kickFromChannel",
|
|
"params": [
|
|
{
|
|
"name": "channel",
|
|
"type": "InputChannel"
|
|
},
|
|
{
|
|
"name": "user_id",
|
|
"type": "InputUser"
|
|
},
|
|
{
|
|
"name": "kicked",
|
|
"type": "Bool"
|
|
}
|
|
],
|
|
"type": "Updates"
|
|
},
|
|
{
|
|
"id": "-950663035",
|
|
"method": "channels.exportInvite",
|
|
"params": [
|
|
{
|
|
"name": "channel",
|
|
"type": "InputChannel"
|
|
}
|
|
],
|
|
"type": "ExportedChatInvite"
|
|
},
|
|
{
|
|
"id": "-1072619549",
|
|
"method": "channels.deleteChannel",
|
|
"params": [
|
|
{
|
|
"name": "channel",
|
|
"type": "InputChannel"
|
|
}
|
|
],
|
|
"type": "Updates"
|
|
},
|
|
{
|
|
"id": "-326379039",
|
|
"method": "messages.toggleChatAdmins",
|
|
"params": [
|
|
{
|
|
"name": "chat_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "enabled",
|
|
"type": "Bool"
|
|
}
|
|
],
|
|
"type": "Updates"
|
|
},
|
|
{
|
|
"id": "-1444503762",
|
|
"method": "messages.editChatAdmin",
|
|
"params": [
|
|
{
|
|
"name": "chat_id",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "user_id",
|
|
"type": "InputUser"
|
|
},
|
|
{
|
|
"name": "is_admin",
|
|
"type": "Bool"
|
|
}
|
|
],
|
|
"type": "Bool"
|
|
}
|
|
]
|
|
} |