MadelineProtoDocs/docs/API_docs/constructors/photoCachedSize.md

957 B

title description image
photoCachedSize Photo cached size https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: photoCachedSize

Back to constructors index

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'];

Or, if you're into Lua:

photoCachedSize={_='photoCachedSize', type='string', location=FileLocation, w=int, h=int, bytes='bytes'}