awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
aiogram avatar

aiogram/aiogram

0
View on GitHub↗
5,588 Stars·924 Forks·Python·mit·4 Aufrufeaiogram.dev↗

Aiogram

aiogram is an asynchronous framework for building Telegram bots in Python. It provides a complete toolkit for interacting with the Telegram Bot API, handling incoming updates, and managing bot state through a built-in finite state machine. The framework is designed around an event-driven architecture that routes messages and other updates to handler functions using a flexible dispatching system.

The framework distinguishes itself through its middleware system, which allows developers to intercept and modify both incoming updates and outgoing API calls. It supports a wide range of Telegram-specific features including inline keyboards, callback queries, command menus, and web app buttons. aiogram also provides tools for managing chat members, invite links, and bot permissions, as well as handling complex interactions like polls with media options and paid media content.

Beyond core messaging, aiogram covers content management with support for sending and receiving various media types, file uploads and downloads, and message entity parsing. It includes capabilities for chat administration, user verification, and localization of bot responses. The framework also handles Telegram-specific features such as forum topics, giveaways, gifts, and proximity alerts.

The project's documentation provides guidance on setting up a bot, configuring commands, and working with the framework's various components.

Features

  • Telegram Bot Frameworks - Ships a complete asynchronous framework for building and managing Telegram bots.
  • Finite State Machine Managers - Maintains per-user conversation state across multiple interactions using a built-in finite state machine.
  • Command Visibility Scopes - Limits a bot's command visibility to only administrators within a chat, hiding commands from regular members.
  • Member-Specific Command Scopes - Restricts bot commands to a specific chat member by defining a scope that targets a single user within a chat.
  • Chat-Based - Limits which Telegram bot commands a user sees based on their chat type or user status.
  • Bot Command Interfaces - Provides a built-in mechanism for registering slash commands that appear in the bot's command menu.
  • Captioned Media Messages - Attaches a photo file to a message and optionally includes a text caption displayed below the image.
  • Messaging Update Processors - Dispatches incoming Telegram updates to handler functions based on commands, message types, or custom filters.
  • Update Filters - Ships composable filters to selectively process incoming updates based on message content or metadata.
  • Telegram Message Sending - Sends text or media messages to Telegram chats via the Bot API without requiring an event dispatcher.
  • Query Processing - Processes callback data sent from inline keyboard buttons to trigger specific bot actions.
  • Update Pollers - Implements update polling to retrieve new messages, callbacks, and events from Telegram servers.
  • Chat-Specific Command Scopes - Defines a scope that restricts a bot command to a specific chat, allowing targeted command visibility.
  • Bot Permission Configurations - Controls what actions a Telegram bot can perform in a chat, such as sending messages or media, by setting granular permission flags.
  • Bot Update Middleware - Runs custom middleware logic before or after processing updates and API calls to modify behavior.
  • Bot Update and API Interceptors - Provides middleware that intercepts and modifies both incoming updates and outgoing API calls.
  • Update Routing Systems - Dispatches incoming Telegram updates to registered handlers using a flexible routing system with blueprints.
  • Inline Keyboard - Provides inline keyboard buttons that trigger callbacks or open URLs when tapped within messages.
  • Reply Keyboard Buttons - Creates a tappable button for inline or reply keyboards that sends a predefined text when pressed.
  • Command Menu Buttons - Creates a Telegram bot menu button that displays a list of bot commands when tapped by the user.
  • Conversation State Machines - Ships a built-in finite state machine for maintaining per-user conversation state across interactions.
  • Telegram Media Downloader - Retrieves a file from Telegram servers using its file ID and saves it to a local path.
  • Chat Member Administration - Adds, removes, or restricts members in a Telegram group or channel.
  • Administrator Rights Configurations - Configures the specific permissions granted to a chat administrator, such as the ability to delete messages or manage video chats.
  • Member Status Change Handlers - Provides structured event handling for chat member status changes in Telegram bots.
  • Bans - Represents a banned chat member with information about the user and the ban date.
  • Keyboard Removal Interfaces - Removes the current custom keyboard from the chat interface, returning to the default text input mode.
  • Paid Media Transfers - Transmits a paid photo to a Telegram chat as part of a media group, requiring the user to pay before viewing.
  • Media Option Polls - Creates polls where each answer option can include a photo or video attachment.
  • Poll Creators - Ships a built-in poll creation capability for interactive user engagement in Telegram bots.
  • Invite Link Management - Creates, edits, and revokes invite links for Telegram group chats with access control.
  • Audio Message Constructions - Constructs audio messages with optional caption, duration, performer, and thumbnail for bot responses.
  • Message Editing and Deletion - Modifies or removes previously sent messages in a Telegram chat.
  • Bot Response Localization - Integrates GNU Gettext and Fluent for translating bot responses into user languages.
  • Telegram Message Entity Parsing - Extracts structured metadata from text segments, such as URLs, mentions, and formatting, for precise message handling.
  • Private Chat Command Scopes - Restricts bot command visibility to private chats with individual users.
  • Clipboard Copy - Creates a button that copies specified text to the user's clipboard when pressed.
  • Chat Management APIs - Provides APIs for managing group, supergroup, and private chat entities through the bot.
  • Telegram - Uploads a file to Telegram by wrapping a local path, bytes, or file-like object into the required multipart/form-data format.
  • Bot Frameworks - Asynchronous framework for the Bot API.
  • Media and Communication - Asynchronous Telegram Bot framework.

Star-Verlauf

Star-Verlauf für aiogram/aiogramStar-Verlauf für aiogram/aiogram

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu Aiogram

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Aiogram.
  • pyrogram/pyrogramAvatar von pyrogram

    pyrogram/pyrogram

    4,614Auf GitHub ansehen↗

    Pyrogram is an asynchronous Python framework for interacting with the Telegram MTProto API. It serves as both a bot framework and a user client library, providing a concrete implementation of the MTProto protocol for secure communication with Telegram servers. The library distinguishes itself by providing a high-level wrapper layer that abstracts complex protocol methods into Python functions, while still allowing for the execution of raw API functions and low-level peer resolution. It supports multi-client concurrency, enabling the management of several user or bot identities within a single

    Python
    Auf GitHub ansehen↗4,614
  • tucnak/telebotAvatar von tucnak

    tucnak/telebot

    4,565Auf GitHub ansehen↗

    Telebot is a framework for building interactive bots using the Telegram Bot API. It provides a type-safe API wrapper and an asynchronous event handler to manage messages, commands, and user interactions. The project features a middleware-based request interception system and pattern-based event routing to map triggers to custom logic. It includes a dedicated inline query engine for generating real-time suggested results and an interactive keyboard builder for creating custom reply and inline buttons. The framework covers a broad range of capabilities, including rich media management for albu

    Go
    Auf GitHub ansehen↗4,565
  • danog/madelineprotoAvatar von danog

    danog/MadelineProto

    3,344Auf GitHub ansehen↗

    MadelineProto is an asynchronous PHP library that provides a programmatic interface for interacting with the Telegram API using the MTProto protocol, the same protocol used by official Telegram clients. It functions as both a Telegram bot SDK and a userbot automation library, enabling PHP applications to connect to Telegram as either a bot account or a regular user account, sending and receiving messages, media, and other data directly without relying on the Bot API intermediary. The library is built on an event-driven architecture with Amp v3 fiber-based concurrency, allowing for non-blockin

    PHPamphpasyncbot
    Auf GitHub ansehen↗3,344
  • tdlib/tdAvatar von tdlib

    tdlib/td

    8,506Auf GitHub ansehen↗

    This project is a cross-platform messaging SDK and client development library used to build custom Telegram applications. It functions as a comprehensive framework that manages network encryption, local data storage, and API communication, providing a C-compatible JSON interface that allows integration with any programming language. The library distinguishes itself by providing a full database manager for encrypted local caching and synchronized state, alongside a dedicated bot framework for creating interactive bots with business account integration. It enables the implementation of speciali

    C++cross-platformlibrarytelegram
    Auf GitHub ansehen↗8,506
Alle 30 Alternativen zu Aiogram anzeigen→

Häufig gestellte Fragen

Was macht aiogram/aiogram?

aiogram is an asynchronous framework for building Telegram bots in Python. It provides a complete toolkit for interacting with the Telegram Bot API, handling incoming updates, and managing bot state through a built-in finite state machine. The framework is designed around an event-driven architecture that routes messages and other updates to handler functions using a flexible dispatching system.

Was sind die Hauptfunktionen von aiogram/aiogram?

Die Hauptfunktionen von aiogram/aiogram sind: Telegram Bot Frameworks, Finite State Machine Managers, Command Visibility Scopes, Member-Specific Command Scopes, Chat-Based, Bot Command Interfaces, Captioned Media Messages, Messaging Update Processors.

Welche Open-Source-Alternativen gibt es zu aiogram/aiogram?

Open-Source-Alternativen zu aiogram/aiogram sind unter anderem: pyrogram/pyrogram — Pyrogram is an asynchronous Python framework for interacting with the Telegram MTProto API. It serves as both a bot… tucnak/telebot — Telebot is a framework for building interactive bots using the Telegram Bot API. It provides a type-safe API wrapper… danog/madelineproto — MadelineProto is an asynchronous PHP library that provides a programmatic interface for interacting with the Telegram… tdlib/td — This project is a cross-platform messaging SDK and client development library used to build custom Telegram… yagop/node-telegram-bot-api — This project is a library for Telegram bot development, enabling the creation of automated agents that respond to user… tdlib/telegram-bot-api — This project is a self-hosted Telegram Bot API server that implements a REST gateway to manage bots independently of…