From 6f34b0a4af9fc699ef104e131b5d09c59be6845d Mon Sep 17 00:00:00 2001 From: Peyman <118217228+Ptechgithub@users.noreply.github.com> Date: Tue, 9 May 2023 00:23:06 +0330 Subject: [PATCH] Update tgbot.go --- web/service/tgbot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/service/tgbot.go b/web/service/tgbot.go index c09c9d67..7944e400 100644 --- a/web/service/tgbot.go +++ b/web/service/tgbot.go @@ -380,7 +380,7 @@ func (t *Tgbot) SendAnswer(chatId int64, msg string, isAdmin bool) { } } -func (t *Tgbot) SendMsgToTgbot(tgid int64, msg string, inlineKeyboard ...tgbotapi.InlineKeyboardMarku +func (t *Tgbot) SendMsgToTgbot(tgid int64, msg string, inlineKeyboard ...tgbotapi.InlineKeyboardMarkup) { var allMessages []string limit := 2000 // paging message if it is big