tgbot-cpp
InlineQueryResultGame.h
Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 27/12/16
3 //
4 
5 #ifndef TGBOT_INLINEQUERYRESULTGAME_H
6 #define TGBOT_INLINEQUERYRESULTGAME_H
7 
8 #include <string>
9 #include <memory>
10 
12 
13 namespace TgBot {
14 
21 public:
22  static const std::string TYPE;
23 
24  typedef std::shared_ptr<InlineQueryResultGame> Ptr;
25 
27  this->type = TYPE;
28  }
29 
33  std::string gameShortName;
34 };
35 }
36 
37 #endif //TGBOT_INLINEQUERYRESULTGAME_H
std::string type
Type of the result.
Definition: Api.h:47
static const std::string TYPE
std::shared_ptr< InlineQueryResultGame > Ptr
This abstract class is base of all inline query results.
std::string gameShortName
Short name of the game.