Layer 220
PhotoCachedSize
Description of an image and its content.
constructor
photoCachedSize#21e1ad6 type:string w:int h:int bytes:bytes = PhotoSize;
Parameters
| Name | Type | Description |
|---|---|---|
| Type | string | Thumbnail type |
| W | int | Image width |
| H | int | Image height |
| Bytes | bytes | Binary data, file content |
Returns
PhotoSizeGogram Example
// Creating PhotoCachedSize constructor obj := &tg.PhotoCachedSize{ Type: "...", W: 0, H: 0, Bytes: []byte{}, }