logo
Electrogram Docs
storage.FileType
Initializing search
    Electrogram
    • Introduction
    • Getting Started
    • API Reference
    • Topic Guides
    • Meta
    • Telegram Raw API
    Electrogram
      • Quick Start
      • Install Guide
      • Project Setup
      • Authorization
      • Invoking Methods
      • Handling Updates
      • Error Handling
      • Examples
      • Electrogram Client
      • Available Methods
      • Available Types
      • Bound Methods
      • Enumerations
      • Update Handlers
      • Decorators
      • RPC Errors
      • Update Filters
      • Using Filters
      • Creating Filters
      • More on Updates
      • Client Settings
      • Text Formatting
      • Synchronous Usage
      • Smart Plugins
      • Storage Engines
      • Object Serialization
      • Proxy Settings
      • Scheduling Tasks
      • MTProto vs. Bot API
      • Debugging
      • Test Servers
      • Advanced Usage
      • Voice Calls
      • Frequently Asked Questions
      • Support Electrogram
      • Raw Functions
      • Raw Types
      • Raw Base

    storage.FileType

    class pyrogram.raw.base.storage.FileType

    Object describes the file type.

    Constructors:

    This base type has 10 constructors available.

    storage.FileGif

    GIF image.

    storage.FileJpeg

    JPEG image.

    storage.FileMov

    Quicktime video.

    storage.FileMp3

    Mp3 audio.

    storage.FileMp4

    MPEG-4 video.

    storage.FilePartial

    Part of a bigger file.

    storage.FilePdf

    PDF document image.

    storage.FilePng

    PNG image.

    storage.FileUnknown

    Unknown type.

    storage.FileWebp

    WEBP image.

    Back to top
    Previous Storage
    Next Stories