diff --git a/td.go b/td.go index 457ea8d..23e297a 100644 --- a/td.go +++ b/td.go @@ -58,7 +58,6 @@ func ListenCW(c *tdlib.Client) { receiver := c.AddEventReceiver(&tdlib.UpdateNewMessage{}, eventFilter, 100) for newMsg := range receiver.Chan { updateMsg := (newMsg).(*tdlib.UpdateNewMessage) - senderUserID := updateMsg.Message.SenderUserID if updateMsg.Message.Content.GetMessageContentEnum() == tdlib.MessageTextType { txt := updateMsg.Message.Content.(*tdlib.MessageText).Text.Text t := time.Now()