Skip to main content

inputMediaPhotoExternal

New photo that will be uploaded by the server using the specified URL

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

Implements InputMedia.

Fields

NameTypeRequiredDescription
SpoilerboolWhether this media should be hidden behind a spoiler warning
URLstringyesURL of the photo
TTLSecondsintSelf-destruct time to live of photo

References