tgbot-cpp
InputMessageContent.h
Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 26/12/16.
3 //
4 
5 #ifndef TGBOT_INPUTMESSAGECONTENT_H
6 #define TGBOT_INPUTMESSAGECONTENT_H
7 
8 #include <memory>
9 #include <string>
10 
11 namespace TgBot {
12 
18 public:
19  typedef std::shared_ptr<InputMessageContent> Ptr;
20 
21  InputMessageContent(const std::string &tType):
22  type(tType)
23  {}
24 
32  std::string type;
33 
34  virtual ~InputMessageContent() { }
35 };
36 }
37 
38 #endif //TGBOT_INPUTMESSAGECONTENT_H
std::shared_ptr< InputMessageContent > Ptr
Definition: Api.h:49
InputMessageContent(const std::string &tType)
This object represents the content of a message to be sent as a result of an inline query...