Airgram

Telegram client for Node.js

Makes it easy to create Telegram apps with Typescript/JavaScript.

Getting started

Telegram plus Typescript

Let's look at some features

Code style
TDLib follows a different coding convention than best practices in TypeScript or JavaScript. Airgram fixes it.
Methods
Each API method has convenient wrapper with description and JSDoc documentation.
Type checking
Airgram is a true TypeScript library. Everything has strict typings, so take full advantage of type checking and code completion.
Flexibility
Airgram relies on middleware. This gives a high degree of freedom. You can modify requests, save responses, perform any actions in the data flow.
Data models
You can extend standard TDLib objects and add some computed properties or whatever you want.
Use everywhere
Airgram is an environment agnostic library. It will work in the browser as well as in NodeJS. You can write Telegram client or use it for a Telegram bot backend.
© 2025. Airgram