test
This commit is contained in:
parent
04b9988aca
commit
342807612d
1
td.go
1
td.go
@ -23,6 +23,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()
|
||||||
|
log.Printf("ListenMe : lastOwnTDMsg updated.\n")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user