From 4308dcf9f9a79da4374e4327eee16fd9cf23b8d6 Mon Sep 17 00:00:00 2001 From: shoopea Date: Thu, 11 Nov 2021 23:18:04 +0800 Subject: [PATCH] debug --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 31d3289..ba3bc90 100644 --- a/main.go +++ b/main.go @@ -731,7 +731,7 @@ func ForwardMsg(c *tdlib.Client, msgID int64, fromChatID int64, toChatID int64) msgIDs[0] = msgID msgs, err := c.ForwardMessages(toChatID, fromChatID, msgIDs, false, false, false) if err != nil { - fmt.Printf("ForwardMsg (error) : %s\n", err) + fmt.Printf("ForwardMsg (error) : %s\n", err.Error()) } if msgs != nil { return msgs.Messages[0].ID