MadelineProtoDocs/docs/API_docs/constructors/decryptedMessageMediaPhoto_...

1.3 KiB

title description image
decryptedMessageMediaPhoto Photo attached to an encrypted message. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: decryptedMessageMediaPhoto_45

Back to constructors index

Photo attached to an encrypted message.

Attributes:

Name Type Required Description
thumb bytes Yes Content of thumbnail file (JPEGfile, quality 55, set in a square 90x90)
thumb_w int Yes Thumbnail width
thumb_h int Yes Thumbnail height
w int Yes Photo width
h int Yes Photo height
size int Yes Size of the photo in bytes
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'];

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'}