MadelineProto/docs/API_docs/constructors/photoSize_23.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

948 B

title description
photoSize photoSize attributes, type and example

Constructor: photoSize_23

Back to constructors index

Attributes:

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

Type: PhotoSize

Example:

$photoSize_23 = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int];

PWRTelegram json-encoded version:

{"_": "photoSize", "type": "string", "location": FileLocation, "w": int, "h": int, "size": int}

Or, if you're into Lua:

photoSize_23={_='photoSize', type='string', location=FileLocation, w=int, h=int, size=int}