From 8f661d68a1d9bd4f8c9daab77d0aedbde6843a0a Mon Sep 17 00:00:00 2001 From: nefrace Date: Tue, 14 Feb 2023 01:21:44 +0300 Subject: [PATCH] Fixed field chat_id --- db/structs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"` }