Skip to main content

inputMediaUploadedPhoto

Photo

type tg.InputMediaUploadedPhoto struct { /* ... */ }

Implements InputMedia.

Fields​

NameTypeRequiredDescription
Spoilerbool—Whether this media should be hidden behind a spoiler warning
LivePhotobool—LivePhoto field of InputMediaUploadedPhoto.
FileInputFileClassyesThe uploaded file
Stickers[]InputDocumentClass—Attached mask stickers
TTLSecondsint—Time to live in seconds of self-destructing photo
VideoInputDocumentClass—Video field of InputMediaUploadedPhoto.

References​