diff --git a/td.go b/td.go index c06c821..d17c539 100644 --- a/td.go +++ b/td.go @@ -300,7 +300,7 @@ func clientMsg(c *tdlib.Client, m TGCommand) { b, _ := json.Marshal(p) log.Printf("CallbackQueryPayloadData :\n%s\n", string(b)) d := *p - b, _ = json.Marshal(p) + b, _ = json.Marshal(d) log.Printf("CallbackQueryPayloadData2 :\n%s\n", string(b)) /* a, err := c.GetCallbackQueryAnswer(m.FromChatID64, m.FromMsgID64, p)