Guide
Advanced
Introduction
Built-in
Official
Third-party
Examples
grammY
Telegram
Tools
Overview
Tutorials
Appearance
A filter middleware for listening to the messages send by the in their language. It is useful when you have to listen for custom keyboard texts.
bot.filter(hears("menu-btn"), (ctx) => ...)
Source
key: string
Key of the message to listen for.