From 40fbc17429a1f6541f0533a6419647f535fef329 Mon Sep 17 00:00:00 2001 From: shoopea Date: Wed, 5 Feb 2020 12:35:01 +0800 Subject: [PATCH] test --- td.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td.go b/td.go index 6b9c280..2fc23ab 100644 --- a/td.go +++ b/td.go @@ -299,7 +299,7 @@ func clientMsg(c *tdlib.Client, m TGCommand) { p := tdlib.NewCallbackQueryPayloadData(m.CallbackData) b, _ := json.Marshal(p) log.Printf("CallbackQueryPayloadData :\n%s\n", string(b)) - d := *p.(tdlib.CallbackQueryPayload) + d := *p e := d.(tdlib.CallbackQueryPayload) b, _ = json.Marshal(e) log.Printf("CallbackQueryPayloadData2 :\n%s\n", string(b))