qTbot 0.2.123.6f57966
qTbot is base back end library for your c++ Qt projects.
telegrameditmessage.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 TELEGRAMEDITMESSAGE_H
9#define TELEGRAMEDITMESSAGE_H
10
11#include "telegramsendmsg.h"
12namespace qTbot {
13
18{
19public:
26 TelegramEditMessage(const QVariant& idEditedMessage,
27 const TelegramArgs& args,
28 const ExtraJsonObjects& extraObjects = {});
29};
30}
31#endif // TELEGRAMEDITMESSAGE_H
TelegramEditMessage(const QVariant &idEditedMessage, const TelegramArgs &args, const ExtraJsonObjects &extraObjects={})
TelegramEditMessage prepares the edit request.
TelegramSendMsg(const TelegramArgs &args, const ExtraJsonObjects &extraObjects={})
TelegramSendMsg This object sends a message to the telegram server.
const QMap< QString, QVariant > & args() const
args This method returns the the 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 the base structure for all telegram message arguments.