MadelineProtoDocs/docs/API_docs/constructors/photoSizeProgressive.md

33 lines
1.0 KiB
Markdown
Raw Normal View History

2024-05-01 14:53:46 +02:00
---
title: "photoSizeProgressive"
description: "Progressively encoded photosize"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: photoSizeProgressive
[Back to constructors index](/API_docs/constructors/index.html)
Progressively encoded photosize
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|type|[string](/API_docs/types/string.html) | Yes|[Photosize type »](https://core.telegram.org/api/files#image-thumbnail-types)|
|w|[int](/API_docs/types/int.html) | Yes|Photo width|
|h|[int](/API_docs/types/int.html) | Yes|Photo height|
|sizes|Array of [int](/API_docs/types/int.html) | Yes|Sizes of progressive JPEG file prefixes, which can be used to preliminarily show the image.|
### Type: [PhotoSize](/API_docs/types/PhotoSize.html)
### Example:
```
$photoSizeProgressive = ['_' => 'photoSizeProgressive', 'type' => 'string', 'w' => int, 'h' => int, 'sizes' => [int, int]];
```