aiogram is a modern and fully asynchronous framework for Telegram Bot API written in Python using asyncio
Find a file
2022-09-18 17:08:45 +03:00
.github PyPy support (#985) 2022-08-30 01:23:43 +03:00
aiogram Add representation for aiogram exception (#989) 2022-09-11 23:16:47 +03:00
CHANGES Add representation for aiogram exception (#989) 2022-09-11 23:16:47 +03:00
docs Fix chat type example (#999) 2022-09-18 17:08:45 +03:00
examples Deprecate filters factory (#976) 2022-08-14 18:40:41 +03:00
scripts Update README and docs main page 2021-10-11 01:29:06 +03:00
tests Add representation for aiogram exception (#989) 2022-09-11 23:16:47 +03:00
.apiversion Added support of Bot API 6.2 (#975) 2022-08-14 16:32:29 +03:00
.coveragerc Bot API 5.7 and some new features (#834) 2022-02-19 01:45:59 +02:00
.editorconfig Improve .editorconfig (#658) 2021-08-05 22:25:13 +03:00
.flake8 Clean project 2019-11-15 12:17:57 +02:00
.gitignore Added ability to specify which update bot need to receive and process while using polling mode (#617) 2021-07-05 01:41:27 +03:00
.pre-commit-config.yaml Added support of Bot API 6.2 (#975) 2022-08-14 16:32:29 +03:00
.readthedocs.yml [3.x] Bot API 6.0 (#890) 2022-04-19 22:03:24 +03:00
CHANGES.rst Fixed changelog // 2 2022-08-14 19:54:28 +03:00
codecov.yaml Remove compatibility with Python 3.7 2021-05-25 01:00:36 +03:00
HISTORY.rst towncrier integration (#647) 2021-08-01 19:08:03 +03:00
LICENSE [3.x] Bot API 6.0 (#890) 2022-04-19 22:03:24 +03:00
Makefile Dev 3.x flat package (#961) 2022-08-14 01:07:52 +03:00
mypy.ini Beta 3 (#884) 2022-04-16 19:07:32 +03:00
poetry.lock Added support of Bot API 6.2 (#975) 2022-08-14 16:32:29 +03:00
pyproject.toml Added support of Bot API 6.2 (#975) 2022-08-14 16:32:29 +03:00
pytest.ini Added support of Bot API 6.2 (#975) 2022-08-14 16:32:29 +03:00
README.rst PyPy support (#985) 2022-08-30 01:23:43 +03:00

####################
aiogram |beta badge|
####################

.. danger::
    This version is still in development!

.. image:: https://img.shields.io/pypi/l/aiogram.svg
    :target: https://opensource.org/licenses/MIT
    :alt: MIT License

.. image:: https://img.shields.io/pypi/pyversions/aiogram.svg
    :target: https://pypi.python.org/pypi/aiogram
    :alt: Supported python versions

.. image:: https://img.shields.io/badge/Telegram%20Bot%20API-6.2-blue.svg?logo=telegram
    :target: https://core.telegram.org/bots/api
    :alt: Telegram Bot API

.. image:: https://github.com/aiogram/aiogram/workflows/Tests/badge.svg?branch=dev-3.x
    :target: https://github.com/aiogram/aiogram/actions
    :alt: Tests

.. image:: https://img.shields.io/pypi/v/aiogram.svg
    :target: https://pypi.python.org/pypi/aiogram
    :alt: PyPi Package Version

.. image:: https://img.shields.io/pypi/status/aiogram.svg
    :target: https://pypi.python.org/pypi/aiogram
    :alt: PyPi status

.. image:: https://img.shields.io/pypi/dm/aiogram.svg
    :target: https://pypi.python.org/pypi/aiogram
    :alt: Downloads

.. image:: https://img.shields.io/badge/telegram-aiogram-blue.svg
    :target: https://t.me/aiogram_live
    :alt: [Telegram] aiogram live

.. image:: https://img.shields.io/codecov/c/github/aiogram/aiogram?style=flat-square
    :target: https://app.codecov.io/gh/aiogram/aiogram
    :alt: Codecov

**aiogram** is a modern and fully asynchronous framework for
`Telegram Bot API <https://core.telegram.org/bots/api>`_ written in Python 3.8 using
`asyncio <https://docs.python.org/3/library/asyncio.html>`_ and
`aiohttp <https://github.com/aio-libs/aiohttp>`_.

Make your bots faster and more powerful!

.. danger::

    **Breaking News:**

    *aiogram* 3.0 has breaking changes.

    It breaks backward compatibility by introducing new breaking changes!

Features
========

- Asynchronous (`asyncio docs <https://docs.python.org/3/library/asyncio.html>`_, :pep:`492`)
- Has type hints (:pep:`484`) and can be used with `mypy <http://mypy-lang.org/>`_
- Supports `PyPy <https://www.pypy.org/>`_
- Supports `Telegram Bot API 5.3 <https://core.telegram.org/bots/api>`_
- Telegram Bot API integration code was `autogenerated <https://github.com/aiogram/tg-codegen>`_ and can be easily re-generated when API gets updated
- Updates router (Blueprints)
- Has Finite State Machine
- Middlewares (incoming updates and API calls)
- Provides `Replies into Webhook <https://core.telegram.org/bots/faq#how-can-i-make-requests-in-response-to-updates>`_
- Integrated I18n/L10n support with GNU Gettext (or Fluent)

.. warning::

    It is strongly advised that you have prior experience working
    with `asyncio <https://docs.python.org/3/library/asyncio.html>`_
    before beginning to use **aiogram**.

    If you have any questions, you can visit our community chats on Telegram:

    - 🇺🇸 `@aiogram <https://t.me/aiogram>`_
    - 🇺🇦 `@aiogramua <https://t.me/aiogramua>`_
    - 🇺🇿 `@aiogram_uz <https://t.me/aiogram_uz>`_
    - 🇰🇿 `@aiogram_kz <https://t.me/aiogram_kz>`_
    - 🇷🇺 `@aiogram_ru <https://t.me/aiogram_ru>`_
    - 🇮🇷 `@aiogram_fa <https://t.me/aiogram_fa>`_
    - 🇮🇹 `@aiogram_it <https://t.me/aiogram_it>`_
    - 🇧🇷 `@aiogram_br <https://t.me/aiogram_br>`_


.. |beta badge| image:: https://img.shields.io/badge/-beta-orange
  :alt: Beta badge