This commit is contained in:
shoopea 2020-02-05 12:35:01 +08:00
parent 99a6290b73
commit 40fbc17429

2
td.go
View File

@ -299,7 +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.(tdlib.CallbackQueryPayload) d := *p
e := d.(tdlib.CallbackQueryPayload) e := d.(tdlib.CallbackQueryPayload)
b, _ = json.Marshal(e) b, _ = json.Marshal(e)
log.Printf("CallbackQueryPayloadData2 :\n%s\n", string(b)) log.Printf("CallbackQueryPayloadData2 :\n%s\n", string(b))