Skip to main content
Back to course
Log in
Get started
Someone wanted to learn this too, so Grasp built them a personal learning path.
Create your own
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).
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.
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.
Parse command arguments and parameters from user input.
4
Managing Message Types
Filter and respond to different message types (e.g., text, photos, documents).
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.
Send formatted replies using Markdown and HTML parse modes.
Previous module
Building Your First Bot with grammY
Next module
Designing Interactive Menus and Keyboards