upload.File

class pyrogram.raw.types.upload.File

File content.

Constructor of File.

Details:
  • Layer: 194

  • ID: 96A18D5

Parameters:
  • type (storage.FileType) – File type

  • mtime (int 32-bit) – Modification time

  • bytes (bytes) – Binary data, file content

Functions:

This object can be returned by 1 function.

upload.GetFile

Returns content of a whole file or its part.