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

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.