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