photoCachedSize
Description of an image and its content.
type tg.PhotoCachedSize struct { /* ... */ }
Implements PhotoSize.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Type | string | yes | Thumbnail type |
W | int | yes | Image width |
H | int | yes | Image height |
Bytes | []byte | yes | Binary data, file content |
References
- Official documentation
- Generated Go reference
- TL definition:
photoCachedSize#21e1ad6