|
tgbot-cpp
|
Represents a contact with a phone number. More...
#include <InlineQueryResultContact.h>
Public Types | |
| typedef std::shared_ptr< InlineQueryResultContact > | Ptr |
| Public Types inherited from TgBot::InlineQueryResult | |
| typedef std::shared_ptr< InlineQueryResult > | Ptr |
Public Member Functions | |
| InlineQueryResultContact () | |
| Public Member Functions inherited from TgBot::InlineQueryResult | |
| InlineQueryResult () | |
| virtual | ~InlineQueryResult () |
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. | |
| InputMessageContent::Ptr | inputMessageContent |
| Optional. Content of the message to be sent instead of the contact. | |
| std::string | thumbnailUrl |
| Optional. Url of the thumbnail for the result. | |
| std::int32_t | thumbnailWidth |
| Optional. Thumbnail width. | |
| std::int32_t | thumbnailHeight |
| Optional. Thumbnail height. | |
| Public Attributes inherited from TgBot::InlineQueryResult | |
| std::string | type |
| Type of the result. | |
| std::string | id |
| Unique identifier for this result, 1-64 bytes. | |
| InlineKeyboardMarkup::Ptr | replyMarkup |
| Optional. Inline keyboard attached to the message. | |
Static Public Attributes | |
| static const std::string | TYPE |
Represents a contact with a phone number.
By default, this contact will be sent by the user. Alternatively, you can use inputMessageContent to send a message with the specified content instead of the contact.
Definition at line 21 of file InlineQueryResultContact.h.
| typedef std::shared_ptr<InlineQueryResultContact> TgBot::InlineQueryResultContact::Ptr |
Definition at line 26 of file InlineQueryResultContact.h.
|
inline |
Definition at line 28 of file InlineQueryResultContact.h.
| std::string TgBot::InlineQueryResultContact::firstName |
Contact's first name.
Definition at line 40 of file InlineQueryResultContact.h.
| InputMessageContent::Ptr TgBot::InlineQueryResultContact::inputMessageContent |
Optional. Content of the message to be sent instead of the contact.
Definition at line 55 of file InlineQueryResultContact.h.
| std::string TgBot::InlineQueryResultContact::lastName |
Optional. Contact's last name.
Definition at line 45 of file InlineQueryResultContact.h.
| std::string TgBot::InlineQueryResultContact::phoneNumber |
Contact's phone number.
Definition at line 35 of file InlineQueryResultContact.h.
| std::int32_t TgBot::InlineQueryResultContact::thumbnailHeight |
Optional. Thumbnail height.
Definition at line 70 of file InlineQueryResultContact.h.
| std::string TgBot::InlineQueryResultContact::thumbnailUrl |
Optional. Url of the thumbnail for the result.
Definition at line 60 of file InlineQueryResultContact.h.
| std::int32_t TgBot::InlineQueryResultContact::thumbnailWidth |
Optional. Thumbnail width.
Definition at line 65 of file InlineQueryResultContact.h.
|
static |
Definition at line 24 of file InlineQueryResultContact.h.
| std::string TgBot::InlineQueryResultContact::vcard |
Optional. Additional data about the contact in the form of a vCard, 0-2048 bytes.
Definition at line 50 of file InlineQueryResultContact.h.