mirror of
https://github.com/QuasarApp/qTbot.git
synced 2025-05-11 12:49:35 +00:00
fix arguments
This commit is contained in:
parent
722f56b158
commit
91be0bc48c
src/qTbot/src/public/qTbot
@ -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),
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user