tgbot-cpp
Loading...
Searching...
No Matches
InlineQueryResultGame.h
Go to the documentation of this file.
1
#ifndef TGBOT_INLINEQUERYRESULTGAME_H
2
#define TGBOT_INLINEQUERYRESULTGAME_H
3
4
#include "
tgbot/types/InlineQueryResult.h
"
5
6
#include <memory>
7
#include <string>
8
9
namespace
TgBot
{
10
16
class
InlineQueryResultGame
:
public
InlineQueryResult
{
17
18
public
:
19
static
const
std::string
TYPE
;
20
21
typedef
std::shared_ptr<InlineQueryResultGame>
Ptr
;
22
23
InlineQueryResultGame
() {
24
this->
type
=
TYPE
;
25
}
26
30
std::string
gameShortName
;
31
};
32
}
33
34
#endif
//TGBOT_INLINEQUERYRESULTGAME_H
InlineQueryResult.h
TgBot::InlineQueryResultGame
Represents a Game.
Definition
InlineQueryResultGame.h:16
TgBot::InlineQueryResultGame::gameShortName
std::string gameShortName
Short name of the game.
Definition
InlineQueryResultGame.h:30
TgBot::InlineQueryResultGame::TYPE
static const std::string TYPE
Definition
InlineQueryResultGame.h:19
TgBot::InlineQueryResultGame::InlineQueryResultGame
InlineQueryResultGame()
Definition
InlineQueryResultGame.h:23
TgBot::InlineQueryResultGame::Ptr
std::shared_ptr< InlineQueryResultGame > Ptr
Definition
InlineQueryResultGame.h:21
TgBot::InlineQueryResult
This object represents one result of an inline query.
Definition
InlineQueryResult.h:40
TgBot::InlineQueryResult::type
std::string type
Type of the result.
Definition
InlineQueryResult.h:52
TgBot
Definition
Api.h:40
include
tgbot
types
InlineQueryResultGame.h
Generated on Tue Jun 11 2024 00:46:35 for tgbot-cpp by
1.11.0