This commit is contained in:
shoopea 2020-02-01 20:30:29 +08:00
parent b8713fb687
commit 33052eb74d

2
td.go
View File

@ -202,7 +202,7 @@ func getHistory(c *tdlib.Client, chatID64 *int64, senderUserID64 *int64) {
if msg.ID == 22799187968 { if msg.ID == 22799187968 {
x, err := json.Marshal(msg) x, err := json.Marshal(msg)
logOnError(err, "Marshal") logOnError(err, "Marshal")
fmt.Printf("DUMP:\n%v\n", msg) fmt.Printf("DUMP:\n%s\n", x)
return return
} }