mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-04 02:28:31 +01:00
34 lines
995 B
Markdown
34 lines
995 B
Markdown
|
---
|
||
|
title: "photoCachedSize"
|
||
|
description: "Description of an image and its content."
|
||
|
nav_exclude: true
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
---
|
||
|
# Constructor: photoCachedSize\_23
|
||
|
[Back to constructors index](/API_docs/constructors/index.html)
|
||
|
|
||
|
|
||
|
|
||
|
Description of an image and its content.
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|---------------|----------|-------------|
|
||
|
|type|[string](/API_docs/types/string.html) | Yes|Thumbnail type|
|
||
|
|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|
|
||
|
|bytes|[bytes](/API_docs/types/bytes.html) | Yes|Binary data, file content|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [PhotoSize](/API_docs/types/PhotoSize.html)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$photoCachedSize_23 = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes'];
|
||
|
```
|