This commit is contained in:
shoopea 2019-12-29 11:15:03 +08:00
parent 2063c42b78
commit 9983c7e480

2
td.go
View File

@ -23,7 +23,7 @@ func getHistory(c *tdlib.Client, chatID64 *int64) {
fmt.Printf("Getting details for chatID64 %d ...\n", chat)
chatDetails, err := c.GetChat(chatID64)
chatDetails, err := c.GetChat(chat)
failOnError(err, "getHistory : GetChat")
fmt.Printf("Exporting historic messages for chat %d (%s) ...\n", chat, chatDetails.Title)