Mohammed Foud
commited on
Commit
·
93de659
1
Parent(s):
8505ad7
all
Browse files
src/bots/handlers/serviceHandlers.ts
CHANGED
|
@@ -103,8 +103,6 @@ export const setupServiceHandlers = (bot: any) => {
|
|
| 103 |
return; // Not in search state, let other text handlers process or ignore
|
| 104 |
}
|
| 105 |
|
| 106 |
-
await ctx.answerCbQuery(); // Dismiss the loading state if any (though for text input, it's less common)
|
| 107 |
-
|
| 108 |
// Ensure ctx.message is a text message. Telegraf's `bot.on('text')` guarantees this, but TypeScript needs explicit narrowing.
|
| 109 |
const message = ctx.message as Message.TextMessage;
|
| 110 |
|
|
|
|
| 103 |
return; // Not in search state, let other text handlers process or ignore
|
| 104 |
}
|
| 105 |
|
|
|
|
|
|
|
| 106 |
// Ensure ctx.message is a text message. Telegraf's `bot.on('text')` guarantees this, but TypeScript needs explicit narrowing.
|
| 107 |
const message = ctx.message as Message.TextMessage;
|
| 108 |
|