tdlib/telegram-bot-api

Telegram Bot API server

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 47 minutes ago
Type:Server / PlatformCategory(s):Messaging, Chat & SocialNetworking & Communication
Added to GitGenius on September 15th, 2026
Created on November 4th, 2020
Open Issues & Pull Requests: 70 (+0)
GitHub issues: Enabled
Number of forks: 907
Total Stargazers: 4,463 (+0)
Total Subscribers: 144 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 3.8 hours
Mean response time: 3.9 days
90th percentile: 33.3 hours
Tracked items: 240

Most active contributors

Sign in to see contributor activity.

How this project is maintained

About 14% of issues opened in the past year have never received a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 59% of issues opened in the past year have been closed. Three people close 65% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 55
New in 7 days: 2
Closed in 7 days: 2
Avg open age: 361 days
Stale 30+ days: 49
Stale 90+ days: 35

Recent activity

Opened in 7 days: 2
Closed in 7 days: 2
Comments in 7 days: 3
Events in 7 days: 8

Top labels

  • enhancement (5)

Most active issues this week

Detailed Description

Telegram Bot API is a server implementation that provides an HTTP API for creating and running Telegram bots locally.

The tool solves the problem of running Telegram bots on your own infrastructure rather than relying on Telegram's hosted API endpoint. It works by accepting HTTP requests and translating them into Telegram Bot API calls, requiring only that you obtain API credentials and run the server with those credentials specified. The server listens on a configurable port, defaulting to 8081, and requires a TLS termination proxy to handle HTTPS requests from clients.

Teams should choose this approach when they need capabilities unavailable in the standard hosted API. The local server mode enables downloading files without size limits, uploading files up to 2000 MB, uploading files via local file paths using the file URI scheme, using HTTP webhooks instead of HTTPS, accepting webhooks on any local IP address and port, setting webhook connection limits up to 100000, and receiving absolute local file paths directly without requiring a separate file download step. This makes it suitable for applications requiring large file transfers, local network integration, or fine-grained control over webhook configuration. The tool requires a C++17-compatible compiler, OpenSSL, zlib, CMake, and gperf to build from source, with a build instructions generator available to simplify setup for different operating systems.

The project maintains active engagement with its user community through dedicated Telegram channels for bot support and news, with issue reports directed to those channels rather than the repository itself. Development activity shows consistent attention to both the core server implementation and the build tooling, with the build instructions generator kept current to reflect platform-specific requirements.