tgbotxx
1.1.6.9
Telegram Bot C++ Library
|
Represents a venue. By default, the venue will be sent by the user. Alternatively, you can use inputMessageContent to send a message with the specified content instead of the venue. More...
#include <InlineQueryResult.hpp>
Public Member Functions | |
InlineQueryResultContact () | |
InlineQueryResultContact (const nl::json &json) | |
nl::json | toJson () const override |
void | fromJson (const nl::json &json) override |
Public Member Functions inherited from tgbotxx::InlineQueryResult | |
InlineQueryResult ()=default | |
InlineQueryResult (const nl::json &json) | |
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. More... | |
Ptr< InputMessageContent > | inputMessageContent |
Optional. Content of the message to be sent instead of the contact. More... | |
std::string | thumbnailUrl |
Optional. Url of the thumbnail for the result. More... | |
std::int32_t | thumbnailWidth {} |
Optional. Thumbnail width;. More... | |
std::int32_t | thumbnailHeight {} |
Optional. Thumbnail height;. More... | |
Public Attributes inherited from tgbotxx::InlineQueryResult | |
std::string | type |
Type of the result. More... | |
std::string | id |
Unique identifier for this result, 1-64 bytes. More... | |
Ptr< InlineKeyboardMarkup > | replyMarkup |
Optional. Inline keyboard attached to the message. More... | |
Represents a venue. By default, the venue will be sent by the user. Alternatively, you can use inputMessageContent to send a message with the specified content instead of the venue.
Definition at line 803 of file InlineQueryResult.hpp.
|
inline |
Definition at line 804 of file InlineQueryResult.hpp.
|
inlineexplicit |
Definition at line 807 of file InlineQueryResult.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::InlineQueryResult.
Definition at line 848 of file InlineQueryResult.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::InlineQueryResult.
Definition at line 835 of file InlineQueryResult.hpp.
std::string tgbotxx::InlineQueryResultContact::firstName |
Contact's first name.
Definition at line 815 of file InlineQueryResult.hpp.
Ptr<InputMessageContent> tgbotxx::InlineQueryResultContact::inputMessageContent |
Optional. Content of the message to be sent instead of the contact.
Definition at line 824 of file InlineQueryResult.hpp.
std::string tgbotxx::InlineQueryResultContact::lastName |
Optional. Contact's last name.
Definition at line 818 of file InlineQueryResult.hpp.
std::string tgbotxx::InlineQueryResultContact::phoneNumber |
Contact's phone number.
Definition at line 812 of file InlineQueryResult.hpp.
std::int32_t tgbotxx::InlineQueryResultContact::thumbnailHeight {} |
Optional. Thumbnail height;.
Definition at line 833 of file InlineQueryResult.hpp.
std::string tgbotxx::InlineQueryResultContact::thumbnailUrl |
Optional. Url of the thumbnail for the result.
Definition at line 827 of file InlineQueryResult.hpp.
std::int32_t tgbotxx::InlineQueryResultContact::thumbnailWidth {} |
Optional. Thumbnail width;.
Definition at line 830 of file InlineQueryResult.hpp.
std::string tgbotxx::InlineQueryResultContact::vcard |
Optional. Additional data about the contact in the form of a vCard, 0-2048 bytes.
Definition at line 821 of file InlineQueryResult.hpp.