InlineQueryResultGame

data class InlineQueryResultGame(type: String, id: String, game_short_name: String, reply_markup: InlineKeyboardMarkup?) : InlineQueryResult

Represents a Game.

Note: This will only work in Telegram versions released after October 1, 2016. Older clients will not display any inline results if a game result is among them.

Constructors

InlineQueryResultGame
Link copied to clipboard
fun InlineQueryResultGame(type: String, id: String, game_short_name: String, reply_markup: InlineKeyboardMarkup? = null)

Properties

game_short_name
Link copied to clipboard
val game_short_name: String
Short name of the game
id
Link copied to clipboard
val id: String
Unique identifier for this result, 1-64 bytes
reply_markup
Link copied to clipboard
val reply_markup: InlineKeyboardMarkup? = null
Optional.
type
Link copied to clipboard
val type: String
Type of the result, must be game