We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bot.filter
We might want to introduce bot.guard, but we might also just add it as a new overload to bot.filter. This needs to be discussed.
bot.guard
As suggested in https://t.me/grammyjs/173222
The text was updated successfully, but these errors were encountered:
feat: async type guards and switch expressions
47f6d68
BREAKING: bot.branch now returns a composer that runs if the predicate is not satisfied. Previously, it ran if the predicate was satisfied. Closes #723
No branches or pull requests
We might want to introduce
bot.guard
, but we might also just add it as a new overload tobot.filter
. This needs to be discussed.As suggested in https://t.me/grammyjs/173222
The text was updated successfully, but these errors were encountered: