From 0c285f0c35ee1b6442ef0d8878c232cd0de418a7 Mon Sep 17 00:00:00 2001 From: shoopea Date: Wed, 15 May 2019 11:19:10 +0800 Subject: [PATCH] test --- td.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/td.go b/td.go index 827d991..457ea8d 100644 --- a/td.go +++ b/td.go @@ -60,11 +60,6 @@ func ListenCW(c *tdlib.Client) { updateMsg := (newMsg).(*tdlib.UpdateNewMessage) senderUserID := updateMsg.Message.SenderUserID if updateMsg.Message.Content.GetMessageContentEnum() == tdlib.MessageTextType { - user, err := c.GetUser(senderUserID) - if err != nil { - fmt.Println("ListenCW:", err.Error()) - } - txt := updateMsg.Message.Content.(*tdlib.MessageText).Text.Text t := time.Now()