tgbot-cpp
Loading...
Searching...
No Matches
TgBot::Contact Class Reference

This object represents a phone contact. More...

#include <Contact.h>

Public Types

typedef std::shared_ptr< ContactPtr
 

Public Attributes

std::string phoneNumber
 Contact's phone number.
 
std::string firstName
 Contact's first name.
 
std::string lastName
 Optional. Contact's last name.
 
std::int64_t userId
 Optional. Contact's user identifier in Telegram.
 
std::string vcard
 Optional. Additional data about the contact in the form of a vCard.
 

Detailed Description

This object represents a phone contact.

Definition at line 14 of file Contact.h.

Member Typedef Documentation

◆ Ptr

typedef std::shared_ptr<Contact> TgBot::Contact::Ptr

Definition at line 17 of file Contact.h.

Member Data Documentation

◆ firstName

std::string TgBot::Contact::firstName

Contact's first name.

Definition at line 27 of file Contact.h.

◆ lastName

std::string TgBot::Contact::lastName

Optional. Contact's last name.

Definition at line 32 of file Contact.h.

◆ phoneNumber

std::string TgBot::Contact::phoneNumber

Contact's phone number.

Definition at line 22 of file Contact.h.

◆ userId

std::int64_t TgBot::Contact::userId

Optional. Contact's user identifier in Telegram.

Definition at line 37 of file Contact.h.

◆ vcard

std::string TgBot::Contact::vcard

Optional. Additional data about the contact in the form of a vCard.

Definition at line 42 of file Contact.h.


The documentation for this class was generated from the following file: