From 6ccd5b478e092d1f143f469001e27a98067b1d9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=BB=D0=B0=D0=B4=D0=B8=D0=BC=D0=B8=D1=80=20=D0=A4?= =?UTF-8?q?=D0=B5=D0=B4=D0=BE=D1=80=D0=BE=D0=B2?= Date: Mon, 25 Apr 2022 02:42:13 +0700 Subject: [PATCH] add AddChat on /start --- db/db.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/db/db.go b/db/db.go index e883d0c..d2d5800 100644 --- a/db/db.go +++ b/db/db.go @@ -10,8 +10,7 @@ import ( ) type chatDTO struct { - ID string `bson:"_id"` - ChatID int64 `bson:"chat_id"` + ChatID int64 `bson:"chat_id"` } var cfg *config.Config