Logging 'typing' notification only in Debug level.

This commit is contained in:
Alexey Skobkin 2024-03-12 05:14:50 +03:00
parent 118693d4e4
commit 1343d0c4f8
No known key found for this signature in database
GPG key ID: 5D5CEF6F221278E7

View file

@ -254,7 +254,7 @@ func (b *Bot) reply(originalMessage *telego.Message, newMessage *telego.SendMess
} }
func (b *Bot) sendTyping(chatId telego.ChatID) { func (b *Bot) sendTyping(chatId telego.ChatID) {
slog.Info("Setting 'typing' chat action") slog.Debug("Setting 'typing' chat action")
err := b.api.SendChatAction(tu.ChatAction(chatId, "typing")) err := b.api.SendChatAction(tu.ChatAction(chatId, "typing"))
if err != nil { if err != nil {