DESCRIPTION :-
Building a Telegram bot using Python and Flask to automate certain tasks (primarily for learning purposes).
How to Build yours easily ?
Clone this repository :
git clone https://github.com/rexsimiloluwah/telebot.git
Install the requirements and dependencies
pip install -r requirements.txt
Go to BotFather and follow the instructions intuitively to create a new Telegram bot. This will generate a token for the bot and BotName which will be specified by you.
- Go to credentials.py, replace the BOT_TOKEN with your generated token and BOT_USERNAME with your specified username.
- Deploy the app on Heroku or PythonAnyWhere on any other platform that supports flask.
- Set the URL in the credentials.py file to the URL of the deployed app, Test the WebHook route to ensure it works
- Test with commands on Telegram, Voila !
Feel free to use this code in your projects, I love you !.