qTbot
0.2.123.6f57966
qTbot is base back end library for your c++ Qt projects.
Toggle main menu visibility
telegramsendlocation.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 TELEGRAMSENDLOCATION_H
9
#define TELEGRAMSENDLOCATION_H
10
11
#include "
qTbot/telegramargs.h
"
12
#include "
requests/telegramsinglerquest.h
"
13
namespace
qTbot
{
14
18
class
TelegramSendLocation
:
public
TelegramSingleRquest
19
{
20
public
:
28
TelegramSendLocation
(
const
TelegramArgs
&
args
,
29
float
latitude,
30
float
longitude,
31
const
ExtraJsonObjects
& extraObjects = {});
32
};
33
}
34
#endif
// TELEGRAMSENDLOCATION_H
qTbot::TelegramSendLocation::TelegramSendLocation
TelegramSendLocation(const TelegramArgs &args, float latitude, float longitude, const ExtraJsonObjects &extraObjects={})
TelegramSendLocation prepares the send location request.
Definition
telegramsendlocation.cpp:13
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::args
const QMap< QString, QVariant > & args() const
args This method returns the the current list of arguments
Definition
irequest.cpp:30
qTbot
Definition
telegramdeletemessage.cpp:8
qTbot::ExtraJsonObjects
QHash< QString, QSharedPointer< QJsonObject > > ExtraJsonObjects
ExtraJsonObjects hash map of the extra objects of the message.
Definition
irequest.h:26
qTbot::TelegramArgs
The TelegramArgs class is the base structure for all telegram message arguments.
Definition
telegramargs.h:21
telegramargs.h
telegramsinglerquest.h
src
qTbot
src
private
requests
telegramsendlocation.h
Generated by
1.18.0