Update tgbot.go

This commit is contained in:
Peyman 2023-05-09 00:23:06 +03:30 committed by GitHub
parent cc33c8973c
commit 6f34b0a4af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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