messageMediaPhoto
Attached photo.
type tg.MessageMediaPhoto struct { /* ... */ }
Implements MessageMedia.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Spoiler | bool | — | Whether this media should be hidden behind a spoiler warning |
LivePhoto | bool | — | LivePhoto field of MessageMediaPhoto. |
Photo | PhotoClass | — | Photo |
TTLSeconds | int | — | Time to live in seconds of self-destructing photo |
Video | DocumentClass | — | Video field of MessageMediaPhoto. |
References
- Official documentation
- Generated Go reference
- TL definition:
messageMediaPhoto#e216eb63