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
Spoilerbool—Whether this media should be hidden behind a spoiler warning
URLstringyesURL of the photo
TTLSecondsint—Self-destruct time to live of photo

References​