qTbot 0.89.ee6949a
qTbot is base back end library for your c++ Qt projects.
telegramdeletemessage.cpp
Go to the documentation of this file.
1//#
2//# Copyright (C) 2023-2024 QuasarApp.
3//# Distributed under the GPLv3 software license, see the accompanying
4//# Everyone is permitted to copy and distribute verbatim copies
5//# of this license document, but changing it is not allowed.
6//#
8namespace qTbot {
9
11 const QVariant &messageId):
12 TelegramSingleRquest("deleteMessage")
13
14{
15
16 addArg("chat_id", chatId);
17 addArg("message_id", messageId);
18}
19}
TelegramDeleteMessage(const QVariant &chatId, const QVariant &messageId)
The TelegramSingleRquest class Is base class for all single requests commands with arguments.
void addArg(const QString &key, const QVariant &val)
addArg This method push new arg, to arguments list
Definition irequest.cpp:34