WebFile

class pyrogram.raw.types.upload.WebFile

Represents a chunk of an HTTP webfile downloaded through telegram’s secure MTProto servers.

Constructor type of WebFile.

Details
  • Layer: 126

  • ID: 0x21e753bc

Parameters
  • size (int 32-bit) – File size.

  • mime_type (str) – Mime type.

  • file_type (storage.FileType) – File type.

  • mtime (int 32-bit) – Modified time.

  • bytes (bytes) – Data.

Methods

This object can be returned by 1 method:

upload.GetWebFile

Telegram API method.