inputMediaPhotoExternal

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

생성자 스키마는 레이어 70부터 사용할 수 있습니다. 전환 »

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 Time 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