test
This commit is contained in:
parent
ba22cb6b57
commit
a65f995ccc
7
td.go
7
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
|
||||
|
Loading…
Reference in New Issue
Block a user