diff --git a/td.go b/td.go index 4335d57..c10d514 100644 --- a/td.go +++ b/td.go @@ -296,7 +296,7 @@ func clientMsg(c *tdlib.Client, m TGCommand) { } case commandCallback: 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") default: log.Printf("clientMsg : No handler for command %d.\n", m.Type)