mirror of
https://github.com/danog/tl-schema.git
synced 2024-11-30 04:19:47 +01:00
242 lines
4.7 KiB
JSON
242 lines
4.7 KiB
JSON
{
|
|
"constructors": [
|
|
{
|
|
"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": "-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": "1815593308",
|
|
"predicate": "documentAttributeImageSize",
|
|
"params": [
|
|
{
|
|
"name": "w",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "h",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "DocumentAttribute"
|
|
},
|
|
{
|
|
"id": "297109817",
|
|
"predicate": "documentAttributeAnimated",
|
|
"params": [],
|
|
"type": "DocumentAttribute"
|
|
},
|
|
{
|
|
"id": "-83208409",
|
|
"predicate": "documentAttributeSticker",
|
|
"params": [],
|
|
"type": "DocumentAttribute"
|
|
},
|
|
{
|
|
"id": "1494273227",
|
|
"predicate": "documentAttributeVideo",
|
|
"params": [
|
|
{
|
|
"name": "duration",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "w",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "h",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"type": "DocumentAttribute"
|
|
},
|
|
{
|
|
"id": "85215461",
|
|
"predicate": "documentAttributeAudio",
|
|
"params": [
|
|
{
|
|
"name": "duration",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"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": "-588304126",
|
|
"predicate": "messages.allStickers",
|
|
"params": [
|
|
{
|
|
"name": "hash",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "packs",
|
|
"type": "Vector<StickerPack>"
|
|
},
|
|
{
|
|
"name": "documents",
|
|
"type": "Vector<Document>"
|
|
}
|
|
],
|
|
"type": "messages.AllStickers"
|
|
}
|
|
],
|
|
"methods": [
|
|
{
|
|
"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"
|
|
}
|
|
]
|
|
} |