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

Represents the content of a contact message to be sent as the result of an inline query. More...

#include <InputContactMessageContent.h>

Inheritance diagram for TgBot::InputContactMessageContent:
TgBot::InputMessageContent

Public Types

typedef std::shared_ptr< InputContactMessageContentPtr
 
- Public Types inherited from TgBot::InputMessageContent
typedef std::shared_ptr< InputMessageContentPtr
 

Public Member Functions

 InputContactMessageContent ()
 
- Public Member Functions inherited from TgBot::InputMessageContent
 InputMessageContent ()
 
virtual ~InputMessageContent ()
 

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::string vcard
 Optional. Additional data about the contact in the form of a vCard, 0-2048 bytes.
 
- Public Attributes inherited from TgBot::InputMessageContent
std::string type
 Type of the content.
 

Static Public Attributes

static const std::string TYPE
 

Detailed Description

Represents the content of a contact message to be sent as the result of an inline query.

Definition at line 16 of file InputContactMessageContent.h.

Member Typedef Documentation

◆ Ptr

Constructor & Destructor Documentation

◆ InputContactMessageContent()

TgBot::InputContactMessageContent::InputContactMessageContent ( )
inline

Definition at line 22 of file InputContactMessageContent.h.

Member Data Documentation

◆ firstName

std::string TgBot::InputContactMessageContent::firstName

Contact's first name.

Definition at line 34 of file InputContactMessageContent.h.

◆ lastName

std::string TgBot::InputContactMessageContent::lastName

Optional. Contact's last name.

Definition at line 39 of file InputContactMessageContent.h.

◆ phoneNumber

std::string TgBot::InputContactMessageContent::phoneNumber

Contact's phone number.

Definition at line 29 of file InputContactMessageContent.h.

◆ TYPE

const std::string TgBot::InputContactMessageContent::TYPE
static

Definition at line 18 of file InputContactMessageContent.h.

◆ vcard

std::string TgBot::InputContactMessageContent::vcard

Optional. Additional data about the contact in the form of a vCard, 0-2048 bytes.

Definition at line 44 of file InputContactMessageContent.h.


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