MadelineProtoDocs/docs/API_docs/constructors/decryptedMessageMediaPhoto_45.md
Sean 4baac3178e Add Syntax Highlight for Markdown
Add PHP, Lua language tag to Code area
2018-10-18 00:30:20 +08:00

1.3 KiB

title description image
decryptedMessageMediaPhoto decryptedMessageMediaPhoto attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: decryptedMessageMediaPhoto_45

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
caption string Yes

Type: DecryptedMessageMedia

Example:

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

PWRTelegram json-encoded version:

{"_": "decryptedMessageMediaPhoto", "thumb": {"_": "bytes", "bytes":"base64 encoded 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'}