This commit is contained in:
shoopea 2020-02-05 12:33:12 +08:00
parent 306634289d
commit 028996f4e7

2
td.go
View File

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