InputMediaPhotoExternal¶
- class pyrogram.raw.types.InputMediaPhotoExternal[source]¶
New photo that will be uploaded by the server using the specified URL
Constructor of
InputMedia.- Details:
Layer:
229ID:
E5BBFE1A
- Parameters:
url (
str) – URL of the photospoiler (
bool, optional) – Whether this media should be hidden behind a spoiler warningttl_seconds (
int32-bit, optional) – Time to live of self-destructing photo, can be0to disable self-destruction,0x7FFFFFFFto self-destruct the photo immediately after it’s played; otherwise self-destructsttl_secondsafter it’s played.