photoSizeProgressive
Progressively encoded photosize
type tg.PhotoSizeProgressive struct { /* ... */ }
Implements PhotoSize.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Type | string | yes | Photosize type » |
W | int | yes | Photo width |
H | int | yes | Photo height |
Sizes | []int | yes | Sizes of progressive JPEG file prefixes, which can be used to preliminarily show the image. |
References
- Official documentation
- Generated Go reference
- TL definition:
photoSizeProgressive#fa3efb95