tgbotxx
1.1.6.9
Telegram Bot C++ Library
|
Represents the content of a contact message to be sent as the result of an inline query. https://core.telegram.org/bots/api#inputcontactmessagecontent. More...
#include <InputMessageContent.hpp>
Public Member Functions | |
InputContactMessageContent () | |
InputContactMessageContent (const nl::json &json) | |
nl::json | toJson () const override |
void | fromJson (const nl::json &json) override |
Public Attributes | |
std::string | phoneNumber |
Contact's phone number. More... | |
std::string | firstName |
Contact's first name. More... | |
std::string | lastName |
Optional. Contact's last name. More... | |
std::string | vcard |
Optional. Additional data about the contact in the form of a vCard, 0-2048 bytes https://en.wikipedia.org/wiki/VCard . More... | |
Represents the content of a contact message to be sent as the result of an inline query. https://core.telegram.org/bots/api#inputcontactmessagecontent.
Definition at line 192 of file InputMessageContent.hpp.
|
inline |
Definition at line 193 of file InputMessageContent.hpp.
|
inlineexplicit |
Definition at line 196 of file InputMessageContent.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::InputMessageContent.
Definition at line 222 of file InputMessageContent.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::InputMessageContent.
Definition at line 213 of file InputMessageContent.hpp.
std::string tgbotxx::InputContactMessageContent::firstName |
Contact's first name.
Definition at line 204 of file InputMessageContent.hpp.
std::string tgbotxx::InputContactMessageContent::lastName |
Optional. Contact's last name.
Definition at line 207 of file InputMessageContent.hpp.
std::string tgbotxx::InputContactMessageContent::phoneNumber |
Contact's phone number.
Definition at line 201 of file InputMessageContent.hpp.
std::string tgbotxx::InputContactMessageContent::vcard |
Optional. Additional data about the contact in the form of a vCard, 0-2048 bytes https://en.wikipedia.org/wiki/VCard .
Definition at line 211 of file InputMessageContent.hpp.