From 83ccdf35df5c90bea52f50532a1c4ab0c6274909 Mon Sep 17 00:00:00 2001 From: shoopea Date: Thu, 11 Nov 2021 23:22:30 +0800 Subject: [PATCH] debug --- main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.go b/main.go index ba3bc90..1f0b91d 100644 --- a/main.go +++ b/main.go @@ -729,6 +729,9 @@ func ListenAll(c *tdlib.Client) { func ForwardMsg(c *tdlib.Client, msgID int64, fromChatID int64, toChatID int64) int64 { msgIDs := make([]int64, 1) msgIDs[0] = msgID + fmt.Printf("ForwardMsg fromChatID : %d\n", fromChatID) + fmt.Printf("ForwardMsg toChatID : %d\n", toChatID) + fmt.Printf("ForwardMsg msgID : %d\n", msgID) msgs, err := c.ForwardMessages(toChatID, fromChatID, msgIDs, false, false, false) if err != nil { fmt.Printf("ForwardMsg (error) : %s\n", err.Error())