awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
teloxide avatar

teloxide/teloxide

0
View on GitHub↗
4,166 星标·299 分支·Rust·MIT·7 次浏览docs.rs/teloxide/latest/teloxide↗

Teloxide

Teloxide 是一个 Rust 应用框架和 API 封装库,旨在构建 Telegram 机器人。它提供了一个编程接口,用于通过 Telegram Bot API 接收更新和发送消息,利用声明式的过滤器和处理器流水线。

该框架包含一个机器人对话管理器,使用有限状态机来跟踪用户会话和对话流。该状态管理系统支持可插拔的持久化后端,包括内存、Redis 和 Sqlite。

该库涵盖了通过长轮询或 Webhook 传输的异步消息路由和更新接收。它还提供了用于命令解析、类型安全依赖注入和处理器类型验证的工具,以检测不可达的代码路径。

Features

  • Telegram Bot Frameworks - A specialized Rust framework for building interactive agents on the Telegram platform.
  • Finite State Machine Managers - Tracks per-user session state across multi-turn interactions using a finite state machine.
  • Chat Automation - Enables the creation of bots that respond to triggers and manage conversations via long polling or webhooks.
  • Chat Message Capture Pipelines - Routes incoming chat messages through a declarative pipeline of filters and handlers.
  • Update Reception Mechanisms - Provides support for receiving server updates via both long-polling loops and HTTP webhooks.
  • Asynchronous Update Routing - Directs incoming updates through a pipeline of filters and handlers to process user requests.
  • Polling and Webhook Clients - Provides a dual-mode transport layer supporting both long-polling and HTTP webhooks for update reception.
  • Telegram API Integrations - Offers a programmatic Rust interface for interacting with the Telegram Bot API.
  • Combinator-Based Pipeline Processing - Defines the flow of updates using a combinator-based approach to chain filters and execution paths.
  • Update Routing Systems - Implements a tree-based execution flow to direct incoming API updates to specific handlers using filters.
  • Command Tree Parsing - Provides utilities to parse plain text user messages into typed command structures with arguments and options.
  • Bot State Management - Manages the persistence of bot session data and conversation flows using Redis and Sqlite.
  • Update Filters - Provides custom filter logic to evaluate and drop incoming updates before they reach handlers.
  • Rust Backend Frameworks - Provides a type-safe toolkit for developing high-performance backend services and automated bots in Rust.
  • Handler Branching Paths - Directs update flows into alternative paths to attempt different handlers when branches are filtered out.
  • Route Handler Injection - Implements type-safe injection of dependencies directly into bot handler functions.
  • Type-Safe Context Injections - Supplies dependencies to handlers via a type-safe map to ensure compile-time correctness.
  • Communication and Bots - Full-featured framework for building Telegram bots.

Star 历史

teloxide/teloxide 的 Star 历史图表teloxide/teloxide 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

常见问题解答

teloxide/teloxide 是做什么的?

Teloxide 是一个 Rust 应用框架和 API 封装库,旨在构建 Telegram 机器人。它提供了一个编程接口,用于通过 Telegram Bot API 接收更新和发送消息,利用声明式的过滤器和处理器流水线。

teloxide/teloxide 的主要功能有哪些?

teloxide/teloxide 的主要功能包括:Telegram Bot Frameworks, Finite State Machine Managers, Chat Automation, Chat Message Capture Pipelines, Update Reception Mechanisms, Asynchronous Update Routing, Polling and Webhook Clients, Telegram API Integrations。

teloxide/teloxide 有哪些开源替代品?

teloxide/teloxide 的开源替代品包括: aiogram/aiogram — aiogram is an asynchronous framework for building Telegram bots in Python. It provides a complete toolkit for… eternnoir/pytelegrambotapi — pyTelegramBotAPI is a Python framework and API wrapper designed for building bots that interact with the Telegram Bot… php-telegram-bot/core — This project is a PHP library and development kit for building bots that interact with the Telegram Bot API. It… danog/madelineproto — MadelineProto is an asynchronous PHP library that provides a programmatic interface for interacting with the Telegram… go-telegram-bot-api/telegram-bot-api — This is a Go package that wraps the Telegram Bot API, providing a client library for building automated bot… rubenlagus/telegrambots — TelegramBots is a bot framework for Java and a client for the Telegram messaging platform. It provides the tools…

Teloxide 的开源替代方案

相似的开源项目,按与 Teloxide 的功能重合度排序。
  • aiogram/aiogramaiogram 的头像

    aiogram/aiogram

    5,588在 GitHub 上查看↗

    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-spe

    Pythonaiogramasynciobot
    在 GitHub 上查看↗5,588
  • eternnoir/pytelegrambotapieternnoir 的头像

    eternnoir/pyTelegramBotAPI

    8,684在 GitHub 上查看↗

    pyTelegramBotAPI is a Python framework and API wrapper designed for building bots that interact with the Telegram Bot API. It provides a toolkit for managing bot lifecycles through both synchronous and asynchronous request patterns. The framework is distinguished by a routing system that uses custom filters and middleware pipelines to direct incoming updates to specific handlers. It includes a finite state machine manager to track user progress through multi-step conversations and a retry-based system to handle server-side rate limiting. The library covers a broad range of capabilities, incl

    Pythonbot-apipython-apitelegram
    在 GitHub 上查看↗8,684
  • php-telegram-bot/corephp-telegram-bot 的头像

    php-telegram-bot/core

    4,019在 GitHub 上查看↗

    This project is a PHP library and development kit for building bots that interact with the Telegram Bot API. It provides a framework for handling user messages, managing inline queries, and delivering media content through both webhooks and polling. The framework includes a data management layer for storing user profiles, chat histories, and bot states in a relational database to maintain continuity across sessions. It also features administrative access restrictions to limit the execution of sensitive tasks to verified user identifiers. The system covers a broad set of capabilities includin

    PHP
    在 GitHub 上查看↗4,019
  • danog/madelineprotodanog 的头像

    danog/MadelineProto

    3,344在 GitHub 上查看↗

    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
    在 GitHub 上查看↗3,344
  • 查看 Teloxide 的所有 30 个替代方案→