debug
This commit is contained in:
parent
6b028742a7
commit
73bce99ee4
1
td.go
1
td.go
@ -93,6 +93,7 @@ func getHistory(c *tdlib.Client, chatID64 *int64, senderUserID64 *int64) {
|
|||||||
lastMsgID64 = -1
|
lastMsgID64 = -1
|
||||||
}
|
}
|
||||||
} else if msgs.TotalCount > 0 {
|
} else if msgs.TotalCount > 0 {
|
||||||
|
fmt.Printf("Exported %d messages so far.\n", msgCount)
|
||||||
for _, msg := range msgs.Messages {
|
for _, msg := range msgs.Messages {
|
||||||
switch msg.Content.GetMessageContentEnum() {
|
switch msg.Content.GetMessageContentEnum() {
|
||||||
case tdlib.MessageTextType:
|
case tdlib.MessageTextType:
|
||||||
|
Loading…
Reference in New Issue
Block a user