qTbot
0.2.123.6f57966
qTbot is base back end library for your c++ Qt projects.
Toggle main menu visibility
telegramcontact.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 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
:
25
TelegramContact
();
26
31
TelegramContact
(
const
QJsonObject &jsonObject);
32
37
unsigned
long
long
userIdInt
()
const
;
38
43
QVariant
userId
()
const
;
44
49
QString
firstName
()
const
;
50
55
QString
lastName
()
const
;
56
61
QString
username
()
const
;
62
67
QString
phone
()
const
;
68
73
QString
languageCode
()
const
;
74
};
75
}
76
#endif
// TELEGRAMCONTACT_H
qTbot::IJsonBasedObject::IJsonBasedObject
IJsonBasedObject()
IJsonBasedObject default constructor.
Definition
ijsonbasedobject.cpp:12
qTbot::TelegramContact::phone
QString phone() const
phone Returns the phone number of the contact.
Definition
telegramcontact.cpp:41
qTbot::TelegramContact::lastName
QString lastName() const
lastName Returns the last name of the contact.
Definition
telegramcontact.cpp:33
qTbot::TelegramContact::firstName
QString firstName() const
firstName Returns the first name of the contact.
Definition
telegramcontact.cpp:29
qTbot::TelegramContact::TelegramContact
TelegramContact()
TelegramContact default constructor.
Definition
telegramcontact.cpp:11
qTbot::TelegramContact::username
QString username() const
username Returns the username of the contact.
Definition
telegramcontact.cpp:37
qTbot::TelegramContact::languageCode
QString languageCode() const
languageCode Returns the language code of the contact.
Definition
telegramcontact.cpp:45
qTbot::TelegramContact::userId
QVariant userId() const
userId This is the id of the user contact.
Definition
telegramcontact.cpp:25
qTbot::TelegramContact::userIdInt
unsigned long long userIdInt() const
userIdInt This is the numeric id of the user contact.
Definition
telegramcontact.cpp:21
ijsonbasedobject.h
qTbot
Definition
telegramdeletemessage.cpp:8
src
qTbot
src
public
qTbot
messages
telegramcontact.h
Generated by
1.18.0