Skip to main content

inputMediaPhoto

Forwarded photo

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

Implements InputMedia.

Fields

NameTypeRequiredDescription
SpoilerboolWhether this media should be hidden behind a spoiler warning
LivePhotoboolLivePhoto field of InputMediaPhoto.
IDInputPhotoClassyesPhoto to be forwarded
TTLSecondsintTime to live in seconds of self-destructing photo
VideoInputDocumentClassVideo field of InputMediaPhoto.

References