MadelineProtoDocs/docs/API_docs/constructors/photoSize.md
2019-12-27 17:48:04 +01:00

939 B

title description image
photoSize Image description. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: photoSize

Back to constructors index

Image description.

Attributes:

Name Type Required Description
type string Yes Thumbnail type
location FileLocation Yes File location
w int Yes Image width
h int Yes Image height
size int Yes File size

Type: PhotoSize

Example:

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

Or, if you're into Lua:

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