From 9fd1f6c12e1e16a4543f0dcfd51136c2cf109099 Mon Sep 17 00:00:00 2001 From: Umputun Date: Sun, 27 Oct 2024 12:42:49 -0500 Subject: [PATCH] add msg details to figure #160 --- app/events/listener.go | 1 + 1 file changed, 1 insertion(+) diff --git a/app/events/listener.go b/app/events/listener.go index 8e429de..551b595 100644 --- a/app/events/listener.go +++ b/app/events/listener.go @@ -277,6 +277,7 @@ func (l *TelegramListener) procEvents(update tbapi.Update) error { } log.Printf("[DEBUG] incoming msg: %+v", strings.ReplaceAll(msg.Text, "\n", " ")) + log.Printf("[DEBUG] incoming msg details: %+v", msg) if err := l.Locator.AddMessage(msg.Text, fromChat, msg.From.ID, msg.From.Username, msg.ID); err != nil { log.Printf("[WARN] failed to add message to locator: %v", err) }