mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-11 16:50:37 +01:00
33 lines
893 B
Markdown
33 lines
893 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
|
||
|
[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|
|
||
|
|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 = ['_' => 'photoCachedSize', 'type' => 'string', 'w' => int, 'h' => int, 'bytes' => 'bytes'];
|
||
|
```
|