From 7e8dc69d6a3164093694de49d0515e1c02f6d88b Mon Sep 17 00:00:00 2001 From: shoopea Date: Wed, 5 Feb 2020 12:47:55 +0800 Subject: [PATCH] test --- td.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td.go b/td.go index 84782c0..9c45e43 100644 --- a/td.go +++ b/td.go @@ -297,7 +297,7 @@ func clientMsg(c *tdlib.Client, m TGCommand) { } case commandCallback: d := tdlib.NewCallbackQueryPayloadData(m.CallbackData) - b, _ := json.Marshal(p) + b, _ := json.Marshal(d) log.Printf("CallbackQueryPayloadData :\n%s\n", string(b)) log.Printf("Type : %s\n", d.GetCallbackQueryPayloadEnum()) p, err := tdlib.unmarshalCallbackQueryPayload(b)