Class: TD::Types::InputInlineQueryResult::Game

Inherits:
TD::Types::InputInlineQueryResult show all
Defined in:
lib/tdlib/types/input_inline_query_result/game.rb

Overview

Represents a game.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#game_short_nameTD::Types::String

Short name of the game.

Returns:

  • (TD::Types::String)

    the current value of game_short_name



8
9
10
# File 'lib/tdlib/types/input_inline_query_result/game.rb', line 8

def game_short_name
  @game_short_name
end

#idTD::Types::String

Unique identifier of the query result.

Returns:

  • (TD::Types::String)

    the current value of id



8
9
10
# File 'lib/tdlib/types/input_inline_query_result/game.rb', line 8

def id
  @id
end

#reply_markupTD::Types::ReplyMarkup

Message reply markup. Must be of type ReplyMarkup::InlineKeyboard or null.

Returns:



8
9
10
# File 'lib/tdlib/types/input_inline_query_result/game.rb', line 8

def reply_markup
  @reply_markup
end