Layer 220
DocumentAttributeImageSize
Defines the width and height of an image uploaded as document
constructor
documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute;
Parameters
| Name | Type | Description |
|---|---|---|
| W | int | Width of image |
| H | int | Height of image |
Returns
DocumentAttributeGogram Example
// Creating DocumentAttributeImageSize constructor obj := &tg.DocumentAttributeImageSize{ W: 0, H: 0, }