1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-13 19:07:19 +01:00
MadelineProto/docs/API_docs/constructors/decryptedMessageMediaPhoto_8.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

1.3 KiB

title description
decryptedMessageMediaPhoto decryptedMessageMediaPhoto attributes, type and example

Constructor: decryptedMessageMediaPhoto_8

Back to constructors index

Attributes:

Name Type Required
thumb bytes Yes
thumb_w int Yes
thumb_h int Yes
w int Yes
h int Yes
size int Yes
key bytes Yes
iv bytes Yes

Type: DecryptedMessageMedia

Example:

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

PWRTelegram json-encoded version:

{"_": "decryptedMessageMediaPhoto", "thumb": "bytes", "thumb_w": int, "thumb_h": int, "w": int, "h": int, "size": int, "key": "bytes", "iv": "bytes"}

Or, if you're into Lua:

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