upload.CdnFile

class pyrogram.raw.types.upload.CdnFile

Represent a chunk of a CDN file.

Constructor of CdnFile.

Details:
  • Layer: 223

  • ID: A99FCA4F

Parameters:

bytes (bytes) – The data

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",
)