diff --git a/db/structs.go b/db/structs.go index baa6308..e426f6d 100644 --- a/db/structs.go +++ b/db/structs.go @@ -8,7 +8,7 @@ import ( type Chat struct { tongo.Item `bson:",inline"` - ChatId int64 + ChatId int64 `bson:"chat_id"` Title string TopicId int64 `bson:"topic_id"` }