Cppgram  1.0.0
Easy and modern C++14 Telegram Bot API wrapper
Public Attributes | List of all members
Game Class Reference

This object represents a game. More...

#include <game.hpp>

Public Attributes

std::string title
 Title of the game.
 
std::string description
 Description of the game.
 
std::vector< PhotoSizephoto
 Photo that will be displayed in the game message in chats.
 
std::experimental::optional< std::string > text
 Optional. Brief description of the game or high scores included in the game message. Can be automatically edited to include current high scores for the game when the bot calls setGameScore, or manually edited using editMessageText. 0-4096 characters.
 
std::vector< MessageEntitytext_entities
 Optional. Special entities that appear in text, such as usernames, URLs, bot commands, etc.
 
std::experimental::optional< Animationanimation
 Optional. Animation that will be displayed in the game message in chats. Upload via BotFather.
 

Detailed Description

This object represents a game.

Use BotFather to create and edit games, their short names will act as unique identifiers. Api Reference


The documentation for this class was generated from the following file: