summaryrefslogtreecommitdiff
path: root/include/tgbot/types/InlineQueryResultGame.h
blob: 0a56c22047170996289880db2b9e5558a8381b5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef TGBOT_INLINEQUERYRESULTGAME_H
#define TGBOT_INLINEQUERYRESULTGAME_H

#include "tgbot/types/InlineQueryResult.h"

#include <memory>
#include <string>

namespace TgBot {

/**
 * @brief Represents a Game.
 *
 * @ingroup types
 */
class InlineQueryResultGame : public InlineQueryResult {

public:
    static const std::string TYPE;

    typedef std::shared_ptr<InlineQueryResultGame> Ptr;

    InlineQueryResultGame() {
        this->type = TYPE;
    }

    /**
     * @brief Short name of the game
     */
    std::string gameShortName;
};
}

#endif //TGBOT_INLINEQUERYRESULTGAME_H