Component evidence
A data structure representing a game result in Telegram inline queries. Use this to integrate interactive game content into Telegram bot responses.
// Source: https://github.com/teloxide/teloxide | License: MIT | Copyright 2019-2025 teloxide
// Provided via justclaw.it.com; keep this notice with the code.
use serde::{Deserialize, Serialize};
use crate::types::InlineKeyboardMarkup;
/// Represents a [game].
///
/// [The official docs](https://core.telegram.org/bots/api#inlinequeryresultgame).
///
/// [game]: https://core.telegram.org/bots/api#games
#[serde_with::skip_serializing_none]
#[derive(Clone, Debug, Eq, Hash, PartialEq, Serialize, Deserialize)]
#[cfg_attr(test, derive(schemars::JsonSchema))]
pub struct InlineQueryResultGame {
/// Unique identifier for this result, 1-64 bytes.
pub id: String,
/// Short name of the game.
pub game_short_name: String,
/// [Inline keyboard] attached to the message.
///
... (truncated -- full source via MCP)