fix arguments

This commit is contained in:
Andrei Yankovich 2023-11-12 16:40:55 +01:00
parent 722f56b158
commit 91be0bc48c
2 changed files with 2 additions and 6 deletions

View File

@ -107,10 +107,6 @@ bool ITelegramBot::sendSpecificMessageWithKeyboard(const QVariant &chatId,
if (!chatId.isValid() || chatId.isNull())
return false;
if (text.isEmpty()) {
return false;
}
auto msg = QSharedPointer<TelegramSendMsg>::create(chatId,
text,
prepareKeyboard(autoResizeKeyboard, onTimeKeyboard, keyboard),

View File

@ -121,9 +121,9 @@ public:
bool sendSpecificMessageWithKeyboard(const QVariant &chatId,
const QString& text,
const QList<QList<QString> > &keyboard,
const QString &callBackQueryId,
const QString &callBackQueryId = "",
bool onTimeKeyboard = false,
bool autoResizeKeyboard = false,
bool autoResizeKeyboard = true,
unsigned long long replyToMessageId = 0,
bool markdown = true,
bool disableWebPagePreview = false);