mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.2 KiB
1.2 KiB
title | description | nav_exclude | image |
---|---|---|---|
decryptedMessageMediaPhoto | Photo attached to an encrypted message. | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: decryptedMessageMediaPhoto_8
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];