InputMediaPhotoExternal

class pyrogram.raw.types.InputMediaPhotoExternal

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

Constructor type of InputMedia.

Details
  • Layer: 126

  • ID: 0xe5bbfe1a

Parameters
  • url (str) – URL of the photo.

  • ttl_seconds (int 32-bit, optional) – Self-destruct time to live of photo.