MadelineProto/old_docs/API_docs_v65/constructors/photoCachedSize.md
Daniil Gentili 1eb2fc0b4f fix
2017-04-21 13:27:04 +02:00

823 B

title description
photoCachedSize photoCachedSize attributes, type and example

Constructor: photoCachedSize

Back to constructors index

Attributes:

Name Type Required
type string Yes
location FileLocation Yes
w int Yes
h int Yes
bytes bytes Yes

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, }