yatbcpp  0.0.1
Yet another Telegram Bot CPP Library
InlineQueryResult.h
Go to the documentation of this file.
1 //
2 // Created by norbert on 01.09.17.
3 //
4 
5 #ifndef YATBCPP_INLINEQUERYRESULT_H
6 #define YATBCPP_INLINEQUERYRESULT_H
7 
8 #include <string>
9 #include <jsoncpp/json/json.h>
10 #include <iostream>
11 namespace yatbcpp{
12 
14 
15  public:
16  InlineQueryResult(std::string type,std::string id);
17 
19 
20  virtual Json::Value toJson(){
21  Json::Value ret;
22  return ret;
23  }
24 
25  protected:
26  std::string type;
27 
28  std::string id;
29 
30  public:
31  const std::string &getType() const;
32 
33  const std::string &getId() const;
34  };
35 }
36 
37 #endif //YATBCPP_INLINEQUERYRESULT_H
virtual Json::Value toJson()
const std::string & getType() const
InlineQueryResult(std::string type, std::string id)
Definition: Bot.h:27
const std::string & getId() const