Layer 220
PhotoSize
Image description.
constructor
photoSize#75c78e60 type:string w:int h:int size:int = PhotoSize;
Parameters
| Name | Type | Description |
|---|---|---|
| Type | string | Thumbnail type |
| W | int | Image width |
| H | int | Image height |
| Size | int | File size |
Returns
PhotoSizeGogram Example
// Creating PhotoSize constructor obj := &tg.PhotoSize{ Type: "...", W: 0, H: 0, Size: 0, }