From b8713fb687c210f1d200070734489cffe17ae6a5 Mon Sep 17 00:00:00 2001 From: shoopea Date: Sat, 1 Feb 2020 20:30:12 +0800 Subject: [PATCH] test --- td.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/td.go b/td.go index c30a565..d8e7385 100644 --- a/td.go +++ b/td.go @@ -1,7 +1,7 @@ package main import ( - //"encoding/json" + "encoding/json" "fmt" "log" "math" @@ -200,8 +200,8 @@ func getHistory(c *tdlib.Client, chatID64 *int64, senderUserID64 *int64) { } if msg.ID == 22799187968 { - //x, err := json.Marshal(msg) - //logOnError(err, "Marshal") + x, err := json.Marshal(msg) + logOnError(err, "Marshal") fmt.Printf("DUMP:\n%v\n", msg) return }