inputMediaPhoto
Forwarded photo
type tg.InputMediaPhoto struct { /* ... */ }
Implements InputMedia.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Spoiler | bool | — | Whether this media should be hidden behind a spoiler warning |
LivePhoto | bool | — | LivePhoto field of InputMediaPhoto. |
ID | InputPhotoClass | yes | Photo to be forwarded |
TTLSeconds | int | — | Time to live in seconds of self-destructing photo |
Video | InputDocumentClass | — | Video field of InputMediaPhoto. |
References
- Official documentation
- Generated Go reference
- TL definition:
inputMediaPhoto#e3af4434