tgbot-cpp
Loading...
Searching...
No Matches
GameHighScore.h
Go to the documentation of this file.
1#ifndef TGBOT_GAMEHIGHSCORE_H
2#define TGBOT_GAMEHIGHSCORE_H
3
5#include "tgbot/types/User.h"
6
7#include <cstdint>
8#include <memory>
9#include <string>
10
11namespace TgBot {
12
19public:
20 typedef std::shared_ptr<GameHighScore> Ptr;
21
25 std::string position;
26
31
35 std::int32_t score;
36};
37}
38
39#endif //TGBOT_GAMEHIGHSCORE_H
This object represents one row of the high scores table for a game.
std::shared_ptr< GameHighScore > Ptr
std::string position
Position in high score table for the game.
User::Ptr user
User.
std::int32_t score
Score.
std::shared_ptr< User > Ptr
Definition User.h:18
Definition Api.h:40