node-telegram-bot-api
Telegram Bot API for NodeJS (by yagop)
aiogram
aiogram is a modern and fully asynchronous framework for Telegram Bot API written in Python using asyncio (by aiogram)
node-telegram-bot-api | aiogram | |
---|---|---|
14 | 12 | |
8,977 | 5,292 | |
1.4% | 1.0% | |
6.8 | 8.4 | |
about 1 month ago | 15 days ago | |
JavaScript | Python | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
node-telegram-bot-api
Posts with mentions or reviews of node-telegram-bot-api.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-03-17.
-
How to build your Solana sniper bot (4)π°π
Node.js Telegram Bot Library: https://github.com/yagop/node-telegram-bot-api
- Telegram Bot Creation Handbook
- Building a Scalable Anti-Hate Speech Moderation Bot for Telegram: A Deep Dive
- Build a Bot with ZettaBlock GraphQL API
- Creare un BOT Telegram che posti il titolo degli articoli con il link
-
How to get chat history of Telegram using node-telegram-bot?
Hi, I am developing a telegram chatbot using node-telegram-bot - https://github.com/yagop/node-telegram-bot-api) in Node.js that requires getting the previous messages or chat history of the user and bot.
-
Telegram Bots for Begginers
Of course, it's good to write API requests yourself. It reduces the dependency on third-party libraries and allows you to control the behavior of the code more. But when there are more such methods than twenty, it already increases the size of the code. It becomes difficult to manage all the logic. This is where third-party libraries(frameworks) come to the rescue. After choosing a language, you can consider the options of different libraries from the list here, on the official Telegram page. For JavaScript I recommend using node-telegram-bot-api and telegraf. For Python you can take pyTelegramBotAPI and aiogram(highly recommended).
- β502: Bad Gatewayβ from UnhandledPromiseRejection
-
Telegraf VS Node-Telegram-Bot-API
We checked if our text is equal to our command and responded with message. It is all main logic from this package, more sendMessage methods or params you can see here. Also we used reply_markup option in which we can use our keyboard, which will be sent with our message. And then we can check if text equal to "en" we will change our language to english and response with message. In addition, if you have a question like can you send message without getting message from user - you can do it. All that you need is to save your user to database like MongoDB with chatId field and use something like express to make CRUD methods to send your message. Here is my example of this 'bot mailer':
-
Telegram bot instead of mobile app and Connect
The Telegram bot API is pretty convenient to setup. Installing node and npm via toltec then https://github.com/yagop/node-telegram-bot-api/ makes it even easier to get a bot running in minutes. The resulting minimal app running on the reMarkable uses less than 1% CPU and 110Mb of RAM. Here the /ls example shows the last modified file by xochtil but other functions could be added to wget a PDF or ePub then add it.
aiogram
Posts with mentions or reviews of aiogram.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-05-29.
-
π Just Launched AiogramX: Prebuilt Widgets for Telegram Bots Using Aiogram (Open Source)
I just released an open-source project Iβve been building: AiogramX β a collection of modular, ready-to-use widgets for building rich Telegram bot UIs using Aiogram.
-
Is there an app to translate reddit on the fly?
The first idea is doable if you have programming skills. Maybe with something like this: https://github.com/aiogram/aiogram
-
Developing this bot to fetch Flipstarter campaigns information. Please consider donating to my Flipstarter to continue my development work
It could be made to join groups, I'll really consider that if there is a demand. I'm using Aiogram bot and it support this.
-
Bot-Moderator for Telegram chats. Filters
Here, the decorators have already used filters built into aiogram. The entire list of such filters can be found here.
-
Telegram Bots for Begginers
Of course, it's good to write API requests yourself. It reduces the dependency on third-party libraries and allows you to control the behavior of the code more. But when there are more such methods than twenty, it already increases the size of the code. It becomes difficult to manage all the logic. This is where third-party libraries(frameworks) come to the rescue. After choosing a language, you can consider the options of different libraries from the list here, on the official Telegram page. For JavaScript I recommend using node-telegram-bot-api and telegraf. For Python you can take pyTelegramBotAPI and aiogram(highly recommended).
-
Hi can anyone help me?
you can start by looking at python-telegram-bot, pyTelegramBotAPI, aiogram. The rest is looking throught the documentation.
-
Just getting into Chatbot development in Python and having trouble choosing an API/Wrapper .. or Framework?
aiogram
-
Inline Sticker Bot
I'd suggest not using pyTelegramBotAPI because of its unstable polling. If you're ok with asyncio, try https://github.com/aiogram/aiogram
-
Olympic Games Monitor - Never miss a game again!
I'm willing to release the code on GitHub along with an article on my blog if you are interested. The bot is coded in Python using mainly the Aiogram package https://github.com/aiogram/aiogram.
-
SendMediaGroup send Array of InputMediaPhoto & InputMediaVideo
I have never used python-telegram-bot (which looks like to be your case), but with aiogram, it's pretty easy to send mediafiles: https://github.com/aiogram/aiogram/blob/dev-2.x/examples/media_group.py (you can replace "attach_photo" with "attach video"). Note that the latest aiogram version 2.12 seems to be broken, so downgrade to 2.11.2.
What are some alternatives?
When comparing node-telegram-bot-api and aiogram you can also consider the following projects:
telegraf - Modern Telegram Bot Framework for Node.js
python-telegram-bot - We have made you a wrapper you can't refuse
mineflayer - Create Minecraft bots with a powerful, stable, and high level JavaScript API.
Telethon - Pure Python 3 MTProto API Telegram client library, for bots too!
telegram-react - Experimental Telegram web client with tdlib, webassembly and react js under the hood
pyTelegramBotAPI - Python Telegram bot api.