diff --git a/td.go b/td.go index 4d1d281..7944b2c 100644 --- a/td.go +++ b/td.go @@ -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)