upload.WebFile
- class pyrogram.raw.types.upload.WebFile
Represents a chunk of an HTTP webfile downloaded through telegram’s secure MTProto servers
Constructor of
WebFile
.- Details:
Layer:
194
ID:
21E753BC
- Parameters:
size (
int
32-bit
) – File sizemime_type (
str
) – Mime typefile_type (
storage.FileType
) – File typemtime (
int
32-bit
) – Modified timebytes (
bytes
) – Data
- Functions:
This object can be returned by 1 function.
Returns content of a web file, by proxying the request through telegram, see the webfile docs for more info.