Layer 224
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: "Hello, World!", W: 42, H: 42, Bytes: []byte{0x01, 0x02, 0x03}, }