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
13
14namespace qTbot {
15
20{
21public:
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
The IJsonBasedObject class This is base interface for all json base objects.
The telegramcontact class contains information about user contact.
#define QTBOT_EXPORT
Definition global.h:18