MadelineProtoDocs/docs/API_docs/constructors/photoSizeProgressive.md

945 B

title description image
photoSizeProgressive photoSizeProgressive attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: photoSizeProgressive

Back to constructors index

Attributes:

Name Type Required
type string Yes
location FileLocation Yes
w int Yes
h int Yes
sizes Array of int Yes

Type: PhotoSize

Example:

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

Or, if you're into Lua:

photoSizeProgressive={_='photoSizeProgressive', type='string', location=FileLocation, w=int, h=int, sizes={int}}