qTbot 0.89.ee6949a
qTbot is base back end library for your c++ Qt projects.
|
The IJsonBasedObject class This is base interface for all json base objects. More...
#include <ijsonbasedobject.h>
Public Member Functions | |
IJsonBasedObject () | |
IJsonBasedObject (const QJsonObject &newRawJson) | |
const QJsonObject & | rawJson () const |
rawJson Telegram use rest api with json objects. So all received messages will be parsed in to jsobject. | |
virtual void | setRawJson (const QJsonObject &newRawJson) |
setRawJson this method convert jsobject into telegram message. | |
The IJsonBasedObject class This is base interface for all json base objects.
Definition at line 19 of file ijsonbasedobject.h.
qTbot::IJsonBasedObject::IJsonBasedObject | ( | ) |
Definition at line 12 of file ijsonbasedobject.cpp.
qTbot::IJsonBasedObject::IJsonBasedObject | ( | const QJsonObject & | newRawJson | ) |
const QJsonObject & qTbot::IJsonBasedObject::rawJson | ( | ) | const |
rawJson Telegram use rest api with json objects. So all received messages will be parsed in to jsobject.
Definition at line 21 of file ijsonbasedobject.cpp.
|
virtual |
setRawJson this method convert jsobject into telegram message.
newRawJson | new data for telegram message. |
Definition at line 25 of file ijsonbasedobject.cpp.