qTbot 0.89.ee6949a
qTbot is base back end library for your c++ Qt projects.
|
The TelegramInlineKeyBoardCallBack class. More...
#include <telegraminlinekeyboardcallback.h>
Public Member Functions | |
TelegramInlineKeyBoardCallBack () | |
TelegramInlineKeyBoardCallBack (const QJsonObject &jsonObject) | |
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 (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 TelegramInlineKeyBoardCallBack class.
Definition at line 19 of file telegraminlinekeyboardcallback.h.
qTbot::TelegramInlineKeyBoardCallBack::TelegramInlineKeyBoardCallBack | ( | ) |
Definition at line 5 of file telegraminlinekeyboardcallback.cpp.
qTbot::TelegramInlineKeyBoardCallBack::TelegramInlineKeyBoardCallBack | ( | const QJsonObject & | jsonObject | ) |
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.