From 164235667a54f27134ef48518c32b26d13f9b1ea Mon Sep 17 00:00:00 2001 From: shoopea Date: Mon, 6 May 2019 11:28:10 +0800 Subject: [PATCH] typo --- td.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td.go b/td.go index 27e7c38..3613e94 100644 --- a/td.go +++ b/td.go @@ -82,7 +82,7 @@ func getHistory(c *tdlib.Client, chatID64 *int64, senderUserID64 *int64) { } if *senderUserID64 != 0 { - userDetails, err := c.GetUser(senderUserID) + userDetails, err := c.GetUser(senderUserID64) chatDetails, err := c.GetChat(chat) fmt.Printf("Exporting historic messages for chat %d (%s) from user %d (%s)...\n", chat, chatDetails.Title, *senderUserID64, userDetails.Username) } else {