ptr
This commit is contained in:
parent
816189a158
commit
12a28dd6e4
2
td.go
2
td.go
@ -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 lastMsgID64 int64 = int64(math.MaxInt64)
|
||||||
var msgCount int32 = 0
|
var msgCount int32 = 0
|
||||||
var lastMsgTime time.Time = time.Now()
|
var lastMsgTime time.Time = time.Now()
|
||||||
|
Loading…
Reference in New Issue
Block a user