From a3927f7266689a0057f4e648e7d8a2a749027d17 Mon Sep 17 00:00:00 2001 From: Peyman <118217228+Ptechgithub@users.noreply.github.com> Date: Sun, 21 May 2023 16:14:28 +0330 Subject: [PATCH] Update tgbot.go --- web/service/tgbot.go | 1 + 1 file changed, 1 insertion(+) diff --git a/web/service/tgbot.go b/web/service/tgbot.go index fd3d0dc5..5479a0fd 100644 --- a/web/service/tgbot.go +++ b/web/service/tgbot.go @@ -437,6 +437,7 @@ func checkAdmin(tgId int64) bool { } } return false +} func (t *Tgbot) SendAnswer(chatId int64, msg string, isAdmin bool) { var replyMarkup interface{}