Skip to content
logo
Electrogram Docs
InputMedia
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
        • Users & Chats
        • Messages & Media
        • Stories
        • Bot
        • Bot keyboards
        • Bot commands
        • Telegram Business
        • Input Media
          • InputMedia
            • Cpyrogram.types.InputMedia
          • InputMediaPhoto
          • InputMediaVideo
          • InputMediaAudio
          • InputMediaAnimation
          • InputMediaDocument
          • InputPhoneContact
        • Inline Mode
        • InputMessageContent
        • Authorization
        • InputPrivacyRule
      • 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
    • Cpyrogram.types.InputMedia

    InputMedia

    class pyrogram.types.InputMedia

    Content of a media message to be sent.

    It should be one of:

    • InputMediaAnimation

    • InputMediaDocument

    • InputMediaAudio

    • InputMediaPhoto

    • InputMediaVideo

    Back to top
    Previous SuccessfulPayment
    Next InputMediaPhoto