tgbot-cpp
InlineQueryResultContact.h
Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 27/12/16
3 //
4 
5 #ifndef TGBOT_INLINEQUERYRESULTCONTACT_H
6 #define TGBOT_INLINEQUERYRESULTCONTACT_H
7 
8 #include <string>
9 #include <memory>
10 
12 
13 namespace TgBot {
14 
20 public:
21  static const std::string TYPE;
22 
23  typedef std::shared_ptr<InlineQueryResultContact> Ptr;
24 
26  this->type = TYPE;
27  this->thumbHeight = 0;
28  this->thumbWidth = 0;
29  }
30 
34  std::string phoneNumber;
35 
39  std::string firstName;
40 
44  std::string lastName;
45 
49  std::string thumbUrl;
50 
54  int32_t thumbWidth;
55 
59  int32_t thumbHeight;
60 };
61 }
62 
63 #endif //TGBOT_INLINEQUERYRESULTCONTACT_H
std::shared_ptr< InlineQueryResultContact > Ptr
Definition: Api.h:44