test
This commit is contained in:
parent
837cbae8eb
commit
04b9988aca
2
td.go
2
td.go
@ -21,7 +21,7 @@ func ListenMe(c *tdlib.Client) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
receiver := c.AddEventReceiver(&tdlib.UpdateNewMessage{}, eventFilter, 100)
|
receiver := c.AddEventReceiver(&tdlib.UpdateNewMessage{}, eventFilter, 100)
|
||||||
for _ := range receiver.Chan {
|
for _ = range receiver.Chan {
|
||||||
lastOwnTDMsg = time.Now()
|
lastOwnTDMsg = time.Now()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user