This commit is contained in:
shoopea 2020-02-05 12:56:18 +08:00
parent ff1780446b
commit 444c13ffc4

2
td.go
View File

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