class

Tourmaline::InlineQueryResultGame

Inherits JSON::Serializable / Reference / Object

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

new(id : String, game_short_name : String, type : String = "game", reply_markup : Tourmaline::InlineKeyboardMarkup | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

game_short_name

Short name of the game

Source
game_short_name=(game_short_name : String)

Short name of the game

Source
id

Unique identifier for this result, 1-64 bytes

Source
id=(id : String)

Unique identifier for this result, 1-64 bytes

Source
reply_markup

Optional. Inline keyboard attached to the message

Source
reply_markup=(reply_markup : Tourmaline::InlineKeyboardMarkup | Nil)

Optional. Inline keyboard attached to the message

Source
type

Type of the result, must be game

Source
type=(type : String)

Type of the result, must be game

Source