inputMediaPhotoExternal

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

Constructor schema is available as of layer 70. Switch ยป

Parameters

Name Type Description
flags # Flags, see TL conditional fields
spoiler flags.1?true Whether this media should be hidden behind a spoiler warning
url string URL of the photo
ttl_seconds flags.0?int Self-destruct time to live of photo

Type

InputMedia