qTbot 0.2.123.6f57966
qTbot is base back end library for your c++ Qt projects.
telegraminlinekeyboardcallback.h
Go to the documentation of this file.
1//#
2//# Copyright (C) 2023-2026 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#ifndef TELEGRAMINLINEKEYBOARDCALLBACK_H
10#define TELEGRAMINLINEKEYBOARDCALLBACK_H
11
13
14namespace qTbot {
15
20{
21public:
26
31 TelegramInlineKeyBoardCallBack(const QJsonObject &jsonObject);
32
37 unsigned long long fromId() const;
38
43 bool isBot() const;
44
49 QString firstName() const;
50
55 QString lastName() const;
56
61 QString username() const;
62
67 QString languageCode() const;
68
73 QString callBackData() const;
74
79 QVariant messageId() const;
80
81};
82}
83#endif // TELEGRAMINLINEKEYBOARDCALLBACK_H
IJsonBasedObject()
IJsonBasedObject default constructor.
unsigned long long fromId() const
fromId returns the sender's ID.
TelegramInlineKeyBoardCallBack()
TelegramInlineKeyBoardCallBack default constructor.
QString callBackData() const
callBackData line of the call back that was be clicked.
QString lastName() const
lastName returns the sender's last name.
bool isBot() const
isBot checks if the sender is a bot.
QString languageCode() const
languageCode returns the sender's language code.
QVariant messageId() const
messageId id of the message when was be presed button.
QString username() const
username returns the sender's username.
QString firstName() const
firstName returns the sender's first name.