mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-11 13:19:38 +01:00
37 lines
672 B
Markdown
37 lines
672 B
Markdown
|
---
|
||
|
title: documentAttributeImageSize
|
||
|
description: documentAttributeImageSize attributes, type and example
|
||
|
---
|
||
|
## Constructor: documentAttributeImageSize\_23
|
||
|
[Back to constructors index](index.md)
|
||
|
|
||
|
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required |
|
||
|
|----------|:-------------:|---------:|
|
||
|
|w|[int](../types/int.md) | Yes|
|
||
|
|h|[int](../types/int.md) | Yes|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [DocumentAttribute](../types/DocumentAttribute.md)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$documentAttributeImageSize_23 = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ];
|
||
|
```
|
||
|
|
||
|
Or, if you're into Lua:
|
||
|
|
||
|
|
||
|
```
|
||
|
documentAttributeImageSize_23={_='documentAttributeImageSize', w=int, h=int, }
|
||
|
|
||
|
```
|
||
|
|
||
|
|