This commit is contained in:
shoopea 2020-02-05 12:32:38 +08:00
parent 8126edc677
commit 58a98b9892

1
td.go
View File

@ -299,6 +299,7 @@ func clientMsg(c *tdlib.Client, m TGCommand) {
p := tdlib.NewCallbackQueryPayloadData(m.CallbackData) p := tdlib.NewCallbackQueryPayloadData(m.CallbackData)
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
/* /*
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")