upload.CdnFile

class pyrogram.raw.base.upload.CdnFile

Represents the download status of a CDN file

Constructors:

This base type has 2 constructors available.

upload.CdnFile

Represent a chunk of a CDN file.

upload.CdnFileReuploadNeeded

The file was cleared from the temporary RAM cache of the CDN and has to be re-uploaded.

Functions:

This object can be returned by 1 function.

upload.GetCdnFile

Download a CDN file.

TL Schema

upload.cdnFile#a99fca4f
bytes:bytes

= upload.CdnFile

Parameter Tree

CdnFile
└── bytesbytes

Example

CdnFile(
    bytes=b"data",
)