Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Telegram Bots with Bun.js
·
Module 2
The Telegram Bot API from First Principles
1
Creating a BotFather Bot and Obtaining an API Token
Create a new bot via BotFather and obtain an API token.
2
Telegram Bot API Fundamentals
Describe the Telegram Bot API architecture: updates, methods, and types.
3
Long Polling vs. Webhooks: A Comparison
Differentiate between long polling and webhook update mechanisms.
4
Sending Messages with Raw HTTP POST Requests
Send a message by making a raw HTTP POST request to the `sendMessage` method.
5
Implementing Basic Long Polling with `getUpdates`
Receive updates by implementing a basic long polling loop using `getUpdates`.
Previous module
Bun.js for TypeScript Developers
Next module
Building Your First Bot with grammY