Telegram Bot API

Create Telegram bots using the Telegram Bot API HTTP server in this repository.

github.com/tdlib/telegram-bot-api
Telegram Bot API homepage screenshot

About Telegram Bot API

Telegram Bot API server source code for running a self-hosted HTTP API for creating Telegram Bots instead of using api.telegram.org. It is built from source with CMake after installing dependencies including OpenSSL and zlib. Running the server requires your own api_id and api_hash. The server listens on port 8081 by default and accepts only HTTP requests, so remote HTTPS needs a TLS termination proxy.

Pricing is not clearly stated.

Key features

  • Upload files up to 2000 MB in local mode
  • Download files without size limit in local mode
  • Upload files using local path and file URI scheme in local mode
  • Use HTTP URL, any local IP and any port for webhook in local mode
  • Set max_webhook_connections up to 100000 in local mode
  • Receive absolute local path as file_path value after getFile in local mode
Best for: Developers creating Telegram Bots who want to run a local Bot API server.

Telegram Bot API at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Details verified
Oct 22, 2026 · Official source
Open source
Yes · Source code
Language
English
Last checked
Oct 5, 2026 · Online when checked
Listed
Oct 5, 2026

Telegram Bot API alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Popular in APIs & Databases

Well-known listings from the same topic.

All 93

Telegram Bot API FAQ

How do I move a bot to a local server?
Deregister it with api.telegram.org by calling logOut, then replace the request address with the address of your local server.
How do I move a bot from one local server to another?
Log out on the old server with logOut, or remove the webhook with deleteWebhook and close the instance with close, then move the bot subdirectory to the new server.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing