Member-only story

Quickstart — Coding your own Python Telegram Bot

Liu Zuo Lin
4 min readApr 24, 2021

--

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”!

--

--

Liu Zuo Lin
Liu Zuo Lin

Written by Liu Zuo Lin

SWE @ Meta | [Ebook] 101 Things I Never Knew About Python: https://payhip.com/b/vywcf

No responses yet