MadelineProtoDocs/docs/API_docs/constructors/decryptedMessageMediaVideo_45.md
2018-04-19 17:56:40 +00:00

1.5 KiB

title description image
decryptedMessageMediaVideo decryptedMessageMediaVideo attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

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
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, 'caption' => 'string'];

PWRTelegram json-encoded version:

{"_": "decryptedMessageMediaVideo", "thumb": {"_": "bytes", "bytes":"base64 encoded bytes"}, "thumb_w": int, "thumb_h": int, "duration": int, "mime_type": "string", "w": int, "h": int, "size": int, "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, caption='string'}