Member-only story
Quickstart — Coding your own Python Telegram Bot
In this short tutorial, we’ll be running through the absolute basics of writing your own telegram bot in python (in 1 file) and making it work!
What you need:
- Python installed on your computer
- The Telegram app
Step 1: Create your Telegram Bot using the Telegram app
This step requires no python programming, and only requires your telegram application! Search for “BotFather” and click on it. BotFather is responsible for helping you create and manage your telegram bots.
NOTE: Look for the one with the verified checkmark and don’t bother clicking on the other fake BotFathers.
Next, type /newbot
to create your bot.
Choose a name and username for your bot. Note that your username needs to end with “bot”!