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
//#
7
#include "
telegramdeletemessage.h
"
8
namespace
qTbot
{
9
10
TelegramDeleteMessage::TelegramDeleteMessage
(
const
QVariant &chatId,
11
const
QVariant &messageId):
12
TelegramSingleRquest
(
"deleteMessage"
)
13
14
{
15
16
addArg
(
"chat_id"
, chatId);
17
addArg
(
"message_id"
, messageId);
18
}
19
}
qTbot::TelegramDeleteMessage::TelegramDeleteMessage
TelegramDeleteMessage(const QVariant &chatId, const QVariant &messageId)
Definition
telegramdeletemessage.cpp:10
qTbot::TelegramSingleRquest
The TelegramSingleRquest class Is base class for all single requests commands with arguments.
Definition
telegramsinglerquest.h:37
qTbot::iRequest::addArg
void addArg(const QString &key, const QVariant &val)
addArg This method push new arg, to arguments list
Definition
irequest.cpp:34
qTbot
Definition
telegramdeletemessage.cpp:8
telegramdeletemessage.h
src
qTbot
src
private
requests
telegramdeletemessage.cpp
Generated by
1.9.8