|
tgbotxx 1.1.9.2
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) | |
| virtual | ~InlineQueryResult ()=default |
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. | |
| Ptr< InputMessageContent > | 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 tgbotxx::InlineQueryResult | |
| std::string | type |
| Type of the result. | |
| std::string | id |
| Unique identifier for this result, 1-64 bytes. | |
| Ptr< InlineKeyboardMarkup > | replyMarkup |
| Optional. Inline keyboard attached to the message. | |
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 804 of file InlineQueryResult.hpp.
|
inline |
Definition at line 805 of file InlineQueryResult.hpp.
|
inlineexplicit |
Definition at line 808 of file InlineQueryResult.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::InlineQueryResult.
Definition at line 849 of file InlineQueryResult.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::InlineQueryResult.
Definition at line 836 of file InlineQueryResult.hpp.
| std::string tgbotxx::InlineQueryResultContact::firstName |
Contact's first name.
Definition at line 816 of file InlineQueryResult.hpp.
| Ptr<InputMessageContent> tgbotxx::InlineQueryResultContact::inputMessageContent |
Optional. Content of the message to be sent instead of the contact.
Definition at line 825 of file InlineQueryResult.hpp.
| std::string tgbotxx::InlineQueryResultContact::lastName |
Optional. Contact's last name.
Definition at line 819 of file InlineQueryResult.hpp.
| std::string tgbotxx::InlineQueryResultContact::phoneNumber |
Contact's phone number.
Definition at line 813 of file InlineQueryResult.hpp.
| std::int32_t tgbotxx::InlineQueryResultContact::thumbnailHeight {} |
Optional. Thumbnail height;.
Definition at line 834 of file InlineQueryResult.hpp.
| std::string tgbotxx::InlineQueryResultContact::thumbnailUrl |
Optional. Url of the thumbnail for the result.
Definition at line 828 of file InlineQueryResult.hpp.
| std::int32_t tgbotxx::InlineQueryResultContact::thumbnailWidth {} |
Optional. Thumbnail width;.
Definition at line 831 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 822 of file InlineQueryResult.hpp.