game_t¶
-
struct banana::api::game_t¶
This object represents a game. Use BotFather to create and edit games, their short names will act as unique identifiers.
Title of the game
Description of the game
-
array_t<photo_size_t> photo¶
Photo that will be displayed in the game message in chats.
-
optional_t<string_t> 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.
-
optional_t<array_t<message_entity_t>> text_entities¶
Optional. Special entities that appear in text, such as usernames, URLs, bot commands, etc.
-
optional_t<animation_t> animation¶
Optional. Animation that will be displayed in the game message in chats. Upload via BotFather
-
array_t<photo_size_t> photo¶