# python-telegram-bot/python-telegram-bot

We have made you a wrapper you can't refuse

Repository: https://github.com/python-telegram-bot/python-telegram-bot
Canonical: https://ross.abutalabs.com/products/python-telegram-bot
Homepage: https://python-telegram-bot.org
Language: Python
License: GPL-3.0
License Family: copyleft
Topics: python, telegram, bot, chatbot, framework
Last push: 2026-08-23T20:54:04+00:00

## Health v2 (maintenance only)
Score: 91/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 76, longevity 100
- inputs: {"age_days": 4075, "days_push": 10, "days_rel": 82, "gap_med": 44, "n_releases_24m": 16}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 29434, forks 6143 (observed 2026-08-28T04:11:53.464143+00:00)

## What it is
python-telegram-bot is a pure Python, asynchronous wrapper around the Telegram Bot API. It provides handlers, application builders, and utilities for building Telegram bots with modern async Python.

## Use cases
- build a telegram bot in python
- handle telegram bot commands and messages
- create a chatbot for telegram
- send and receive telegram messages programmatically
- add inline keyboards and callbacks to a telegram bot
- run a telegram bot with polling or webhooks

## When to choose
- you want a mature, well-documented Python library for the Telegram Bot API
- you need async support and structured handler-based bot architecture
- you want a large community and stable releases with signed artifacts

## When to avoid
- you are building bots for platforms other than Telegram
- you need a synchronous-only API without asyncio
- you want a no-code or hosted bot builder rather than a code library

## Facets
- artifact type: framework
- maturity: stable
- function: api-framework, chatbot, sdk, http-client
- domain: chatbots, messaging-platforms, developer-tools
- platform: python, cross-platform
- tags: telegram-bot-api, async, wrapper, bot-framework, messaging, automation

## Member repositories
- python-telegram-bot/python-telegram-bot (main) score 91

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:53.464143+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:53:00.594480+00:00, confidence not recorded.
  - readme: https://github.com/python-telegram-bot/python-telegram-bot (fetched 2026-08-28T04:11:53.464143+00:00, sha 4c0bc21a4aac)
  - homepage: https://python-telegram-bot.org (fetched 2026-08-29T07:50:09.727852+00:00, sha 4bb0840e89c5)
  - registry_pypi: https://pypi.org/pypi/python-telegram-bot/json (fetched 2026-08-29T07:50:09.734598+00:00, sha 5b97d95c6c76)
  - site_page: https://python-telegram-bot.org/verify-releases.html (fetched 2026-08-29T07:50:09.731710+00:00, sha 2bfa8801557d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
