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 4
Handling Commands and Messages
1
Command Handling in Bots
Register and handle built-in and custom bot commands (e.g., /start, /help).
2
Inspecting Messages and Sending Replies with grammY Context
Use grammY's Context object to inspect message properties and send replies.
3
Parsing Command Line Arguments
Parse command arguments and parameters from user input.
4
Managing Message Types
Filter and respond to different message types (e.g., text, photos, documents).
5
Formatting Replies with Markdown and HTML
Send formatted replies using Markdown and HTML parse modes.
Previous module
Building Your First Bot with grammY
Next module
Designing Interactive Menus and Keyboards