photo
Photo
type tg.Photo struct { /* ... */ }
Implements Photo.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
HasStickers | bool | — | Whether the photo has mask stickers attached to it |
ID | int64 | yes | ID |
AccessHash | int64 | yes | Access hash |
FileReference | []byte | yes | file reference |
Date | int | yes | Date of upload |
Sizes | []PhotoSizeClass | yes | Available sizes for download |
VideoSizes | []VideoSizeClass | — | For animated profiles, the MPEG4 videos |
DCID | int | yes | DC ID to use for download |
References
- Official documentation
- Generated Go reference
- TL definition:
photo#fb197a65