30 open-source projects similar to go-telegram-bot-api/telegram-bot-api, ranked by how many features they have in common. Compare stars, activity and what each one does to find the best Telegram Bot Api alternative.
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
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
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
This project is a self-hosted Telegram Bot API server that implements a REST gateway to manage bots independently of official cloud infrastructure. It functions as messaging platform middleware, utilizing a translation layer to convert high-level REST API calls into low-level functions via a TDLib-based core. The server allows for local hosting, which enables the removal of cloud file size limits for uploads and downloads and the use of arbitrary local IP addresses and ports for webhook delivery. It provides a local file system storage mechanism for handling large files and supports session-b
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
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
TelegramBots is a bot framework for Java and a client for the Telegram messaging platform. It provides the tools necessary to build automated assistants that communicate with the messaging API to send and receive messages and manage user interactions. The project enables the creation of conversational interfaces through custom keyboards and inline buttons. It supports the delivery of multimedia content, allowing bots to send and receive documents, photos, and other media files. The framework handles bot updates via polling or webhooks and supports the implementation of automated messaging wo
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
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
This project is a library for Telegram bot development, enabling the creation of automated agents that respond to user commands and messages using the Telegram Bot API. It facilitates Telegram content automation by programmatically sending rich media, managing sticker sets, and publishing profile stories. The project supports real-time event handling through both webhook and long-polling mechanisms. It also provides a specialized interface for Telegram payment integration to process digital transactions, create invoices, and handle refunds. Broad capability areas include automated chat manag
Teloxide is a Rust application framework and API wrapper designed for building Telegram bots. It provides a programmatic interface for receiving updates and sending messages via the Telegram Bot API, utilizing a declarative pipeline of filters and handlers. The framework includes a bot dialogue manager that uses a finite-state machine to track user sessions and conversation flows. This state management system supports pluggable persistence backends, including memory, Redis, and Sqlite. The library covers asynchronous message routing and update reception through either long-polling or webhook
This library is a type-safe Kotlin framework designed for building automated messaging services on the Telegram platform. It provides a comprehensive toolkit for developers to create interactive bots that handle incoming updates, manage chat interactions, and execute automated workflows on the JVM. By abstracting the underlying network communication, the library allows for the development of sophisticated messaging applications using native language features. The framework distinguishes itself through a functional approach to API interaction, utilizing algebraic data types to represent succes
Telegraf is a Node.js framework and typed API wrapper for building interactive chat agents on the Telegram platform. It provides a structured environment for developing automated agents that interface with the Telegram Bot API to process and respond to user messages. The framework uses a middleware-based request router to process incoming events through a customizable chain of handlers. This architecture allows for dynamic command routing and the use of a context-object pattern to pass updates and API methods through the processing pipeline. The system supports multiple event delivery method
Twikit is a Python library and API wrapper designed for interacting with X (Twitter). It simulates browser requests and mimics private network traffic to enable programmatic access to the platform without requiring an official API key. The project focuses on social media automation and data extraction, featuring tools for scraping user profiles, trending topics, and chronological tweet histories. It includes a session manager that handles user authentication, two-factor authentication, and cookie persistence to maintain active account access. The library's capabilities cover a broad range of
Telethon is a Python asynchronous API wrapper and client library designed for interacting with the Telegram API. It implements the MTProto protocol to enable programmatic communication for both user accounts and bots. The project serves as a development framework for building custom Telegram clients and automating account actions. It provides the tooling necessary to create automated bots that manage group interactions and channel communications. The library supports messaging data integration and the automation of messaging workflows. It handles the translation of high-level calls into the
Osmedeus is a security workflow orchestration engine that coordinates AI agents, shell commands, and scanning tools through declarative YAML pipelines. It functions as a distributed security scanner, a declarative workflow automator, and an AI agent framework for security, enabling automated multi-step security analysis with conditional branching, parallel execution, and distributed workers. The engine distinguishes itself through a hybrid runner model that executes workflow steps on the local host, inside Docker containers, or over SSH to remote machines, selected per step or module. It supp
This project is a Telegram bot bridge that connects the Telegram chat interface to large language models. It functions as a relay that routes user prompts to an artificial intelligence service and returns the generated text responses to the user. The application uses session token authentication to access language model services via browser-extracted cookies. Access to the bot is managed through a whitelist controller that restricts interactions to a predefined list of authorized user identifiers. The system is designed for containerized deployment to ensure consistent execution across diffe
TelegramSwift is a native macOS client for the Telegram messaging platform, built entirely in Swift. It provides a complete implementation of the Telegram protocol, enabling users to send text messages, make voice calls, share media files, and participate in group chats and channels directly from their Mac. The application supports core messaging features including end-to-end encryption, emoji reactions, message pinning, and threaded comments, along with content types like stickers, GIFs, polls, and stories. The client extends beyond basic messaging with capabilities for bot interaction, paym
This project is a serverless framework for deploying Telegram bots that interface with large language models and AI image generators. It functions as an edge-based orchestrator and gateway that routes messages between the Telegram API and various AI service providers using a stateless architecture. The system enables the management of multiple bot instances and allows for the dynamic switching of AI models and system prompts within a single chat interface. It distinguishes itself through a modular plugin system that allows for the injection of custom logic and specialized behaviors into the m
This project is a Telegram command line interface and MTProto client. It functions as a userbot framework, providing a terminal-based environment to interact with Telegram accounts without a graphical user interface. The system differentiates itself through extensibility, offering Python bindings and a Lua scripting engine to automate account tasks and respond to messages. It also serves as a JSON-based chat exporter, capable of extracting user metadata and conversation histories into structured files. The client covers core messaging capabilities, including text exchange, group chat managem
Baileys is a TypeScript API client library used to interact with the WhatsApp Web API via WebSockets without requiring a browser. It functions as a real-time communication tool that handles bidirectional data exchange and event-based socket connections. The project includes a dedicated toolkit for managing WhatsApp Business profiles and product catalogs, alongside a session manager that authenticates accounts using QR codes or pairing codes and persists session state to disk. Its capabilities cover a wide range of messaging functions, including multi-type message transmission, chat history s
tdl is a command-line tool for Telegram account automation, media management, and data archiving. It provides a programmatic interface for downloading and uploading files, forwarding messages, and exporting chat history, member lists, and media into structured JSON files. The project distinguishes itself through a session management system that isolates multiple account identities using unique namespaces. It features expression-based routing for messages and uploads, allowing users to direct content to specific destination chats using custom logic and dynamic caption generation. The tool cov
SMSBoom is an API-based message dispatcher and bulk SMS messaging tool. It functions as a utility for managing recipient lists and automating the delivery of text notifications to large groups. The tool operates by making HTTP requests to external third-party messaging service providers and API gateways to trigger cellular network transmissions. It manages mass SMS outreach by processing collections of phone numbers to dispatch high volumes of messages.
qqbot is a bot framework designed for building automated conversational agents and plugins using the SmartQQ client. It provides a conversational bot SDK for processing messages, managing group memberships, and executing event callbacks. The project is distinguished by its use of a headless browser automator to handle account logins and session management. It also includes an IRC chat bridge that functions as a gateway to forward conversations between a local IRC server and the messaging platform. The framework covers a wide range of capabilities, including dynamic plugin management, time-ba
wxauto is a Python library and bot framework designed for the programmatic control of the WeChat Windows desktop client. It functions as a wrapper that enables the automation of messaging and social feed functions by simulating user interface interactions. The library distinguishes itself by providing a bridge between network requests and local UI automation, allowing users to expose automation capabilities via a web interface. It utilizes background execution and simulated system-level inputs to trigger application events without moving the physical mouse cursor. The project covers extensiv
Lets-chat is a self-hosted team communication platform and XMPP chat server designed for private messaging. It provides a containerized communication environment for small teams to exchange messages and files, featuring a programmable REST API for automating conversations and managing messages from external tools. The platform functions as an XMPP gateway and server, ensuring interoperability with other compliant messaging clients. It distinguishes itself by supporting enterprise identity management, allowing administrators to verify user identities through local accounts or external director
Nango is an open-source platform that connects applications to external APIs by managing authentication, data synchronization, and custom function execution. It provides a managed runtime for TypeScript integration functions, handling OAuth flows, credential storage, and token refresh for hundreds of external APIs while keeping secrets isolated from application code. The platform distinguishes itself by exposing integration functions as discoverable tools for AI agents through an MCP server or API, with per-user credential isolation that keeps provider secrets out of the agent loop. It offers
JDA is a Java library that serves as a Discord API wrapper, bot framework, and voice API client. It enables applications to interact with the Discord REST API and real-time gateway to build automated assistants, manage servers, and handle user interactions. The project includes a sharding manager to distribute gateway connections across multiple shards for scaling high-volume deployments. It also provides a UI component library for constructing interactive buttons, select menus, and modal forms within messages. Its capabilities cover voice and audio management, including audio streaming and
Message Bus is a messaging library for Ruby and Rack applications designed to facilitate real-time data broadcasting and inter-process communication. It provides a framework for pushing live updates to connected clients and synchronizing state across multiple application instances, ensuring consistent data delivery in scaled environments. The library distinguishes itself through a flexible architecture that supports multiple storage backends, including Redis, PostgreSQL, and in-memory options. It functions as a persistent connection framework that serves as an alternative to traditional web s