Answer the question
In order to leave comments, you need to log in
Which library for creating a telegram bot in Python is better and more convenient?
You need to create a telegram bot, something like a freelance site. Which python library is better to choose?
In general, I found several different libraries:
Answer the question
In order to leave comments, you need to log in
Aiogram is currently the best, but it can be difficult for a beginner to use it. I advise you to start with pytelegrambotAPI
Better, easier aiogram, but if you are harsh and don't like easy ways, then requests + Telegram Bot API . Article with Webhook Flask+requests , or c getUpdates requests .
It depends on what the task is. If you've just started tinkering with this thing, the pyTelegramBotAPI library is a good idea. There are two ways to install:
1. With pip:
pip install pytelegrambotapi
2. From source (requires git):
$ git clone https://github.com/eternnoir/pyTelegramBotAPI.git
$ cd pyTelegramBotAPI
$ python setup.py install
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question