From 9983c7e4803c5bf2ba342186a2cab492c45b810d Mon Sep 17 00:00:00 2001 From: shoopea Date: Sun, 29 Dec 2019 11:15:03 +0800 Subject: [PATCH] test --- td.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td.go b/td.go index fb4c309..bc62990 100644 --- a/td.go +++ b/td.go @@ -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)