qTbot
0.2.123.6f57966
qTbot is base back end library for your c++ Qt projects.
Toggle main menu visibility
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
12
#include <
qTbot/ijsonbasedobject.h
>
13
14
namespace
qTbot
{
15
19
class
QTBOT_EXPORT
TelegramInlineKeyBoardCallBack
:
public
IJsonBasedObject
20
{
21
public
:
25
TelegramInlineKeyBoardCallBack
();
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
qTbot::IJsonBasedObject::IJsonBasedObject
IJsonBasedObject()
IJsonBasedObject default constructor.
Definition
ijsonbasedobject.cpp:12
qTbot::TelegramInlineKeyBoardCallBack::fromId
unsigned long long fromId() const
fromId returns the sender's ID.
Definition
telegraminlinekeyboardcallback.cpp:15
qTbot::TelegramInlineKeyBoardCallBack::TelegramInlineKeyBoardCallBack
TelegramInlineKeyBoardCallBack()
TelegramInlineKeyBoardCallBack default constructor.
Definition
telegraminlinekeyboardcallback.cpp:5
qTbot::TelegramInlineKeyBoardCallBack::callBackData
QString callBackData() const
callBackData line of the call back that was be clicked.
Definition
telegraminlinekeyboardcallback.cpp:39
qTbot::TelegramInlineKeyBoardCallBack::lastName
QString lastName() const
lastName returns the sender's last name.
Definition
telegraminlinekeyboardcallback.cpp:27
qTbot::TelegramInlineKeyBoardCallBack::isBot
bool isBot() const
isBot checks if the sender is a bot.
Definition
telegraminlinekeyboardcallback.cpp:19
qTbot::TelegramInlineKeyBoardCallBack::languageCode
QString languageCode() const
languageCode returns the sender's language code.
Definition
telegraminlinekeyboardcallback.cpp:35
qTbot::TelegramInlineKeyBoardCallBack::messageId
QVariant messageId() const
messageId id of the message when was be presed button.
Definition
telegraminlinekeyboardcallback.cpp:43
qTbot::TelegramInlineKeyBoardCallBack::username
QString username() const
username returns the sender's username.
Definition
telegraminlinekeyboardcallback.cpp:31
qTbot::TelegramInlineKeyBoardCallBack::firstName
QString firstName() const
firstName returns the sender's first name.
Definition
telegraminlinekeyboardcallback.cpp:23
ijsonbasedobject.h
qTbot
Definition
telegramdeletemessage.cpp:8
src
qTbot
src
public
qTbot
messages
telegraminlinekeyboardcallback.h
Generated by
1.18.0