1.4 KiB
1.4 KiB
title | description | image |
---|---|---|
decryptedMessageMediaPhoto | Decrypted message media photo | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: decryptedMessageMediaPhoto_45
Decrypted message media photo
Attributes:
Name | Type | Required | Description |
---|---|---|---|
thumb | bytes | Yes | Thumbnail |
thumb_w | int | Yes | Thumbnail width |
thumb_h | int | Yes | Thumbnail height |
w | int | Yes | Width |
h | int | Yes | Height |
size | int | Yes | Size |
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'];
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'}