Skip to content

class Tourmaline::InlineQueryResultGame
inherits Reference #

Represents a Game.

Included modules

JSON::Serializable

Constructors#

.new(id, game_short_name, type = "game", reply_markup : Tourmaline::InlineKeyboardMarkup? = nil) #

View source

.new(pull : JSON::PullParser) #

View source

Methods#

#game_short_name : String #

Short name of the game

View source

#game_short_name=(game_short_name : String) #

Short name of the game

View source

#id : String #

Unique identifier for this result, 1-64 bytes

View source

#id=(id : String) #

Unique identifier for this result, 1-64 bytes

View source

#reply_markup : Tourmaline::InlineKeyboardMarkup? #

Optional. Inline keyboard attached to the message

View source

#reply_markup=(reply_markup : Tourmaline::InlineKeyboardMarkup?) #

Optional. Inline keyboard attached to the message

View source

#type : String #

Type of the result, must be game

View source

#type=(type : String) #

Type of the result, must be game

View source