Represents a contact with a phone number. By default, this contact will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the contact.
More...
#include <Types.h>
|
| std::string | type { TYPE } |
| | Type of the result, must be contact.
|
| std::string | id { } |
| | Unique identifier for this result, 1-64 Bytes.
|
| 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.
|
| std::shared_ptr< InlineKeyboardMarkup > | replyMarkup { } |
| | Optional. Inline keyboard attached to the message.
|
| std::shared_ptr< InputMessageContent > | inputMessageContent { } |
| | Optional. Content of the message to be sent instead of the contact.
|
| std::optional< std::string > | thumbnailUrl { } |
| | Optional. Url of the thumbnail for the result.
|
| std::optional< std::int32_t > | thumbnailWidth { } |
| | Optional. Thumbnail width.
|
| std::optional< std::int32_t > | thumbnailHeight { } |
| | Optional. Thumbnail height.
|
Represents a contact with a phone number. By default, this contact will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the contact.
Definition at line 5163 of file Types.h.
◆ Ptr
◆ firstName
| std::string TgBot::InlineQueryResultContact::firstName { } |
◆ id
| std::string TgBot::InlineQueryResultContact::id { } |
Unique identifier for this result, 1-64 Bytes.
Definition at line 5176 of file Types.h.
◆ inputMessageContent
Optional. Content of the message to be sent instead of the contact.
Definition at line 5206 of file Types.h.
◆ lastName
| std::optional<std::string> TgBot::InlineQueryResultContact::lastName { } |
◆ phoneNumber
| std::string TgBot::InlineQueryResultContact::phoneNumber { } |
◆ replyMarkup
Optional. Inline keyboard attached to the message.
Definition at line 5201 of file Types.h.
◆ thumbnailHeight
| std::optional<std::int32_t> TgBot::InlineQueryResultContact::thumbnailHeight { } |
Optional. Thumbnail height.
Definition at line 5221 of file Types.h.
◆ thumbnailUrl
| std::optional<std::string> TgBot::InlineQueryResultContact::thumbnailUrl { } |
Optional. Url of the thumbnail for the result.
Definition at line 5211 of file Types.h.
◆ thumbnailWidth
| std::optional<std::int32_t> TgBot::InlineQueryResultContact::thumbnailWidth { } |
Optional. Thumbnail width.
Definition at line 5216 of file Types.h.
◆ TYPE
| TGBOT_API const std::string TgBot::InlineQueryResultContact::TYPE |
|
static |
◆ type
| std::string TgBot::InlineQueryResultContact::type { TYPE } |
Type of the result, must be contact.
Definition at line 5171 of file Types.h.
◆ vcard
| std::optional<std::string> TgBot::InlineQueryResultContact::vcard { } |
Optional. Additional data about the contact in the form of a vCard, 0-2048 bytes.
Definition at line 5196 of file Types.h.
The documentation for this struct was generated from the following file: