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()