MadelineProtoDocs/old_docs/API_docs_v14/constructors/photoSize.md

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}