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 3
Building Your First Bot with grammY
1
Introduction to grammY: Benefits for TypeScript
Explain the role of the grammY framework and its advantages for TypeScript development.
2
Bun & grammY: Project Setup
Initialize and configure a grammY bot project using Bun.
3
Running Your First Bot
Launch a bot using long polling and verify it responds to messages.
4
Error Handling with grammY's Error Boundary
Implement basic error handling using grammY's error boundary to catch and log runtime errors.
5
Graceful Shutdown for Long-Polling Bots
Implement graceful shutdown for a long-polling bot to handle process termination signals.
Previous module
The Telegram Bot API from First Principles
Next module
Handling Commands and Messages