tgbot-cpp
Loading...
Searching...
No Matches
InputContactMessageContent.h
Go to the documentation of this file.
1#ifndef TGBOT_INPUTCONTACTMESSAGECONTENT_H
2#define TGBOT_INPUTCONTACTMESSAGECONTENT_H
3
5
6#include <memory>
7#include <string>
8
9namespace TgBot {
10
17public:
18 static const std::string TYPE;
19
20 typedef std::shared_ptr<InputContactMessageContent> Ptr;
21
23 this->type = TYPE;
24 }
25
29 std::string phoneNumber;
30
34 std::string firstName;
35
39 std::string lastName;
40
44 std::string vcard;
45};
46}
47
48#endif //TGBOT_INPUTCONTACTMESSAGECONTENT_H
Represents the content of a contact message to be sent as the result of an inline query.
std::string lastName
Optional. Contact's last name.
std::string firstName
Contact's first name.
std::string phoneNumber
Contact's phone number.
std::string vcard
Optional. Additional data about the contact in the form of a vCard, 0-2048 bytes.
std::shared_ptr< InputContactMessageContent > Ptr
This abstract class is base of all message contents.
std::string type
Type of the content.
Definition Api.h:40