Telegram APIs

We offer three kinds of APIs for developers. The Bot API allows you to easily create programs that use Telegram messages for an interface. The Telegram API and TDLib allow you to build your own customized Telegram clients. You are welcome to use both APIs free of charge.

Bot API

This API allows you to connect bots to our system. Telegram Bots are special accounts that do not require an additional phone number to set up.

To use this, you don't need to know anything about how our MTProto encryption protocol works — our intermediary server will handle all encryption and communication with the Telegram API for you.

Learn more about the Bot API

TDLib

Build your own Telegram apps with our Telegram Database Library - a tool for third-party developers that makes it easy to build fast, secure and feature-rich Telegram apps.

TDLib takes care of all network implementation details, encryption and local data storage. It's open source and compatible with virtually any programming language.

Learn more about TDLib

Gateway API

Send verification codes through Telegram instead of traditional SMS – lower costs while increasing security and delivery speed.

Users instantly receive messages with codes in a special chat inside Telegram. Telegram's Gateway API is completely free to test.

Learn more about Gateway API

Telegram API

Build your own customized Telegram clients. It is 100% open for all developers who wish to create Telegram applications on our platform.

Feel free to study the open source code of existing Telegram applications for examples. Don't forget to register your application in our system.

Learn more about Telegram API

Getting Started

Security

Working with Bots

Groups & Channels

Premium & Monetization

Additional Resources