UploadImportedMedia

class pyrogram.raw.functions.messages.UploadImportedMedia

Telegram API method.

Details
  • Layer: 126

  • ID: 0x2a862092

Parameters
  • peer (InputPeer) – Telegram API parameter.

  • import_id (int 64-bit) – Telegram API parameter.

  • file_name (str) – Telegram API parameter.

  • media (InputMedia) – Telegram API parameter.

Returns

MessageMedia – Media.