File

class pyrogram.raw.types.upload.File

File content.

Constructor type of File.

Details
  • Layer: 126

  • ID: 0x96a18d5

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

  • mtime (int 32-bit) – Modification type.

  • bytes (bytes) – Binary data, file content.

Methods

This object can be returned by 1 method:

upload.GetFile

Returns content of a whole file or its part.