upload.File#

class pyrogram.raw.base.upload.File#

Contains info on file.

Constructors:

This base type has 2 constructors available.

upload.File

File content.

upload.FileCdnRedirect

The file must be downloaded from a CDN DC.

Functions:

This object can be returned by 1 function.

upload.GetFile

Returns content of a whole file or its part.