qTbot
0.89.ee6949a
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
13
#include <
qTbot/ijsonbasedupdate.h
>
14
15
namespace
qTbot
{
16
20
class
QTBOT_EXPORT
TelegramUpdateAnswer
:
public
IJsonBasedUpdate
21
{
22
public
:
23
TelegramUpdateAnswer
();
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
qTbot::IJsonBasedUpdate
The IJsonBasedUpdate class This is updates that have a json sructure.
Definition
ijsonbasedupdate.h:23
qTbot::TelegramUpdateAnswer
The TelegramUpdateAnswer class This is base message from the telegram server after update request.
Definition
telegramupdateanswer.h:21
QTBOT_EXPORT
#define QTBOT_EXPORT
Definition
global.h:18
ijsonbasedupdate.h
qTbot
Definition
telegramdeletemessage.cpp:8
src
qTbot
src
public
qTbot
messages
telegramupdateanswer.h
Generated by
1.9.8