1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-02 23:27:46 +01:00
MadelineProto/docs/API_docs/constructors/decryptedMessageMediaVideo_45.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

1.6 KiB

title description
decryptedMessageMediaVideo decryptedMessageMediaVideo attributes, type and example

Constructor: decryptedMessageMediaVideo_45

Back to constructors index

Attributes:

Name Type Required
thumb bytes Yes
thumb_w int Yes
thumb_h int Yes
duration int Yes
mime_type string Yes
w int Yes
h int Yes
size int Yes
key bytes Yes
iv bytes Yes
caption string Yes

Type: DecryptedMessageMedia

Example:

$decryptedMessageMediaVideo_45 = ['_' => 'decryptedMessageMediaVideo', 'thumb' => 'bytes', 'thumb_w' => int, 'thumb_h' => int, 'duration' => int, 'mime_type' => 'string', 'w' => int, 'h' => int, 'size' => int, 'key' => 'bytes', 'iv' => 'bytes', 'caption' => 'string'];

PWRTelegram json-encoded version:

{"_": "decryptedMessageMediaVideo", "thumb": "bytes", "thumb_w": int, "thumb_h": int, "duration": int, "mime_type": "string", "w": int, "h": int, "size": int, "key": "bytes", "iv": "bytes", "caption": "string"}

Or, if you're into Lua:

decryptedMessageMediaVideo_45={_='decryptedMessageMediaVideo', thumb='bytes', thumb_w=int, thumb_h=int, duration=int, mime_type='string', w=int, h=int, size=int, key='bytes', iv='bytes', caption='string'}