MadelineProtoDocs/docs/API_docs/constructors/photoSizeProgressive.md
2024-05-01 14:53:46 +02:00

1.0 KiB

title description nav_exclude image
photoSizeProgressive Progressively encoded photosize true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: photoSizeProgressive

Back to constructors index

Progressively encoded photosize

Attributes:

Name Type Required Description
type string Yes Photosize type »
w int Yes Photo width
h int Yes Photo height
sizes Array of int Yes Sizes of progressive JPEG file prefixes, which can be used to preliminarily show the image.

Type: PhotoSize

Example:

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