mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2025-01-22 05:41:46 +01:00
34 lines
965 B
Markdown
34 lines
965 B
Markdown
|
---
|
||
|
title: "photoSize"
|
||
|
description: "Image description."
|
||
|
nav_exclude: true
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
---
|
||
|
# Constructor: photoSize\_23
|
||
|
[Back to constructors index](/API_docs/constructors/index.html)
|
||
|
|
||
|
|
||
|
|
||
|
Image description.
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|---------------|----------|-------------|
|
||
|
|type|[string](/API_docs/types/string.html) | Yes|[Thumbnail type »](https://core.telegram.org/api/files#image-thumbnail-types)|
|
||
|
|location|[FileLocation](/API_docs/types/FileLocation.html) | Yes|
|
||
|
|w|[int](/API_docs/types/int.html) | Yes|Image width|
|
||
|
|h|[int](/API_docs/types/int.html) | Yes|Image height|
|
||
|
|size|[int](/API_docs/types/int.html) | Yes|File size|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [PhotoSize](/API_docs/types/PhotoSize.html)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$photoSize_23 = ['_' => 'photoSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int];
|
||
|
```
|