Interface InternalLinkTypeGame

The link is a link to a game. Call searchPublicChat with the given bot username, check that the user is a bot, ask the current user to select a chat to send the game, and then call sendMessage with inputMessageGame. Subtype of InternalLinkType.

interface InternalLinkTypeGame {
    @type: "internalLinkTypeGame";
    bot_username: string;
    game_short_name: string;
}

Properties

@type: "internalLinkTypeGame"
bot_username: string

Username of the bot that owns the game.

game_short_name: string

Short name of the game.