
Build a beginner-friendly Telegram bot with Python, using ChatGPT to generate the code, featuring three buttons for a random joke, a motivational quote, and a productivity tip.
Install the free PyCharm community edition from jetbrains.com, then download and open the installer and drag PyCharm into your applications folder.
Install Telegram Desktop to create and test your bot, then use desktop.telegram.org to download the macOS app, log in, and chat with your bot.
This lecture is optional — it’s not required to complete the course.
You can skip it and continue building your Telegram bot if you prefer.
But if you're curious and want to better understand the tools we use in this course, this is for you.
In the next few minutes, we’ll give you a short overview of each tool — what it is, why we use it, and how it fits into the process.
This is the full version of the walkthrough from this section, shown in one continuous video. Use it to review or follow along without pauses between lectures.
Discover how a Telegram bot, a special account that runs automatically, receives messages, responds to users, and follows programmed logic, as we create your bot and prepare it for development.
Treat your api token as your bot's password; never share it publicly and store it in a safe place. BotFather provides the token—copy and keep it secure for steps.
This is the full version of the walkthrough from this section, shown in one continuous video. Use it to review or follow along without pauses between lectures.
This is the full version of the walkthrough from this section, shown in one continuous video. Use it to review or follow along without pauses between lectures.
Paste the code you received from ChatGPT into PyCharm's main.py, then run the bot by clicking the green Run button to start it.
Test your Telegram bot by opening Telegram, finding your bot, and sending the /start command; use the joke, motivate, and productivity tip buttons to confirm it responds correctly.
Test your Telegram bot by running it in PyCharm, open Telegram, and start a conversation; send /start and verify the three buttons return random messages from your lists.
This is the full version of the walkthrough from this section, shown in one continuous video. Use it to review or follow along without pauses between lectures.
In this lesson, we’ll help you create two free accounts that are essential for deploying your bot online:
GitHub — where we’ll store your bot’s code,
and Railway — the cloud service we’ll use to host your bot so it runs 24/7.
This lecture is optional.
If you’d like to better understand the tools we use to deploy your bot online, this short overview will help.
Set up a bot token as an environment variable in Railway by adding a new variable, pasting the token into the value, and deploying to confirm the bot is running.
This is the full version of the walkthrough from this section, shown in one continuous video. Use it to review or follow along without pauses between lectures.
Want to build real bots with Python, but don’t know how to code?
In this hands-on course, you’ll learn step-by-step how to create, run, and host your own Telegram bot using just your Computer and ChatGPT.
You’ll write zero code manually.
Instead, you’ll use ChatGPT to generate and explain every line of Python code for you — and you’ll learn how to test, improve, and deploy it like a pro.
By the end of this course, your bot will not only run on your Mac, but also be live on the web 24/7 using GitHub and Railway.
What makes this course special?
Designed specifically for complete beginners
Uses real tools like PyCharm, GitHub, Telegram, and Railway
Includes step-by-step screen recordings — follow along as we build the bot with you
AI-assisted development — ChatGPT writes and explains code so you can focus on results
You'll build a real working Telegram bot from scratch and host it online
By the end of the course, you’ll be able to:
Understand how Python bots work (without deep coding knowledge)
Build bots for fun, productivity, or small business
Confidently use ChatGPT to create and improve Python projects
Deploy your bots so they stay online 24/7 without relying on your computer
Whether you're a beginner, entrepreneur, student, or tech enthusiast — this course gives you the fastest and easiest path to bringing your first bot to life.