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

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

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<InputContactMessageContent>

Public Attributes

std::string phoneNumber { }
 Contact's phone number.
std::string firstName { }
 Contact's first name.
std::optional< std::string > lastName { }
 Optional. Contact's last name.
std::optional< std::string > vcard { }
 Optional. Additional data about the contact in the form of a vCard, 0-2048 bytes.

Detailed Description

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

Definition at line 6088 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 6089 of file Types.h.

Member Data Documentation

◆ firstName

std::string TgBot::InputContactMessageContent::firstName { }

Contact's first name.

Definition at line 6099 of file Types.h.

◆ lastName

std::optional<std::string> TgBot::InputContactMessageContent::lastName { }

Optional. Contact's last name.

Definition at line 6104 of file Types.h.

◆ phoneNumber

std::string TgBot::InputContactMessageContent::phoneNumber { }

Contact's phone number.

Definition at line 6094 of file Types.h.

◆ vcard

std::optional<std::string> TgBot::InputContactMessageContent::vcard { }

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

Definition at line 6109 of file Types.h.


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