MadelineProtoDocs/docs/API_docs/constructors/decryptedMessageMediaPhoto_45.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.4 KiB

title description image
decryptedMessageMediaPhoto Decrypted message media photo https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: decryptedMessageMediaPhoto_45

Back to constructors index

Decrypted message media photo

Attributes:

Name Type Required Description
thumb bytes Yes Thumbnail
thumb_w int Yes Thumbnail width
thumb_h int Yes Thumbnail height
w int Yes Width
h int Yes Height
size int Yes Size
caption string Yes Caption

Type: DecryptedMessageMedia

Example:

$decryptedMessageMediaPhoto_45 = ['_' => 'decryptedMessageMediaPhoto', 'thumb' => 'bytes', 'thumb_w' => int, 'thumb_h' => int, 'w' => int, 'h' => int, 'size' => int, 'caption' => 'string'];

PWRTelegram json-encoded version:

{"_": "decryptedMessageMediaPhoto", "thumb": {"_": "bytes", "bytes":"base64 encoded bytes"}, "thumb_w": int, "thumb_h": int, "w": int, "h": int, "size": int, "caption": "string"}

Or, if you're into Lua:

decryptedMessageMediaPhoto_45={_='decryptedMessageMediaPhoto', thumb='bytes', thumb_w=int, thumb_h=int, w=int, h=int, size=int, caption='string'}