aiogram
aiogram is a modern and fully asynchronous framework for Telegram Bot API written in Python using asyncio (by aiogram)
telebot
Telebot is a Telegram bot framework in Go. (by tucnak)
aiogram | telebot | |
---|---|---|
11 | 6 | |
4,994 | 4,219 | |
1.7% | 1.5% | |
8.8 | 8.4 | |
8 days ago | 5 months ago | |
Python | Go | |
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.
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 2022-10-06.
-
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.
-
How do I scale up my telegram bot to serve many users?
look into async solutions. https://realpython.com/async-io-python/ https://github.com/aiogram/aiogram -> aysnc telegram https://github.com/pgjones/quart -> flask replacement
telebot
Posts with mentions or reviews of telebot.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-11-24.
-
Botlib: Telegram Bots in C by Antirez
But then it's hard to imagine much better than the existing Telebot library, which is a very elegant and idiomatic Go.
https://github.com/tucnak/telebot
-
How is Go used in Linux based environments in various companies?
I use https://github.com/tucnak/telebot, which has been a joy to work with. It'd take a bit of time to decouple my actual business logic from the bot portions of my code so I can't share that, but it isn't far off from the examples within the README on that repo.
-
How to send data to a WebApp opening with either menu or inline buttons with Telebot Go API
I understand that it is possible to initialise a WebApp opened from Telegram using either a menu or inline button. Ideally I want to provide the Telegram client's contact list to the WebApp. If anyone can provide an example of how to do that I would be very grateful. I'm using the https://github.com/tucnak/telebot API for Go but if there is a better API in another language that anyone recommends I'd be happy to use that.
-
Developing Send-To-Kindle Telegram Bot
Created bot credentials using BotFather For integration with Telegram, I found a bot framework for Go - Telebot The setup was pretty easy:
- Telebot V3: Telegram bot framework released!
-
The bot comes to life
We are ready to start the implementation. We'll be using the Telebot Go library. Telebot is a framework that is going help us a lot interacting with the Telegram Bot API (setting up the bot, handling requests, sending messages, etc).
What are some alternatives?
When comparing aiogram and telebot you can also consider the following projects:
python-telegram-bot - We have made you a wrapper you can't refuse
telegram-bot-api - Golang bindings for the Telegram Bot API
pyTelegramBotAPI - Python Telegram bot api.
telegram - Implementation for the telegram bot API
pyrogram - Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots
go-tgbot - Golang telegram bot API wrapper, session-based router and middleware