1.1 KiB
1.1 KiB
title | description | image |
---|---|---|
photoCachedSize | Photo cached size | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: photoCachedSize
Photo cached size
Attributes:
Name | Type | Required | Description |
---|---|---|---|
type | string | Yes | Type |
location | FileLocation | Yes | Location |
w | int | Yes | Width |
h | int | Yes | Height |
bytes | bytes | Yes | Bytes |
Type: PhotoSize
Example:
$photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes'];
PWRTelegram json-encoded version:
{"_": "photoCachedSize", "type": "string", "location": FileLocation, "w": int, "h": int, "bytes": {"_": "bytes", "bytes":"base64 encoded bytes"}}
Or, if you're into Lua:
photoCachedSize={_='photoCachedSize', type='string', location=FileLocation, w=int, h=int, bytes='bytes'}