|
qTbot 0.2.123.6f57966
qTbot is base back end library for your c++ Qt projects.
|
The TelegramInlineKeyBoardCallBack class contains the data of a callback query that was received from an inline keyboard button. More...
#include <telegraminlinekeyboardcallback.h>


Public Member Functions | |
| TelegramInlineKeyBoardCallBack () | |
| TelegramInlineKeyBoardCallBack default constructor. | |
| TelegramInlineKeyBoardCallBack (const QJsonObject &jsonObject) | |
| Constructs a callback object from a JSON object. | |
| unsigned long long | fromId () const |
| fromId returns the sender's ID. | |
| bool | isBot () const |
| isBot checks if the sender is a bot. | |
| QString | firstName () const |
| firstName returns the sender's first name. | |
| QString | lastName () const |
| lastName returns the sender's last name. | |
| QString | username () const |
| username returns the sender's username. | |
| QString | languageCode () const |
| languageCode returns the sender's language code. | |
| QString | callBackData () const |
| callBackData line of the call back that was be clicked. | |
| QVariant | messageId () const |
| messageId id of the message when was be presed button. | |
| Public Member Functions inherited from qTbot::IJsonBasedObject | |
| IJsonBasedObject () | |
| IJsonBasedObject default constructor. | |
| IJsonBasedObject (const QJsonObject &newRawJson) | |
| IJsonBasedObject constructs the object from a raw json value. | |
| const QJsonObject & | rawJson () const |
| rawJson Telegram uses a rest api with json objects. So all received messages are parsed into a json object. | |
| virtual void | setRawJson (const QJsonObject &newRawJson) |
| setRawJson This method sets a new raw json data of the object. | |
The TelegramInlineKeyBoardCallBack class contains the data of a callback query that was received from an inline keyboard button.
Definition at line 19 of file telegraminlinekeyboardcallback.h.
| qTbot::TelegramInlineKeyBoardCallBack::TelegramInlineKeyBoardCallBack | ( | ) |
TelegramInlineKeyBoardCallBack default constructor.
Definition at line 5 of file telegraminlinekeyboardcallback.cpp.
| qTbot::TelegramInlineKeyBoardCallBack::TelegramInlineKeyBoardCallBack | ( | const QJsonObject & | jsonObject | ) |
Constructs a callback object from a JSON object.
| jsonObject | The JSON object containing callback data. |
Definition at line 10 of file telegraminlinekeyboardcallback.cpp.

| QString qTbot::TelegramInlineKeyBoardCallBack::callBackData | ( | ) | const |
callBackData line of the call back that was be clicked.
Definition at line 39 of file telegraminlinekeyboardcallback.cpp.

| QString qTbot::TelegramInlineKeyBoardCallBack::firstName | ( | ) | const |
firstName returns the sender's first name.
Definition at line 23 of file telegraminlinekeyboardcallback.cpp.

| unsigned long long qTbot::TelegramInlineKeyBoardCallBack::fromId | ( | ) | const |
fromId returns the sender's ID.
Definition at line 15 of file telegraminlinekeyboardcallback.cpp.

| bool qTbot::TelegramInlineKeyBoardCallBack::isBot | ( | ) | const |
isBot checks if the sender is a bot.
Definition at line 19 of file telegraminlinekeyboardcallback.cpp.

| QString qTbot::TelegramInlineKeyBoardCallBack::languageCode | ( | ) | const |
languageCode returns the sender's language code.
Definition at line 35 of file telegraminlinekeyboardcallback.cpp.

| QString qTbot::TelegramInlineKeyBoardCallBack::lastName | ( | ) | const |
lastName returns the sender's last name.
Definition at line 27 of file telegraminlinekeyboardcallback.cpp.

| QVariant qTbot::TelegramInlineKeyBoardCallBack::messageId | ( | ) | const |
messageId id of the message when was be presed button.
Definition at line 43 of file telegraminlinekeyboardcallback.cpp.

| QString qTbot::TelegramInlineKeyBoardCallBack::username | ( | ) | const |
username returns the sender's username.
Definition at line 31 of file telegraminlinekeyboardcallback.cpp.
