We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80002a8 commit 3e32c28Copy full SHA for 3e32c28
1 file changed
src/telegram_bot.ts
@@ -187,7 +187,7 @@ export default class TelegramBot {
187
const ctx = new TelegramExecutionContext(this, this.update);
188
this.currentContext = ctx;
189
190
- if (!(await ctx.shouldProcess())) {
+ if (ctx.shouldProcess && !(await ctx.shouldProcess())) {
191
console.log('Skipping update processing based on context validation');
192
return new Response('ok');
193
}
0 commit comments