1
0
mirror of https://github.com/danog/tl-schema.git synced 2025-01-22 13:41:18 +01:00

Add layer 070

This commit is contained in:
Viktor Oreshkin 2017-08-16 15:26:43 +03:00
parent 4f017b8b6b
commit 2862b4e08d
5 changed files with 822 additions and 71 deletions

4
l070/README.md Normal file
View File

@ -0,0 +1,4 @@
### Version info
App|Version/Hash|Date
---|---|---
TDesktop|cf02a4cc3173871a6dbb2bb1725ded2f4a5c0e42|12.07.17

584
l070/schema.json Normal file
View File

@ -0,0 +1,584 @@
{
"constructors": [
{
"id": "792191537",
"predicate": "inputMediaUploadedPhoto",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "file",
"type": "InputFile"
},
{
"name": "caption",
"type": "string"
},
{
"name": "stickers",
"type": "flags.0?Vector<InputDocument>"
},
{
"name": "ttl_seconds",
"type": "flags.1?int"
}
],
"type": "InputMedia"
},
{
"id": "-2114308294",
"predicate": "inputMediaPhoto",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "id",
"type": "InputPhoto"
},
{
"name": "caption",
"type": "string"
},
{
"name": "ttl_seconds",
"type": "flags.0?int"
}
],
"type": "InputMedia"
},
{
"id": "-476700163",
"predicate": "inputMediaUploadedDocument",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "file",
"type": "InputFile"
},
{
"name": "thumb",
"type": "flags.2?InputFile"
},
{
"name": "mime_type",
"type": "string"
},
{
"name": "attributes",
"type": "Vector<DocumentAttribute>"
},
{
"name": "caption",
"type": "string"
},
{
"name": "stickers",
"type": "flags.0?Vector<InputDocument>"
},
{
"name": "ttl_seconds",
"type": "flags.1?int"
}
],
"type": "InputMedia"
},
{
"id": "1523279502",
"predicate": "inputMediaDocument",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "id",
"type": "InputDocument"
},
{
"name": "caption",
"type": "string"
},
{
"name": "ttl_seconds",
"type": "flags.0?int"
}
],
"type": "InputMedia"
},
{
"id": "153267905",
"predicate": "inputMediaPhotoExternal",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "url",
"type": "string"
},
{
"name": "caption",
"type": "string"
},
{
"name": "ttl_seconds",
"type": "flags.0?int"
}
],
"type": "InputMedia"
},
{
"id": "-1225309387",
"predicate": "inputMediaDocumentExternal",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "url",
"type": "string"
},
{
"name": "caption",
"type": "string"
},
{
"name": "ttl_seconds",
"type": "flags.0?int"
}
],
"type": "InputMedia"
},
{
"id": "213142300",
"predicate": "channel",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "creator",
"type": "flags.0?true"
},
{
"name": "left",
"type": "flags.2?true"
},
{
"name": "editor",
"type": "flags.3?true"
},
{
"name": "broadcast",
"type": "flags.5?true"
},
{
"name": "verified",
"type": "flags.7?true"
},
{
"name": "megagroup",
"type": "flags.8?true"
},
{
"name": "restricted",
"type": "flags.9?true"
},
{
"name": "democracy",
"type": "flags.10?true"
},
{
"name": "signatures",
"type": "flags.11?true"
},
{
"name": "min",
"type": "flags.12?true"
},
{
"name": "id",
"type": "int"
},
{
"name": "access_hash",
"type": "flags.13?long"
},
{
"name": "title",
"type": "string"
},
{
"name": "username",
"type": "flags.6?string"
},
{
"name": "photo",
"type": "ChatPhoto"
},
{
"name": "date",
"type": "int"
},
{
"name": "version",
"type": "int"
},
{
"name": "restriction_reason",
"type": "flags.9?string"
},
{
"name": "admin_rights",
"type": "flags.14?ChannelAdminRights"
},
{
"name": "banned_rights",
"type": "flags.15?ChannelBannedRights"
}
],
"type": "Chat"
},
{
"id": "-1864508399",
"predicate": "message",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "out",
"type": "flags.1?true"
},
{
"name": "mentioned",
"type": "flags.4?true"
},
{
"name": "media_unread",
"type": "flags.5?true"
},
{
"name": "silent",
"type": "flags.13?true"
},
{
"name": "post",
"type": "flags.14?true"
},
{
"name": "id",
"type": "int"
},
{
"name": "from_id",
"type": "flags.8?int"
},
{
"name": "to_id",
"type": "Peer"
},
{
"name": "fwd_from",
"type": "flags.2?MessageFwdHeader"
},
{
"name": "via_bot_id",
"type": "flags.11?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"
},
{
"name": "edit_date",
"type": "flags.15?int"
},
{
"name": "post_author",
"type": "flags.16?string"
}
],
"type": "Message"
},
{
"id": "-1256047857",
"predicate": "messageMediaPhoto",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "photo",
"type": "flags.0?Photo"
},
{
"name": "caption",
"type": "flags.1?string"
},
{
"name": "ttl_seconds",
"type": "flags.2?int"
}
],
"type": "MessageMedia"
},
{
"id": "2084836563",
"predicate": "messageMediaDocument",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "document",
"type": "flags.0?Document"
},
{
"name": "caption",
"type": "flags.1?string"
},
{
"name": "ttl_seconds",
"type": "flags.2?int"
}
],
"type": "MessageMedia"
},
{
"id": "2010127419",
"predicate": "contacts.importedContacts",
"params": [
{
"name": "imported",
"type": "Vector<ImportedContact>"
},
{
"name": "popular_invites",
"type": "Vector<PopularContact>"
},
{
"name": "retry_contacts",
"type": "Vector<long>"
},
{
"name": "users",
"type": "Vector<User>"
}
],
"type": "contacts.ImportedContacts"
},
{
"id": "-363659686",
"predicate": "upload.fileCdnRedirect",
"params": [
{
"name": "dc_id",
"type": "int"
},
{
"name": "file_token",
"type": "bytes"
},
{
"name": "encryption_key",
"type": "bytes"
},
{
"name": "encryption_iv",
"type": "bytes"
},
{
"name": "cdn_file_hashes",
"type": "Vector<CdnFileHash>"
}
],
"type": "upload.File"
},
{
"id": "-85986132",
"predicate": "messageFwdHeader",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "from_id",
"type": "flags.0?int"
},
{
"name": "date",
"type": "int"
},
{
"name": "channel_id",
"type": "flags.1?int"
},
{
"name": "channel_post",
"type": "flags.2?int"
},
{
"name": "post_author",
"type": "flags.3?string"
}
],
"type": "MessageFwdHeader"
},
{
"id": "1200788123",
"predicate": "messageActionScreenshotTaken",
"params": [],
"type": "MessageAction"
},
{
"id": "1558266229",
"predicate": "popularContact",
"params": [
{
"name": "client_id",
"type": "long"
},
{
"name": "importers",
"type": "int"
}
],
"type": "PopularContact"
},
{
"id": "2012136335",
"predicate": "cdnFileHash",
"params": [
{
"name": "offset",
"type": "int"
},
{
"name": "limit",
"type": "int"
},
{
"name": "hash",
"type": "bytes"
}
],
"type": "CdnFileHash"
}
],
"methods": [
{
"id": "452533257",
"method": "upload.reuploadCdnFile",
"params": [
{
"name": "file_token",
"type": "bytes"
},
{
"name": "request_token",
"type": "bytes"
}
],
"type": "Vector<CdnFileHash>"
},
{
"id": "-143257775",
"method": "stickers.removeStickerFromSet",
"params": [
{
"name": "sticker",
"type": "InputDocument"
}
],
"type": "messages.StickerSet"
},
{
"id": "-4795190",
"method": "stickers.changeStickerPosition",
"params": [
{
"name": "sticker",
"type": "InputDocument"
},
{
"name": "position",
"type": "int"
}
],
"type": "messages.StickerSet"
},
{
"id": "-914493408",
"method": "messages.sendScreenshotNotification",
"params": [
{
"name": "peer",
"type": "InputPeer"
},
{
"name": "reply_to_msg_id",
"type": "int"
},
{
"name": "random_id",
"type": "long"
}
],
"type": "Updates"
},
{
"id": "-149567365",
"method": "upload.getCdnFileHashes",
"params": [
{
"name": "file_token",
"type": "bytes"
},
{
"name": "offset",
"type": "int"
}
],
"type": "Vector<CdnFileHash>"
}
]
}

40
l070/schema.tl Normal file
View File

@ -0,0 +1,40 @@
---types---
// inputMediaUploadedThumbDocument#50d88cae flags:# file:InputFile thumb:InputFile mime_type:string attributes:Vector<DocumentAttribute> caption:string stickers:flags.0?Vector<InputDocument> = InputMedia;
// inputMediaUploadedPhoto#630c9af1 flags:# file:InputFile caption:string stickers:flags.0?Vector<InputDocument> = InputMedia;
inputMediaUploadedPhoto#2f37e231 flags:# file:InputFile caption:string stickers:flags.0?Vector<InputDocument> ttl_seconds:flags.1?int = InputMedia;
// inputMediaPhoto#e9bfb4f3 id:InputPhoto caption:string = InputMedia;
inputMediaPhoto#81fa373a flags:# id:InputPhoto caption:string ttl_seconds:flags.0?int = InputMedia;
// inputMediaUploadedDocument#d070f1e9 flags:# file:InputFile mime_type:string attributes:Vector<DocumentAttribute> caption:string stickers:flags.0?Vector<InputDocument> = InputMedia;
inputMediaUploadedDocument#e39621fd flags:# file:InputFile thumb:flags.2?InputFile mime_type:string attributes:Vector<DocumentAttribute> caption:string stickers:flags.0?Vector<InputDocument> ttl_seconds:flags.1?int = InputMedia;
// inputMediaDocument#1a77f29c id:InputDocument caption:string = InputMedia;
inputMediaDocument#5acb668e flags:# id:InputDocument caption:string ttl_seconds:flags.0?int = InputMedia;
// inputMediaPhotoExternal#b55f4f18 url:string caption:string = InputMedia;
inputMediaPhotoExternal#922aec1 flags:# url:string caption:string ttl_seconds:flags.0?int = InputMedia;
// inputMediaDocumentExternal#e5e9607c url:string caption:string = InputMedia;
inputMediaDocumentExternal#b6f74335 flags:# url:string caption:string ttl_seconds:flags.0?int = InputMedia;
// channel#cb44b1c flags:# creator:flags.0?true left:flags.2?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true democracy:flags.10?true signatures:flags.11?true min:flags.12?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?string admin_rights:flags.14?ChannelAdminRights banned_rights:flags.15?ChannelBannedRights = Chat;
channel#cb44b1c flags:# creator:flags.0?true left:flags.2?true editor:flags.3?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true democracy:flags.10?true signatures:flags.11?true min:flags.12?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?string admin_rights:flags.14?ChannelAdminRights banned_rights:flags.15?ChannelBannedRights = Chat;
// message#c09be45f flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector<MessageEntity> views:flags.10?int edit_date:flags.15?int = Message;
message#90dddc11 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector<MessageEntity> views:flags.10?int edit_date:flags.15?int post_author:flags.16?string = Message;
// messageMediaPhoto#3d8ce53d photo:Photo caption:string = MessageMedia;
messageMediaPhoto#b5223b0f flags:# photo:flags.0?Photo caption:flags.1?string ttl_seconds:flags.2?int = MessageMedia;
// messageMediaDocument#f3e02ea8 document:Document caption:string = MessageMedia;
messageMediaDocument#7c4414d3 flags:# document:flags.0?Document caption:flags.1?string ttl_seconds:flags.2?int = MessageMedia;
// contacts.importedContacts#ad524315 imported:Vector<ImportedContact> retry_contacts:Vector<long> users:Vector<User> = contacts.ImportedContacts;
contacts.importedContacts#77d01c3b imported:Vector<ImportedContact> popular_invites:Vector<PopularContact> retry_contacts:Vector<long> users:Vector<User> = contacts.ImportedContacts;
// upload.fileCdnRedirect#1508485a dc_id:int file_token:bytes encryption_key:bytes encryption_iv:bytes = upload.File;
upload.fileCdnRedirect#ea52fe5a dc_id:int file_token:bytes encryption_key:bytes encryption_iv:bytes cdn_file_hashes:Vector<CdnFileHash> = upload.File;
// messageFwdHeader#c786ddcb flags:# from_id:flags.0?int date:int channel_id:flags.1?int channel_post:flags.2?int = MessageFwdHeader;
messageFwdHeader#fadff4ac flags:# from_id:flags.0?int date:int channel_id:flags.1?int channel_post:flags.2?int post_author:flags.3?string = MessageFwdHeader;
messageActionScreenshotTaken#4792929b = MessageAction;
popularContact#5ce14175 client_id:long importers:int = PopularContact;
cdnFileHash#77eec38f offset:int limit:int hash:bytes = CdnFileHash;
---functions---
// upload.reuploadCdnFile#2e7a2020 file_token:bytes request_token:bytes = Bool;
upload.reuploadCdnFile#1af91c09 file_token:bytes request_token:bytes = Vector<CdnFileHash>;
// stickers.removeStickerFromSet#4255934 sticker:InputDocument = Bool;
stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet;
// stickers.changeStickerPosition#4ed705ca sticker:InputDocument position:int = Bool;
stickers.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet;
messages.sendScreenshotNotification#c97df020 peer:InputPeer reply_to_msg_id:int random_id:long = Updates;
upload.getCdnFileHashes#f715c87b file_token:bytes offset:int = Vector<CdnFileHash>;

View File

@ -121,7 +121,7 @@
"type": "InputMedia"
},
{
"id": "1661770481",
"id": "792191537",
"predicate": "inputMediaUploadedPhoto",
"params": [
{
@ -139,14 +139,22 @@
{
"name": "stickers",
"type": "flags.0?Vector<InputDocument>"
},
{
"name": "ttl_seconds",
"type": "flags.1?int"
}
],
"type": "InputMedia"
},
{
"id": "-373312269",
"id": "-2114308294",
"predicate": "inputMediaPhoto",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "id",
"type": "InputPhoto"
@ -154,6 +162,10 @@
{
"name": "caption",
"type": "string"
},
{
"name": "ttl_seconds",
"type": "flags.0?int"
}
],
"type": "InputMedia"
@ -692,7 +704,7 @@
"type": "Message"
},
{
"id": "-1063525281",
"id": "-1864508399",
"predicate": "message",
"params": [
{
@ -770,6 +782,10 @@
{
"name": "edit_date",
"type": "flags.15?int"
},
{
"name": "post_author",
"type": "flags.16?string"
}
],
"type": "Message"
@ -836,16 +852,24 @@
"type": "MessageMedia"
},
{
"id": "1032643901",
"id": "-1256047857",
"predicate": "messageMediaPhoto",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "photo",
"type": "Photo"
"type": "flags.0?Photo"
},
{
"name": "caption",
"type": "string"
"type": "flags.1?string"
},
{
"name": "ttl_seconds",
"type": "flags.2?int"
}
],
"type": "MessageMedia"
@ -1488,13 +1512,17 @@
"type": "contacts.Contacts"
},
{
"id": "-1387117803",
"id": "2010127419",
"predicate": "contacts.importedContacts",
"params": [
{
"name": "imported",
"type": "Vector<ImportedContact>"
},
{
"name": "popular_invites",
"type": "Vector<PopularContact>"
},
{
"name": "retry_contacts",
"type": "Vector<long>"
@ -3088,7 +3116,7 @@
"type": "Update"
},
{
"id": "-797904407",
"id": "-476700163",
"predicate": "inputMediaUploadedDocument",
"params": [
{
@ -3099,6 +3127,10 @@
"name": "file",
"type": "InputFile"
},
{
"name": "thumb",
"type": "flags.2?InputFile"
},
{
"name": "mime_type",
"type": "string"
@ -3114,49 +3146,22 @@
{
"name": "stickers",
"type": "flags.0?Vector<InputDocument>"
},
{
"name": "ttl_seconds",
"type": "flags.1?int"
}
],
"type": "InputMedia"
},
{
"id": "1356369070",
"predicate": "inputMediaUploadedThumbDocument",
"id": "1523279502",
"predicate": "inputMediaDocument",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "file",
"type": "InputFile"
},
{
"name": "thumb",
"type": "InputFile"
},
{
"name": "mime_type",
"type": "string"
},
{
"name": "attributes",
"type": "Vector<DocumentAttribute>"
},
{
"name": "caption",
"type": "string"
},
{
"name": "stickers",
"type": "flags.0?Vector<InputDocument>"
}
],
"type": "InputMedia"
},
{
"id": "444068508",
"predicate": "inputMediaDocument",
"params": [
{
"name": "id",
"type": "InputDocument"
@ -3164,21 +3169,33 @@
{
"name": "caption",
"type": "string"
},
{
"name": "ttl_seconds",
"type": "flags.0?int"
}
],
"type": "InputMedia"
},
{
"id": "-203411800",
"id": "2084836563",
"predicate": "messageMediaDocument",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "document",
"type": "Document"
"type": "flags.0?Document"
},
{
"name": "caption",
"type": "string"
"type": "flags.1?string"
},
{
"name": "ttl_seconds",
"type": "flags.2?int"
}
],
"type": "MessageMedia"
@ -4996,6 +5013,10 @@
"name": "left",
"type": "flags.2?true"
},
{
"name": "editor",
"type": "flags.3?true"
},
{
"name": "broadcast",
"type": "flags.5?true"
@ -6289,7 +6310,7 @@
"type": "ExportedMessageLink"
},
{
"id": "-947462709",
"id": "-85986132",
"predicate": "messageFwdHeader",
"params": [
{
@ -6311,6 +6332,10 @@
{
"name": "channel_post",
"type": "flags.2?int"
},
{
"name": "post_author",
"type": "flags.3?string"
}
],
"type": "MessageFwdHeader"
@ -7270,9 +7295,13 @@
"type": "StickerSetCovered"
},
{
"id": "-1252045032",
"id": "153267905",
"predicate": "inputMediaPhotoExternal",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "url",
"type": "string"
@ -7280,14 +7309,22 @@
{
"name": "caption",
"type": "string"
},
{
"name": "ttl_seconds",
"type": "flags.0?int"
}
],
"type": "InputMedia"
},
{
"id": "-437690244",
"id": "-1225309387",
"predicate": "inputMediaDocumentExternal",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "url",
"type": "string"
@ -7295,6 +7332,10 @@
{
"name": "caption",
"type": "string"
},
{
"name": "ttl_seconds",
"type": "flags.0?int"
}
],
"type": "InputMedia"
@ -9247,7 +9288,7 @@
"type": "MessagesFilter"
},
{
"id": "352864346",
"id": "-363659686",
"predicate": "upload.fileCdnRedirect",
"params": [
{
@ -9265,6 +9306,10 @@
{
"name": "encryption_iv",
"type": "bytes"
},
{
"name": "cdn_file_hashes",
"type": "Vector<CdnFileHash>"
}
],
"type": "upload.File"
@ -9975,6 +10020,46 @@
}
],
"type": "ChannelAdminLogEventsFilter"
},
{
"id": "1200788123",
"predicate": "messageActionScreenshotTaken",
"params": [],
"type": "MessageAction"
},
{
"id": "1558266229",
"predicate": "popularContact",
"params": [
{
"name": "client_id",
"type": "long"
},
{
"name": "importers",
"type": "int"
}
],
"type": "PopularContact"
},
{
"id": "2012136335",
"predicate": "cdnFileHash",
"params": [
{
"name": "offset",
"type": "int"
},
{
"name": "limit",
"type": "int"
},
{
"name": "hash",
"type": "bytes"
}
],
"type": "CdnFileHash"
}
],
"methods": [
@ -13472,7 +13557,7 @@
"type": "upload.CdnFile"
},
{
"id": "779755552",
"id": "452533257",
"method": "upload.reuploadCdnFile",
"params": [
{
@ -13484,7 +13569,7 @@
"type": "bytes"
}
],
"type": "Bool"
"type": "Vector<CdnFileHash>"
},
{
"id": "1375900482",
@ -13640,7 +13725,7 @@
"type": "channels.AdminLogResults"
},
{
"id": "69556532",
"id": "-143257775",
"method": "stickers.removeStickerFromSet",
"params": [
{
@ -13648,10 +13733,10 @@
"type": "InputDocument"
}
],
"type": "Bool"
"type": "messages.StickerSet"
},
{
"id": "1322714570",
"id": "-4795190",
"method": "stickers.changeStickerPosition",
"params": [
{
@ -13663,7 +13748,7 @@
"type": "int"
}
],
"type": "Bool"
"type": "messages.StickerSet"
},
{
"id": "-2041315650",
@ -13679,6 +13764,40 @@
}
],
"type": "messages.StickerSet"
},
{
"id": "-914493408",
"method": "messages.sendScreenshotNotification",
"params": [
{
"name": "peer",
"type": "InputPeer"
},
{
"name": "reply_to_msg_id",
"type": "int"
},
{
"name": "random_id",
"type": "long"
}
],
"type": "Updates"
},
{
"id": "-149567365",
"method": "upload.getCdnFileHashes",
"params": [
{
"name": "file_token",
"type": "bytes"
},
{
"name": "offset",
"type": "int"
}
],
"type": "Vector<CdnFileHash>"
}
]
}

View File

@ -11,8 +11,8 @@ inputUserSelf#f7c1b13f = InputUser;
inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact;
inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile;
inputMediaEmpty#9664f57f = InputMedia;
inputMediaUploadedPhoto#630c9af1 flags:# file:InputFile caption:string stickers:flags.0?Vector<InputDocument> = InputMedia;
inputMediaPhoto#e9bfb4f3 id:InputPhoto caption:string = InputMedia;
inputMediaUploadedPhoto#2f37e231 flags:# file:InputFile caption:string stickers:flags.0?Vector<InputDocument> ttl_seconds:flags.1?int = InputMedia;
inputMediaPhoto#81fa373a flags:# id:InputPhoto caption:string ttl_seconds:flags.0?int = InputMedia;
inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia;
inputMediaContact#a6e45987 phone_number:string first_name:string last_name:string = InputMedia;
inputChatPhotoEmpty#1ca48f57 = InputChatPhoto;
@ -53,10 +53,10 @@ chatParticipants#3f460fed chat_id:int participants:Vector<ChatParticipant> versi
chatPhotoEmpty#37c1011c = ChatPhoto;
chatPhoto#6153276a photo_small:FileLocation photo_big:FileLocation = ChatPhoto;
messageEmpty#83e5de54 id:int = Message;
message#c09be45f flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector<MessageEntity> views:flags.10?int edit_date:flags.15?int = Message;
message#90dddc11 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector<MessageEntity> views:flags.10?int edit_date:flags.15?int post_author:flags.16?string = Message;
messageService#9e19a1f6 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer reply_to_msg_id:flags.3?int date:int action:MessageAction = Message;
messageMediaEmpty#3ded6320 = MessageMedia;
messageMediaPhoto#3d8ce53d photo:Photo caption:string = MessageMedia;
messageMediaPhoto#b5223b0f flags:# photo:flags.0?Photo caption:flags.1?string ttl_seconds:flags.2?int = MessageMedia;
messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia;
messageMediaContact#5e7d2f39 phone_number:string first_name:string last_name:string user_id:int = MessageMedia;
messageMediaUnsupported#9f84f49e = MessageMedia;
@ -97,7 +97,7 @@ contactStatus#d3680c61 user_id:int status:UserStatus = ContactStatus;
contacts.link#3ace484c my_link:ContactLink foreign_link:ContactLink user:User = contacts.Link;
contacts.contacts#6f8b8cb2 contacts:Vector<Contact> users:Vector<User> = contacts.Contacts;
contacts.contactsNotModified#b74ba9d2 = contacts.Contacts;
contacts.importedContacts#ad524315 imported:Vector<ImportedContact> retry_contacts:Vector<long> users:Vector<User> = contacts.ImportedContacts;
contacts.importedContacts#77d01c3b imported:Vector<ImportedContact> popular_invites:Vector<PopularContact> retry_contacts:Vector<long> users:Vector<User> = contacts.ImportedContacts;
contacts.blocked#1c138d15 blocked:Vector<ContactBlocked> users:Vector<User> = contacts.Blocked;
contacts.blockedSlice#900802a1 count:int blocked:Vector<ContactBlocked> users:Vector<User> = contacts.Blocked;
contacts.found#1aa1f784 results:Vector<Peer> chats:Vector<Chat> users:Vector<User> = contacts.Found;
@ -176,10 +176,9 @@ inputMessagesFilterPhotoVideoDocuments#d95e73bb = MessagesFilter;
updateChatParticipantAdd#ea4b0e5c chat_id:int user_id:int inviter_id:int date:int version:int = Update;
updateChatParticipantDelete#6e5f8c22 chat_id:int user_id:int version:int = Update;
updateDcOptions#8e5e9873 dc_options:Vector<DcOption> = Update;
inputMediaUploadedDocument#d070f1e9 flags:# file:InputFile mime_type:string attributes:Vector<DocumentAttribute> caption:string stickers:flags.0?Vector<InputDocument> = InputMedia;
inputMediaUploadedThumbDocument#50d88cae flags:# file:InputFile thumb:InputFile mime_type:string attributes:Vector<DocumentAttribute> caption:string stickers:flags.0?Vector<InputDocument> = InputMedia;
inputMediaDocument#1a77f29c id:InputDocument caption:string = InputMedia;
messageMediaDocument#f3e02ea8 document:Document caption:string = MessageMedia;
inputMediaUploadedDocument#e39621fd flags:# file:InputFile thumb:flags.2?InputFile mime_type:string attributes:Vector<DocumentAttribute> caption:string stickers:flags.0?Vector<InputDocument> ttl_seconds:flags.1?int = InputMedia;
inputMediaDocument#5acb668e flags:# id:InputDocument caption:string ttl_seconds:flags.0?int = InputMedia;
messageMediaDocument#7c4414d3 flags:# document:flags.0?Document caption:flags.1?string ttl_seconds:flags.2?int = MessageMedia;
inputDocumentEmpty#72f0eaae = InputDocument;
inputDocument#18798952 id:long access_hash:long = InputDocument;
inputDocumentFileLocation#430f0724 id:long access_hash:long version:int = InputFileLocation;
@ -294,7 +293,7 @@ messageEntityTextUrl#76a6d327 offset:int length:int url:string = MessageEntity;
updateShortSentMessage#11f1331c flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector<MessageEntity> = Updates;
inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer;
peerChannel#bddde532 channel_id:int = Peer;
channel#cb44b1c flags:# creator:flags.0?true left:flags.2?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true democracy:flags.10?true signatures:flags.11?true min:flags.12?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?string admin_rights:flags.14?ChannelAdminRights banned_rights:flags.15?ChannelBannedRights = Chat;
channel#cb44b1c flags:# creator:flags.0?true left:flags.2?true editor:flags.3?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true democracy:flags.10?true signatures:flags.11?true min:flags.12?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?string admin_rights:flags.14?ChannelAdminRights banned_rights:flags.15?ChannelBannedRights = Chat;
channelForbidden#289da732 flags:# broadcast:flags.5?true megagroup:flags.8?true id:int access_hash:long title:string until_date:flags.16?int = Chat;
channelFull#95cb5f57 flags:# can_view_participants:flags.3?true can_set_username:flags.6?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector<BotInfo> migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int = ChatFull;
messageActionChannelCreate#95d2ac92 title:string = MessageAction;
@ -361,7 +360,7 @@ inputPrivacyKeyChatInvite#bdfb0426 = InputPrivacyKey;
privacyKeyChatInvite#500e6dfa = PrivacyKey;
updateEditChannelMessage#1b3f4df7 message:Message pts:int pts_count:int = Update;
exportedMessageLink#1f486803 link:string = ExportedMessageLink;
messageFwdHeader#c786ddcb flags:# from_id:flags.0?int date:int channel_id:flags.1?int channel_post:flags.2?int = MessageFwdHeader;
messageFwdHeader#fadff4ac flags:# from_id:flags.0?int date:int channel_id:flags.1?int channel_post:flags.2?int post_author:flags.3?string = MessageFwdHeader;
messageActionPinMessage#94bd38ed = MessageAction;
peerSettings#818426cd flags:# report_spam:flags.0?true = PeerSettings;
updateChannelPinnedMessage#98592475 channel_id:int id:int = Update;
@ -422,8 +421,8 @@ messages.archivedStickers#4fcba9c8 count:int sets:Vector<StickerSetCovered> = me
messages.stickerSetInstallResultSuccess#38641628 = messages.StickerSetInstallResult;
messages.stickerSetInstallResultArchive#35e410a8 sets:Vector<StickerSetCovered> = messages.StickerSetInstallResult;
stickerSetCovered#6410a5d2 set:StickerSet cover:Document = StickerSetCovered;
inputMediaPhotoExternal#b55f4f18 url:string caption:string = InputMedia;
inputMediaDocumentExternal#e5e9607c url:string caption:string = InputMedia;
inputMediaPhotoExternal#922aec1 flags:# url:string caption:string ttl_seconds:flags.0?int = InputMedia;
inputMediaDocumentExternal#b6f74335 flags:# url:string caption:string ttl_seconds:flags.0?int = InputMedia;
updateConfig#a229dd06 = Update;
updatePtsChanged#3354678f = Update;
messageActionGameScore#92a72876 game_id:long score:int = MessageAction;
@ -533,7 +532,7 @@ shippingOption#b6213cdf id:string title:string prices:Vector<LabeledPrice> = Shi
phoneCallAccepted#6d003d3f id:long access_hash:long date:int admin_id:int participant_id:int g_b:bytes protocol:PhoneCallProtocol = PhoneCall;
inputMessagesFilterRoundVoice#7a7c17a4 = MessagesFilter;
inputMessagesFilterRoundVideo#b549da53 = MessagesFilter;
upload.fileCdnRedirect#1508485a dc_id:int file_token:bytes encryption_key:bytes encryption_iv:bytes = upload.File;
upload.fileCdnRedirect#ea52fe5a dc_id:int file_token:bytes encryption_key:bytes encryption_iv:bytes cdn_file_hashes:Vector<CdnFileHash> = upload.File;
sendMessageRecordRoundAction#88f27fbc = SendMessageAction;
sendMessageUploadRoundAction#243e1c66 progress:int = SendMessageAction;
upload.cdnFileReuploadNeeded#eea8e46e request_token:bytes = upload.CdnFile;
@ -574,6 +573,9 @@ channelAdminLogEventActionParticipantToggleAdmin#d5676710 prev_participant:Chann
channelAdminLogEvent#3b5a3e40 id:long date:int user_id:int action:ChannelAdminLogEventAction = ChannelAdminLogEvent;
channels.adminLogResults#ed8af74d events:Vector<ChannelAdminLogEvent> chats:Vector<Chat> users:Vector<User> = channels.AdminLogResults;
channelAdminLogEventsFilter#ea107ae4 flags:# join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true = ChannelAdminLogEventsFilter;
messageActionScreenshotTaken#4792929b = MessageAction;
popularContact#5ce14175 client_id:long importers:int = PopularContact;
cdnFileHash#77eec38f offset:int limit:int hash:bytes = CdnFileHash;
---functions---
invokeAfterMsg#cb9f372d msg_id:long query:!X = X;
invokeAfterMsgs#3dc4b4f0 msg_ids:Vector<long> query:!X = X;
@ -788,7 +790,7 @@ phone.confirmCall#2efe1722 peer:InputPhoneCall g_a:bytes key_fingerprint:long pr
phone.setCallRating#1c536a34 peer:InputPhoneCall rating:int comment:string = Updates;
phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool;
upload.getCdnFile#2000bcc3 file_token:bytes offset:int limit:int = upload.CdnFile;
upload.reuploadCdnFile#2e7a2020 file_token:bytes request_token:bytes = Bool;
upload.reuploadCdnFile#1af91c09 file_token:bytes request_token:bytes = Vector<CdnFileHash>;
help.getCdnConfig#52029342 = CdnConfig;
messages.uploadMedia#519bc2b1 peer:InputPeer media:InputMedia = MessageMedia;
stickers.createStickerSet#9bd86e6a flags:# masks:flags.0?true user_id:InputUser title:string short_name:string stickers:Vector<InputStickerSetItem> = messages.StickerSet;
@ -798,6 +800,8 @@ langpack.getDifference#b2e4d7d from_version:int = LangPackDifference;
langpack.getLanguages#800fd57d = Vector<LangPackLanguage>;
channels.editBanned#bfd915cd channel:InputChannel user_id:InputUser banned_rights:ChannelBannedRights = Updates;
channels.getAdminLog#33ddf480 flags:# channel:InputChannel q:string events_filter:flags.0?ChannelAdminLogEventsFilter admins:flags.1?Vector<InputUser> max_id:long min_id:long limit:int = channels.AdminLogResults;
stickers.removeStickerFromSet#4255934 sticker:InputDocument = Bool;
stickers.changeStickerPosition#4ed705ca sticker:InputDocument position:int = Bool;
stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet;
stickers.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet;
stickers.addStickerToSet#8653febe stickerset:InputStickerSet sticker:InputStickerSetItem = messages.StickerSet;
messages.sendScreenshotNotification#c97df020 peer:InputPeer reply_to_msg_id:int random_id:long = Updates;
upload.getCdnFileHashes#f715c87b file_token:bytes offset:int = Vector<CdnFileHash>;