Skip to main content

inputMediaUploadedPhoto

Photo

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

Implements InputMedia.

Fields

NameTypeRequiredDescription
SpoilerboolWhether this media should be hidden behind a spoiler warning
LivePhotoboolLivePhoto field of InputMediaUploadedPhoto.
FileInputFileClassyesThe uploaded file
Stickers[]InputDocumentClassAttached mask stickers
TTLSecondsintTime to live in seconds of self-destructing photo
VideoInputDocumentClassVideo field of InputMediaUploadedPhoto.

References