inputMediaPhotoExternal #

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

Layer 223

inputMediaPhotoExternal#e5bbfe1a flags:# spoiler:flags.1?true url:string ttl_seconds:flags.0?int = InputMedia;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
spoilerflags.1?trueWhether this media should be hidden behind a spoiler warning
urlstringURL of the photo
ttl_secondsflags.0?intTime to live of self-destructing photo, can be 0 to disable self-destruction, 0x7FFFFFFF to self-destruct the photo immediately after it's played; otherwise self-destructs ttl_seconds after it's played.

Type #

InputMedia