MadelineProto/docs/API_docs_55/constructors/photoSize.md

29 lines
664 B
Markdown
Raw Normal View History

---
title: photoSize
description: photoSize attributes, type and example
---
## Constructor: photoSize
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|type|[string](../types/string.md) | Required|
|location|[FileLocation](../types/FileLocation.md) | Required|
|w|[int](../types/int.md) | Required|
|h|[int](../types/int.md) | Required|
|size|[int](../types/int.md) | Required|
### Type: [PhotoSize](../types/PhotoSize.md)
### Example:
```
$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ];
```