qTbot 0.87.9547b0c
qTbot is base back end library for your c++ Qt projects.
telegramupdateanswer.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
9
10#ifndef TELEGRAMUPDATEANSVER_H
11#define TELEGRAMUPDATEANSVER_H
12
14
15namespace qTbot {
16
21{
22public:
24
25 // iMessage interface
26 bool isValid() const override;
27
32 QJsonValue result() const;
33
38 int errorCode() const;
39
44 QString errorDescription() const;
45
46 QString from() const override;
47 QVariant chatId() const override;
48
49 unsigned long long updateId() const override;
50
51};
52
53}
54#endif // TELEGRAMUPDATEANSVER_H
The IJsonBasedUpdate class This is updates that have a json sructure.
The TelegramUpdateAnswer class This is base message from the telegram server after update request.
#define QTBOT_EXPORT
Definition global.h:18