mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-11 23:39:36 +01:00
1.4 KiB
1.4 KiB
title | description |
---|---|
decryptedMessageMediaPhoto | decryptedMessageMediaPhoto attributes, type and example |
Constructor: decryptedMessageMediaPhoto_45
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 |
caption | string | Yes |
Type: DecryptedMessageMedia
Example:
$decryptedMessageMediaPhoto_45 = ['_' => 'decryptedMessageMediaPhoto', 'thumb' => 'bytes', 'thumb_w' => int, 'thumb_h' => int, 'w' => int, 'h' => int, 'size' => int, 'key' => 'bytes', 'iv' => 'bytes', 'caption' => 'string'];
PWRTelegram json-encoded version:
{"_": "decryptedMessageMediaPhoto", "thumb": "bytes", "thumb_w": int, "thumb_h": int, "w": int, "h": int, "size": int, "key": "bytes", "iv": "bytes", "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, key='bytes', iv='bytes', caption='string'}