qTbot
0.2.123.6f57966
qTbot is base back end library for your c++ Qt projects.
Toggle main menu visibility
telegramsinglerquest.h
Go to the documentation of this file.
1
//#
2
//# Copyright (C) 2023-2026 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
8
#ifndef TELEGRAMSINGLERQUEST_H
9
#define TELEGRAMSINGLERQUEST_H
10
11
#include <
qTbot/irequest.h
>
12
#include <QVariant>
13
#include <QMap>
14
15
namespace
qTbot
{
16
36
class
TelegramSingleRquest
:
public
iRequest
37
{
38
public
:
44
TelegramSingleRquest
(
const
QString &
request
,
const
QMap<QString, QVariant> &
args
);
45
50
TelegramSingleRquest
(
const
QString&
request
);
51
52
QString
baseAddress
()
const override
;
53
RequestMethod
method
()
const override
;
54
55
};
56
}
57
#endif
// TELEGRAMSINGLERQUEST_H
qTbot::TelegramSingleRquest::method
RequestMethod method() const override
method returns the method of the request.
Definition
telegramsinglerquest.cpp:31
qTbot::TelegramSingleRquest::baseAddress
QString baseAddress() const override
baseAddress This method returns the base domain of the remote server.
Definition
telegramsinglerquest.cpp:27
qTbot::TelegramSingleRquest::TelegramSingleRquest
TelegramSingleRquest(const QString &request, const QMap< QString, QVariant > &args)
TelegramSingleRquest This is the main constructor of the single requests.
Definition
telegramsinglerquest.cpp:17
qTbot::iRequest::RequestMethod
RequestMethod
RequestMethod This is the list of supported request types.
Definition
irequest.h:43
qTbot::iRequest::args
const QMap< QString, QVariant > & args() const
args This method returns the the current list of arguments
Definition
irequest.cpp:30
qTbot::iRequest::request
const QString & request() const
request Returns the current request command.
Definition
irequest.cpp:102
qTbot::iRequest::iRequest
iRequest()
iRequest default constructor.
Definition
irequest.cpp:15
irequest.h
qTbot
Definition
telegramdeletemessage.cpp:8
src
qTbot
src
private
requests
telegramsinglerquest.h
Generated by
1.18.0