This commit is contained in:
shoopea 2019-05-15 10:39:15 +08:00
parent 04b9988aca
commit 342807612d

1
td.go
View File

@ -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")
} }
} }