Skip to main content

messageMediaPhoto

Attached photo.

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

Implements MessageMedia.

Fields

NameTypeRequiredDescription
SpoilerboolWhether this media should be hidden behind a spoiler warning
LivePhotoboolLivePhoto field of MessageMediaPhoto.
PhotoPhotoClassPhoto
TTLSecondsintTime to live in seconds of self-destructing photo
VideoDocumentClassVideo field of MessageMediaPhoto.

References