debug
This commit is contained in:
parent
22268986e3
commit
4308dcf9f9
2
main.go
2
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
|
||||
|
Loading…
Reference in New Issue
Block a user