grammY
Telegram bot framework for TypeScript and JavaScript, with official plugins for conversations, menus, rate limiting and i18n.
A friendly, well-documented way to build your own Telegram bot in TypeScript or JavaScript, from a quick reply bot to a full alert service.
Who it is for
Developers who know some JavaScript or TypeScript and want to build their own Telegram bots, for example price or status alerts.
Strengths
- Runs on Node.js and Deno, with hosting guides for VPS, Deno Deploy, Cloudflare Workers, Fly and Vercel.
- Official plugins for conversations, menus, rate limiting, i18n and routing, plus built-in sessions and inline keyboards.
- The docs include a guide comparing long polling and webhooks.
- The official site lists support for Telegram Bot API 10.2.
Good to know
- You need to write code in TypeScript or JavaScript; it is not a no-code tool.
- Only for Telegram; other chat platforms need a different library.
- You host the bot yourself, so you manage the server or platform it runs on.
Custom bots are coming soon
We are preparing a service to build bots on tools like this one. Follow our Telegram channel to know when it opens.
Compare it with others
3Commas vs Cryptohopper vs Superalgos: hosted crypto bots or a free open-source platform?
Two hosted crypto bot platforms and one free open-source one, compared side by side: plans and trials, demo and paper trading, limits, licences and who each suits. Facts taken from each tool's review page.
PyBroker vs LumiBot vs bt: free Python frameworks for backtesting strategies
Three free Python frameworks compared: PyBroker for machine-learning strategies with walk-forward tests, LumiBot for going from backtest to paper trading and a broker, and bt for portfolio allocation and rebalancing. Licences, level and who each suits.
Freqtrade vs OctoBot vs Passivbot: which free crypto bot suits you
Three free, open-source crypto bots compared side by side: interface, simulated mode, backtesting, markets, licence, level and who each one suits.
Quick answers
How much does grammY cost?
Free and open source. Prices change, so check the official website before you decide.
Is grammY open source?
Yes. License: MIT.
Who is grammY for?
Developers who know some JavaScript or TypeScript and want to build their own Telegram bots, for example price or status alerts.
What is grammY written in?
grammY is written in TypeScript, JavaScript.
What should I know before using grammY?
You need to write code in TypeScript or JavaScript; it is not a no-code tool. Only for Telegram; other chat platforms need a different library. You host the bot yourself, so you manage the server or platform it runs on.
Want a bot like this when custom bots open? Get notified · All comparisons · Guides
Sources
Every fact on this page comes from these sources, checked on 2026-11-28. If something has changed, the source wins.
- https://grammy.dev: what it is, runtimes, plugins, deployment guides, Bot API version
- https://api.github.com/repos/grammyjs/grammY: MIT license, about 3,800 stars, last push 2026-11-27, not archived
Alternatives in Trading bots
Bolt for Python
Slack's Python framework for building Slack apps with events, slash commands and Socket Mode.
discord.py
Async Python library for building Discord bots, with a command framework and task helpers.
Freqtrade
Open-source crypto trading bot written in Python, with backtesting, parameter optimization, a simulated mode and Telegram control.
Jesse
Python framework to research, backtest and trade crypto strategies, with optimization through Optuna.