$npx skillfedfor your agent

python-telegram-bot

We have made you a wrapper you can't refuse

Worth itPyPI Python ModulesReleased Jun 202643.0M downloads / moLGPL-3.0-onlyPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — python_telegram_bot-22.8-py3-none-any.whl
v22.8 · released 2026-06-12 · Python >=3.10 · 2 runtime deps: httpcore, httpx

Yes. The library is production-stable, actively maintained, widely used (top 1000 PyPI packages), has no known vulnerabilities, and low installation friction. The LGPL-3.0 copyleft license is standard for open-source bot frameworks and poses no barrier for most use cases. Install it if you need to build or integrate with Telegram bots in Python.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • You must obtain a Telegram Bot API token from BotFather on Telegram before running any bot.
  • Low friction installation with only two runtime dependencies (httpx and httpcore).

License · maintenance · safety

LGPL-3.0-only (copyleft) — Licensed under LGPL-3.0-only (copyleft). You must disclose source code modifications and distribute under the same license if you distribute the library or derivative works.

last release 2026-06-12 (63 days) · last repo commit 2026-08-09 · 29,408 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 43,016,646 downloads/mo, #650 on PyPI

Verify before relying

pip install python-telegram-bot

from telegram import Update
from telegram.ext import Application

app = Application.builder().token("YOUR_BOT_TOKEN").build()
await app.run_polling()
  • Whether the library's asynchronous design requires specific event loop or async runtime knowledge from users
  • Performance characteristics and concurrency limits when handling high message volumes
  • Specific version support for Telegram Bot API 10.0 and forward-compatibility guarantees
Same gist for agents: .md · .json

What it is and what it does

python-telegram-bot is a wrapper around the Telegram Bot API that lets you build chatbots in Python. It provides both a low-level API that mirrors Telegram's official interface and a higher-level framework (telegram.ext) with convenience methods, type hints, and classes that simplify common bot patterns. The library is fully asynchronous, meaning it can handle many concurrent operations efficiently.

The package depends on httpx for HTTP communication and supports optional features like webhook handling, job scheduling, rate limiting, and Telegram Passport through additional dependencies. It's compatible with Python 3.10 through 3.15 and has been actively maintained since 2015, with support for Telegram Bot API 10.0.

Use it for

  • Build a chatbot that responds to user messages and commands in real time using the telegram.ext Application framework
  • Integrate Telegram notifications into an existing application by sending messages to users via their bot
  • Create a polling or webhook-based bot that processes updates from multiple Telegram chats concurrently
  • Implement scheduled tasks (job queue) that send messages or perform actions at specific times
  • Handle Telegram Passport authentication by installing the optional cryptography dependency

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The library is production-stable, actively maintained, widely used (top 1000 PyPI packages), has no known vulnerabilities, and low installation friction. The LGPL-3.0 copyleft license is standard for open-source bot frameworks and poses no barrier for most use cases. Install it if you need to build or integrate with Telegram bots in Python.

Install

python-telegram-bot on PyPI

Before you install

Low friction installation with only two runtime dependencies (httpx and httpcore). Actively maintained with recent releases; last commit on 2026-08-09 and 29408 repository stars indicate a mature, well-supported project.

Requires Python 3.10 or later. You must obtain a Telegram Bot API token from BotFather on Telegram before running any bot.

License in practice

Licensed under LGPL-3.0-only (copyleft). You must disclose source code modifications and distribute under the same license if you distribute the library or derivative works.

Quickstart

pip install python-telegram-bot

from telegram import Update
from telegram.ext import Application

app = Application.builder().token("YOUR_BOT_TOKEN").build()
await app.run_polling()

Verify before relying

  • Whether the library's asynchronous design requires specific event loop or async runtime knowledge from users
  • Performance characteristics and concurrency limits when handling high message volumes
  • Specific version support for Telegram Bot API 10.0 and forward-compatibility guarantees

Package facts

LicenseLGPL-3.0-only copyleft
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
httpcorehttpx
MaintenanceActively maintained 63 days since the last release
Last repo commit
First released
Downloads43,016,646 / month, #650 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)Operating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.15Topic :: Communications :: ChatTopic :: InternetTopic :: Software Development :: Libraries :: Python Modules

Evidence: python_telegram_bot-22.8-py3-none-any.whl

Tags

Capabilities
telegram bot api wrapperpython telegram bot libraryasync telegram bottelegram chatbot frameworktelegram bot developmentpython telegram messagingtelegram bot api client
Topics
telegram-apiasync-frameworkchatbot
PyPI keywords
apibotpythontelegramwrapper

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “telegram bot api wrapper”

  • python-telegram-botProvides a pure Python asynchronous interface to the Telegram Bot…
  • aiogramaiogram is an asynchronous Python framework for building Telegram…
  • pyroforkPyrofork is an asynchronous Python framework for interacting with…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also pyTelegramBotAPI · pywa · aiogram · Telethon · pyrofork · telebot · Kurigram · nonebot2 · zulip · Pyrogram