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())