K
K
Kirill2020-09-22 13:07:06
Python
Kirill, 2020-09-22 13:07:06

Which library to choose for creating a Telegram bot?

Hello everyone, I can’t choose a library for writing a bot in Telegram, the project is not big , but other bots can be created on its basis , and I really don’t want to spend time retraining another library later.

Of the popular libraries for python, I know (aiogram, pytelegrambotapi, python-telegram-bot). The main thing for me is that there are many examples and normal documentation.

I started creating a project on aiogram (I heard that it is better than others), but I noticed that pytelegrambotapi has many more examples, but very little support on github. Thanks in advance.

Negatively inclined people, please do not answer :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kirillinyakin, 2020-09-22
@Atari123

Well, look, most of the lessons on writing telegram bots are made on the basis of pyTelegramBotApi, but this library is synchronous, although it seems to have the beginnings of asynchrony, since I saw classes in the name of which Async appears, aiogram is asynchronous, which in perspective for highly loaded systems is more priority, but for this you need to at least know what asynchrony is.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question