Struct telegram_typings::Game [] [src]

pub struct Game {
    pub title: String,
    pub description: String,
    pub photo: Vec<Box<PhotoSize>>,
    pub text: Option<String>,
    pub text_entities: Option<Vec<Box<MessageEntity>>>,
    pub animation: Option<Box<Animation>>,
}

This object represents a game. Use BotFather to create and edit games, their short names will act as unique identifiers.

Fields

Title of the game

Description of the game

Photo that will be displayed in the game message in chats.

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. See https://core.telegram.org/bots/api#setgamescore See https://core.telegram.org/bots/api#editmessagetext

Special entities that appear in text, such as usernames, URLs, bot commands, etc.

Animation that will be displayed in the game message in chats. Upload via BotFather See https://t.me/botfather

Trait Implementations

impl Debug for Game
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Game
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Game

impl Sync for Game