From c18e9a4fdcbd03c0e56252868c4024b062542d1c Mon Sep 17 00:00:00 2001 From: sysradium Date: Sun, 15 Feb 2026 23:14:08 +0100 Subject: [PATCH] send "typing" notification to telegram when bot is thinking --- pkg/channels/telegram.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/channels/telegram.go b/pkg/channels/telegram.go index a9f3a08c4..d777fef26 100644 --- a/pkg/channels/telegram.go +++ b/pkg/channels/telegram.go @@ -241,6 +241,8 @@ func (c *TelegramChannel) handleMessage(ctx context.Context, update telego.Updat localFiles = append(localFiles, voicePath) mediaPaths = append(mediaPaths, voicePath) + _ = c.bot.SendChatAction(ctx, tu.ChatAction(tu.ID(chatID), telego.ChatActionTyping)) + transcribedText := "" if c.transcriber != nil && c.transcriber.IsAvailable() { ctx, cancel := context.WithTimeout(ctx, 30*time.Second)