diff --git a/td.go b/td.go index 4e4f8b3..d8e7385 100644 --- a/td.go +++ b/td.go @@ -202,7 +202,7 @@ func getHistory(c *tdlib.Client, chatID64 *int64, senderUserID64 *int64) { if msg.ID == 22799187968 { x, err := json.Marshal(msg) logOnError(err, "Marshal") - fmt.Printf("DUMP:\n%s\n", x) + fmt.Printf("DUMP:\n%v\n", msg) return }