This commit is contained in:
shoopea 2020-02-01 20:27:07 +08:00
parent adbe6d42a1
commit 9cc48323f6

6
td.go
View File

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