diff --git a/td.go b/td.go index cd7b1b9..fe10d5d 100644 --- a/td.go +++ b/td.go @@ -154,7 +154,7 @@ func getHistory(c *tdlib.Client) { case tdlib.MessageTextType: m := ChatWarsMessage{ UserID64: int64(msg.SenderUserID), - ChatID64: msg.ChatID + ChatID64: msg.ChatID, MsgDate: msg.Date, MsgText: msg.Content.(*tdlib.MessageText).Text.Text, MsgID64: msg.ID,