Telegram Bot With Nodejs And Cloudflare
Published 5/2025
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz
Language: English | Size: 255.78 MB | Duration: 0h 41m
Published 5/2025
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz
Language: English | Size: 255.78 MB | Duration: 0h 41m
Serverless Nodejs application: Telegram chatbot.
What you'll learn
Build Telegram Bot from scratch
Create a real-world Serverless project using Nodejs
Learn the basics of the Cloudflare platform (Worker, D1 SQL Database)
Deploy Telegram Bot on Cloudflare (for free)
Requirements
Basic knowledge of JavaScript
Description
Modern and beginner-friendly course that will give you a good understanding of:Chatbot DevelopmentServerless ArchitectureSQLHere you will build your own chatbot using JavaScript (Nodejs) and host it for free on Cloudflare (free tier). This is an excellent opportunity to expand your knowledge of chatbots and have one running 24/7 for anyone who wants to interact with it.We start the course by configuring the environment in Cloudflare, followed by adding commands and testing them. The steps are simple and straightforward, so you will not have to spend a lot of time trying to understand how to make things work. By the end of the course, you will have hands-on experience building a Telegram chatbot + 1 chatbot added to the arsenal of things you have built in your career.Bots are small applications that run entirely within the Telegram app. Users interact with bots through flexible interfaces that can support any kind of task or service. There are a lot of things that bots can do, and here are a few of them:Replace Entire WebsitesManage Your BusinessReceive PaymentsCreate Custom ToolsIntegrate with Services and DevicesHost GamesBuild Social NetworksMonetize Your ServicePromote Your ProjectAnything Else!
Overview
Section 1: Introduction
Lecture 1 Introduction
Section 2: Initial setup
Lecture 2 Obtain Telegram bot token
Lecture 3 Set up Cloudflare worker
Lecture 4 Add token to worker environment
Lecture 5 Set webhook to the bot
Lecture 6 Configure initial worker logic
Lecture 7 Send first message to the bot!
Section 3: 'users' table and /start command
Lecture 8 Create database and bind it to the worker
Lecture 9 Create 'users' table
Lecture 10 Create worker 'sendMessage' method
Lecture 11 Handle /start command
Lecture 12 Test /start command
Section 4: 'reasons' table & /grateful command
Lecture 13 Create 'reasons' table
Lecture 14 Handle /grateful command
Lecture 15 Test /grateful command
Section 5: /edit command
Lecture 16 Handle /edit command
Lecture 17 Test /edit command
Section 6: /history command
Lecture 18 Handle /history command
Lecture 19 Test /history command
Section 7: /commands command & unknown command
Lecture 20 Handle /commands command
Lecture 21 Test /commands command
Lecture 22 Handle unknown command
Section 8: Input error handlers
Lecture 23 Handle input validation for /grateful command
Lecture 24 Handle input validation for /edit command
Lecture 25 Handle input validation for /history command
Section 9: The end
Lecture 26 Thank you and good luck with your future endeavors!
Beginner to advanced JavaScript developers curious about bot development and/or Cloudflare platform