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