This commit is contained in:
shoopea 2020-02-05 11:51:01 +08:00
parent 70ea651bd1
commit 7e83ccae51

4
td.go
View File

@ -1,7 +1,7 @@
package main
import (
//"encoding/json"
"encoding/json"
"fmt"
"log"
"math"
@ -296,7 +296,7 @@ func clientMsg(c *tdlib.Client, m TGCommand) {
MQCWMsgQueue <- r
}
case commandCallback:
p := CallbackQueryPayloadData{
p := tdlib.CallbackQueryPayloadData{
Data: m.CallbackData,
}
a, err := c.GetCallbackQueryAnswer(m.FromChatID64, m.FromMsgID64, p)