This commit is contained in:
shoopea 2020-02-05 12:57:42 +08:00
parent 958e5e2636
commit 007f9e4c76

2
td.go
View File

@ -296,7 +296,7 @@ func clientMsg(c *tdlib.Client, m TGCommand) {
} }
case commandCallback: case commandCallback:
d := tdlib.NewCallbackQueryPayloadData(m.CallbackData) d := tdlib.NewCallbackQueryPayloadData(m.CallbackData)
a, err := c.GetCallbackQueryAnswer(m.FromChatID64, m.FromMsgID64, tdlib.CallbackQueryPayload(d)) _, err := c.GetCallbackQueryAnswer(m.FromChatID64, m.FromMsgID64, tdlib.CallbackQueryPayload(d))
logOnError(err, "clientMsg : GetCallbackQueryAnswer") logOnError(err, "clientMsg : GetCallbackQueryAnswer")
default: default:
log.Printf("clientMsg : No handler for command %d.\n", m.Type) log.Printf("clientMsg : No handler for command %d.\n", m.Type)