We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9abfef commit 6304846Copy full SHA for 6304846
packages/channels/src/telegram/senders/common.ts
@@ -1,3 +1,4 @@
1
+import { Markup } from 'telegraf'
2
import { CommonSender } from '../../base/senders/common'
3
import { TelegramContext } from '../context'
4
@@ -7,6 +8,9 @@ export class TelegramCommonSender extends CommonSender {
7
8
const chatId = context.thread
9
10
for (const message of context.messages) {
11
+ // Force remove keyboard -> oneTime() not working https://github.com/telegraf/telegraf/issues/167
12
+ message.extra = { ...Markup.removeKeyboard(), ...message.extra }
13
+
14
if (message.action) {
15
await telegram.sendChatAction(chatId, message.action)
16
}
0 commit comments