diff --git a/td.go b/td.go index 2359159..6d217f5 100644 --- a/td.go +++ b/td.go @@ -199,6 +199,12 @@ func getHistory(c *tdlib.Client, chatID64 *int64, senderUserID64 *int64) { } } + if m.ID == 22799187968 { + x, err := json.Marshal(msg) + fmt.Printf("DUMP:\n%s\n", x) + return + } + if m.ID64 != 0 && (*senderUserID64 == 0 || m.TGSenderUserID64 == *senderUserID64) { MQCWMsgQueue <- m msgCount = msgCount + 1