This commit is contained in:
shoopea 2020-02-05 12:32:59 +08:00
parent 58a98b9892
commit 306634289d

2
td.go
View File

@ -300,6 +300,8 @@ 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)
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)
logOnError(err, "clientMsg : GetCallbackQueryAnswer") logOnError(err, "clientMsg : GetCallbackQueryAnswer")