MadelineProtoDocs/docs/API_docs/constructors/photoSize.md

891 B

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

Constructor: photoSize

Back to constructors index

Photo size

Attributes:

Name Type Required Description
type string Yes Type
location FileLocation Yes Location
w int Yes Width
h int Yes Height
size int Yes 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}