qTbot
0.89.ee6949a
qTbot is base back end library for your c++ Qt projects.
telegramcontact.h
Go to the documentation of this file.
1
//#
2
//# Copyright (C) 2023-2024 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 TELEGRAMCONTACT_H
10
#define TELEGRAMCONTACT_H
11
12
#include <
qTbot/ijsonbasedobject.h
>
13
14
namespace
qTbot
{
15
19
class
QTBOT_EXPORT
TelegramContact
:
public
IJsonBasedObject
20
{
21
public
:
22
TelegramContact
();
23
TelegramContact
(
const
QJsonObject &jsonObject);
24
29
unsigned
long
long
userIdInt()
const
;
30
35
QVariant userId()
const
;
36
41
QString firstName()
const
;
42
47
QString lastName()
const
;
48
53
QString username()
const
;
54
59
QString phone()
const
;
60
65
QString languageCode()
const
;
66
};
67
}
68
#endif
// TELEGRAMCONTACT_H
qTbot::IJsonBasedObject
The IJsonBasedObject class This is base interface for all json base objects.
Definition
ijsonbasedobject.h:20
qTbot::TelegramContact
The telegramcontact class contains information about user contact.
Definition
telegramcontact.h:20
QTBOT_EXPORT
#define QTBOT_EXPORT
Definition
global.h:18
ijsonbasedobject.h
qTbot
Definition
telegramdeletemessage.cpp:8
src
qTbot
src
public
qTbot
messages
telegramcontact.h
Generated by
1.9.8