MadelineProto/old_docs/API_docs_v38/constructors/photoSize.md

31 lines
668 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, ];
```