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