This commit is contained in:
shoopea 2020-02-01 20:04:38 +08:00
parent ba22cb6b57
commit a65f995ccc

7
td.go
View File

@ -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