|
tgbot-cpp
|
This object represents a game. More...
#include <Game.h>
Public Types | |
| typedef std::shared_ptr< Game > | Ptr |
Public Attributes | |
| std::string | title |
| Title of the game. | |
| std::string | description |
| Description of the game. | |
| std::vector< PhotoSize::Ptr > | photo |
| Photo that will be displayed in the game message in chats. | |
| std::string | text |
| Optional. Brief description of the game or high scores included in the game message. | |
| std::vector< MessageEntity::Ptr > | textEntities |
| Optional. Special entities that appear in text, such as usernames, URLs, bot commands, etc. | |
| Animation::Ptr | animation |
| Optional. Animation that will be displayed in the game message in chats. Upload via BotFather. | |
This object represents a game.
Use BotFather to create and edit games, their short names will act as unique identifiers.
| typedef std::shared_ptr<Game> TgBot::Game::Ptr |
| Animation::Ptr TgBot::Game::animation |
| std::vector<PhotoSize::Ptr> TgBot::Game::photo |
| std::string TgBot::Game::text |
| std::vector<MessageEntity::Ptr> TgBot::Game::textEntities |