pyrogram/compiler/docs/template/types.rst at notifications · dotlambda/pyrogram · GitHub
Skip to content

Latest commit

 

History

History
113 lines (70 loc) · 1.44 KB

File metadata and controls

113 lines (70 loc) · 1.44 KB

Available Types

This page is about Pyrogram types. All types listed here are accessible through types package.

from pyrogram.types import User, Message, ...

Note

Optional fields may not exist when irrelevant -- i.e.: they will contain the value of None and aren't shown when, for example, using print().


.. currentmodule:: pyrogram.types

Users & Chats

.. autosummary::
    :nosignatures:

    {users_chats}

.. toctree::
    :hidden:

    {users_chats}

Messages & Media

.. autosummary::
    :nosignatures:

    {messages_media}

.. toctree::
    :hidden:

    {messages_media}

Bots & Keyboards

.. autosummary::
    :nosignatures:

    {bots_keyboard}

.. toctree::
    :hidden:

    {bots_keyboard}

Input Media

.. autosummary::
    :nosignatures:

    {input_media}

.. toctree::
    :hidden:

    {input_media}

Inline Mode

.. autosummary::
    :nosignatures:

    {inline_mode}

.. toctree::
    :hidden:

    {inline_mode}

InputMessageContent

.. autosummary::
    :nosignatures:

    {input_message_content}

.. toctree::
    :hidden:

    {input_message_content}

Authorization

.. autosummary::
    :nosignatures:

    {authorization}

.. toctree::
    :hidden:

    {authorization}