This commit is contained in:
shoopea 2019-05-04 17:58:35 +08:00
parent 816189a158
commit 12a28dd6e4

2
td.go
View File

@ -67,7 +67,7 @@ func ListenCW(c *tdlib.Client) {
}
}
func getHistory(c *tdlib.Client, chatID64 int64, senderUserID64 int64) {
func getHistory(c *tdlib.Client, chatID64 *int64, senderUserID64 *int64) {
var lastMsgID64 int64 = int64(math.MaxInt64)
var msgCount int32 = 0
var lastMsgTime time.Time = time.Now()