tgbot-cpp
InlineQueryResult.h
Go to the documentation of this file.
1 //
2 // Created by Andrea Giove on 26/03/16.
3 //
4 
5 #ifndef TGBOT_INLINEQUERYRESULT_H
6 #define TGBOT_INLINEQUERYRESULT_H
7 
8 #include <memory>
9 #include <string>
10 
13 
14 namespace TgBot {
15 
22 public:
23  typedef std::shared_ptr<InlineQueryResult> Ptr;
24 
26 
27  }
28 
29  virtual ~InlineQueryResult() { }
30 
34  std::string type;
35 
39  std::string id;
40 
44  std::string title;
45 
49  std::string caption;
50 
55 
60 };
61 }
62 
63 #endif //TGBOT_INLINEQUERYRESULT_H
InlineKeyboardMarkup::Ptr replyMarkup
Optional. Inline keyboard attached to the message.
std::string caption
Optional or missing. See description of derived classes. Caption of the file to be sent...
std::shared_ptr< InputMessageContent > Ptr
std::string type
Type of the result.
InputMessageContent::Ptr inputMessageContent
Requred, optional or missing. See description of derived classes. Content of the message to be sent...
Definition: Api.h:49
std::shared_ptr< InlineKeyboardMarkup > Ptr
std::string id
Unique identifier for this result. (1-64 bytes)
std::shared_ptr< InlineQueryResult > Ptr
This abstract class is base of all inline query results.
std::string title
Requred, optional or missing. See description of derived classes. Title of the result.