How to create a Telegram bot with Python
Вставка
- Опубліковано 26 вер 2024
- In this video, I'm creating a Telegram bot using botFather and Python language.
It has 6 different parts:
First: preparing environment and installing required software
Second: creating a bot using botFather
Third: connecting to the created bot
Fourth: receiving a message sent to the bot
Fifth: sending the received text as an answer to a received message
Sixth: sending an image as an answer to a received message
Software used:
pip : to install api library
telepot : API for Telegram bots (URL: telepot.readth...)
Python version: 2.7.16
Telepot version: 12.7