qTbot 0.89.ee6949a
qTbot is base back end library for your c++ Qt projects.
telegramsendlocation.h
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
8#ifndef TELEGRAMSENDLOCATION_H
9#define TELEGRAMSENDLOCATION_H
10
11#include "qTbot/telegramargs.h"
13namespace qTbot {
14
19{
20public:
22 float latitude,
23 float longitude,
24 const ExtraJsonObjects& extraObjects = {});
25};
26}
27#endif // TELEGRAMSENDLOCATION_H
The TelegramSendLocation class sents location data into chat.
The TelegramSingleRquest class Is base class for all single requests commands with arguments.
const QMap< QString, QVariant > & args() const
args This method returns a current list of arguments
Definition irequest.cpp:30
QHash< QString, QSharedPointer< QJsonObject > > ExtraJsonObjects
ExtraJsonObjects hash map of the extra objects of the message.
Definition irequest.h:26
The TelegramArgs class is base structure for the all tellegram message arguments.