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
11
#include "
tgbot/types/InlineQueryResult.h
"
12
13
namespace
TgBot
{
14
20
class
InlineQueryResultGame
:
public
InlineQueryResult
{
21
public
:
22
static
const
std::string
TYPE
;
23
24
typedef
std::shared_ptr<InlineQueryResultGame>
Ptr
;
25
26
InlineQueryResultGame
() {
27
this->
type
=
TYPE
;
28
}
29
33
std::string
gameShortName
;
34
};
35
}
36
37
#endif //TGBOT_INLINEQUERYRESULTGAME_H
TgBot::InlineQueryResultGame
Represents a Game.
Definition:
InlineQueryResultGame.h:20
TgBot::InlineQueryResultGame::InlineQueryResultGame
InlineQueryResultGame()
Definition:
InlineQueryResultGame.h:26
TgBot::InlineQueryResult::type
std::string type
Type of the result.
Definition:
InlineQueryResult.h:34
TgBot
Definition:
Api.h:47
InlineQueryResult.h
TgBot::InlineQueryResultGame::TYPE
static const std::string TYPE
Definition:
InlineQueryResultGame.h:22
TgBot::InlineQueryResultGame::Ptr
std::shared_ptr< InlineQueryResultGame > Ptr
Definition:
InlineQueryResultGame.h:24
TgBot::InlineQueryResult
This abstract class is base of all inline query results.
Definition:
InlineQueryResult.h:21
TgBot::InlineQueryResultGame::gameShortName
std::string gameShortName
Short name of the game.
Definition:
InlineQueryResultGame.h:33
include
tgbot
types
InlineQueryResultGame.h
Generated on Tue Jun 5 2018 19:07:15 for tgbot-cpp by
1.8.13