inputMediaUploadedPhoto
Photo
type tg.InputMediaUploadedPhoto 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 InputMediaUploadedPhoto. |
File | InputFileClass | yes | The uploaded file |
Stickers | []InputDocumentClass | — | Attached mask stickers |
TTLSeconds | int | — | Time to live in seconds of self-destructing photo |
Video | InputDocumentClass | — | Video field of InputMediaUploadedPhoto. |
References
- Official documentation
- Generated Go reference
- TL definition:
inputMediaUploadedPhoto#7d8375da