# python-telegram-bot

> We have made you a wrapper you can't refuse

- Type: agent or tool
- Field: Assistants & Chat
- Repository: https://github.com/python-telegram-bot/python-telegram-bot
- GitHub stars: 29628
- Licence: GPL-3.0
- Language: Python
- Last push: 2026-12-01
- Page: https://imutechz.in/agents/python-telegram-bot

## What it is
python-telegram-bot is a pure Python, asynchronous wrapper for the Telegram Bot API 10.0. It supports Python 3.11+ and provides high-level classes in the telegram.ext submodule to simplify bot development. The library includes convenience methods, static type hints, and seamless integration with both webhooks and polling.

## Features
- Fully asynchronous implementation
- Convenient shortcut methods like Message.reply text
- Fully annotated with static type hints
- Customizable and extendable interface
- Seamless webhook and polling integration
- Comprehensive documentation and examples

## Best for
- Building Telegram bots with Python
- Async bot development
- Webhook-based bot deployments
- Polling-based bot deployments

## Pros
- Pure Python with no external dependencies
- Supports Telegram Bot API 10.0 natively
- LGPLv3 licensed
- Full type hint coverage

## Cons
- Requires Python 3.11 or higher
- Only works with Telegram Bot API

## Install
```
pip install python-telegram-bot --upgrade
```

Tags: python, telegram, bot, async, wrapper, api, lgpl, webhook
