MadelineProtoDocs/docs/API_docs/constructors/decryptedMessageMediaPhoto_8.md
2019-12-27 17:48:04 +01:00

1.2 KiB

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

Constructor: decryptedMessageMediaPhoto_8

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

Type: DecryptedMessageMedia

Example:

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

Or, if you're into Lua:

decryptedMessageMediaPhoto_8={_='decryptedMessageMediaPhoto', thumb='bytes', thumb_w=int, thumb_h=int, w=int, h=int, size=int}