File

class pyrogram.types.File[source]

This object represents a file ready to be downloaded.

Parameters:
  • file_id (str) – Identifier for this file, which can be used to download or reuse the file.

  • file_unique_id (str) – Unique identifier for this file.

  • file_size (int, optional) – File size in bytes.