eternnoir/pytelegrambotapi

Python Telegram bot api.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 50 minutes ago
Added to GitGenius on September 7th, 2026
Created on June 26th, 2015
Open Issues & Pull Requests: 6 (+0)
GitHub issues: Enabled
Number of forks: 2,151
Total Stargazers: 8,774 (+0)
Total Subscribers: 233 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 1.8 hours
Mean response time: 2.8 days
90th percentile: 4.3 days
Tracked items: 88

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Only 18% of issues opened in the past year have been closed. Three people close 81% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 4
New in 7 days: 1
Closed in 7 days: 1
Avg open age: 25 days
Stale 30+ days: 1
Stale 90+ days: 0

Recent activity

Opened in 7 days: 1
Closed in 7 days: 1
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • under discussion (4)
  • bug (3)
  • enhancement (2)
  • in the backlog (2)
  • question (2)
  • confirmed (1)
  • not confirmed (1)
  • wontfix (1)

Most active issues this week

Detailed Description

pyTelegramBotAPI is a Python library that provides a simple, extensible implementation of the Telegram Bot API with support for both synchronous and asynchronous operation.

The library solves the problem of building Telegram bots by wrapping the Telegram Bot API in Python abstractions. It handles the complexity of API communication, allowing developers to focus on bot logic through a handler-based architecture. The tool supports message handlers for various event types including regular messages, edited messages, channel posts, callback queries, polls, inline queries, and chat membership changes. It provides middleware handlers and custom filters for request processing, reply markup utilities for keyboard construction, and features like webhook support, proxy configuration, and local Bot API server integration.

Developers building Telegram bots in Python should choose this library if they need straightforward API access without heavy framework overhead. It suits projects ranging from simple echo bots to complex applications requiring inline mode, payment processing, or polling functionality. The library supports both polling and webhook-based update delivery, and offers thread control for managing concurrent request handling. The asynchronous variant serves projects requiring non-blocking I/O patterns.

The project maintains regular updates to track Telegram Bot API changes and receives consistent maintenance across its codebase. Development activity shows ongoing refinement of both synchronous and asynchronous implementations to keep pace with API evolution. The maintainers actively address edge cases and connection issues documented in the FAQ, indicating responsiveness to real-world usage patterns. Documentation is maintained in multiple languages, reflecting attention to accessibility for a diverse user base.