1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-14 19:46:56 +01:00
MadelineProto/docs/API_docs/constructors/photoCachedSize_23.md
2017-07-23 16:11:02 +02:00

1007 B

title description
photoCachedSize photoCachedSize attributes, type and example

Constructor: photoCachedSize_23

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_23 = ['_' => '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"}

Or, if you're into Lua:

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