Link Search Menu Expand Document

Constructor: decryptedMessageMediaPhoto_45

Back to constructors index

Photo attached to an encrypted message.

Attributes:

NameTypeRequiredDescription
thumbbytesYesContent of thumbnail file (JPEGfile, quality 55, set in a square 90x90)
thumb_wintYesThumbnail width
thumb_hintYesThumbnail height
wintYesPhoto width
hintYesPhoto height
sizeintYesSize of the photo in bytes
captionstringYesCaption

Type: DecryptedMessageMedia

Example:

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