MadelineProtoDocs/docs/API_docs/constructors/photoCachedSize_23.md

34 lines
995 B
Markdown
Raw Normal View History

2024-05-01 14:53:46 +02:00
---
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'];
```