tgbot-cpp
Loading...
Searching...
No Matches
Contact.h
Go to the documentation of this file.
1
#ifndef TGBOT_CPP_CONTACT_H
2
#define TGBOT_CPP_CONTACT_H
3
4
#include <string>
5
#include <memory>
6
7
namespace
TgBot
{
8
14
class
Contact
{
15
16
public
:
17
typedef
std::shared_ptr<Contact>
Ptr
;
18
22
std::string
phoneNumber
;
23
27
std::string
firstName
;
28
32
std::string
lastName
;
33
37
std::int64_t
userId
;
38
42
std::string
vcard
;
43
};
44
45
}
46
47
#endif
//TGBOT_CPP_CONTACT_H
TgBot::Contact
This object represents a phone contact.
Definition
Contact.h:14
TgBot::Contact::Ptr
std::shared_ptr< Contact > Ptr
Definition
Contact.h:17
TgBot::Contact::userId
std::int64_t userId
Optional. Contact's user identifier in Telegram.
Definition
Contact.h:37
TgBot::Contact::vcard
std::string vcard
Optional. Additional data about the contact in the form of a vCard.
Definition
Contact.h:42
TgBot::Contact::firstName
std::string firstName
Contact's first name.
Definition
Contact.h:27
TgBot::Contact::lastName
std::string lastName
Optional. Contact's last name.
Definition
Contact.h:32
TgBot::Contact::phoneNumber
std::string phoneNumber
Contact's phone number.
Definition
Contact.h:22
TgBot
Definition
Api.h:40
include
tgbot
types
Contact.h
Generated on Tue Jun 11 2024 00:46:35 for tgbot-cpp by
1.11.0