tgbot-cpp
TgBot::Contact Class Reference

#include <Contact.h>

Public Types

typedef std::shared_ptr< ContactPtr
 

Public Attributes

std::string phoneNumber
 
std::string firstName
 
std::string lastName
 
std::string userId
 

Detailed Description

This object represents a phone contact.

Definition at line 35 of file Contact.h.

Member Typedef Documentation

◆ Ptr

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

Definition at line 38 of file Contact.h.

Member Data Documentation

◆ firstName

std::string TgBot::Contact::firstName

Contact's first name.

Definition at line 48 of file Contact.h.

◆ lastName

std::string TgBot::Contact::lastName

Optional. Contact's last name.

Definition at line 53 of file Contact.h.

◆ phoneNumber

std::string TgBot::Contact::phoneNumber

Contact's phone number.

Definition at line 43 of file Contact.h.

◆ userId

std::string TgBot::Contact::userId

Optional. Contact's user identifier in Telegram.

Definition at line 58 of file Contact.h.


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