tgbot-cpp
Loading...
Searching...
No Matches
InlineQueryResultContact.h
Go to the documentation of this file.
1#ifndef TGBOT_INLINEQUERYRESULTCONTACT_H
2#define TGBOT_INLINEQUERYRESULTCONTACT_H
3
6
7#include <cstdint>
8#include <memory>
9#include <string>
10
11namespace TgBot {
12
22
23public:
24 static const std::string TYPE;
25
26 typedef std::shared_ptr<InlineQueryResultContact> Ptr;
27
29 this->type = TYPE;
30 }
31
35 std::string phoneNumber;
36
40 std::string firstName;
41
45 std::string lastName;
46
50 std::string vcard;
51
56
60 std::string thumbnailUrl;
61
65 std::int32_t thumbnailWidth;
66
70 std::int32_t thumbnailHeight;
71};
72}
73
74#endif //TGBOT_INLINEQUERYRESULTCONTACT_H
Represents a contact with a phone number.
InputMessageContent::Ptr inputMessageContent
Optional. Content of the message to be sent instead of the contact.
std::shared_ptr< InlineQueryResultContact > Ptr
std::string vcard
Optional. Additional data about the contact in the form of a vCard, 0-2048 bytes.
std::string lastName
Optional. Contact's last name.
std::string firstName
Contact's first name.
std::string phoneNumber
Contact's phone number.
std::int32_t thumbnailHeight
Optional. Thumbnail height.
std::string thumbnailUrl
Optional. Url of the thumbnail for the result.
std::int32_t thumbnailWidth
Optional. Thumbnail width.
This object represents one result of an inline query.
std::string type
Type of the result.
std::shared_ptr< InputMessageContent > Ptr
Definition Api.h:40