Class: TD::Types::InlineQueryResult::Game

Inherits:
TD::Types::InlineQueryResult show all
Defined in:
lib/tdlib/types/inline_query_result/game.rb

Overview

Represents information about a game.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#gameTD::Types::Game

Game result.

Returns:



6
7
8
# File 'lib/tdlib/types/inline_query_result/game.rb', line 6

def game
  @game
end

#idTD::Types::String

Unique identifier of the query result.

Returns:

  • (TD::Types::String)

    the current value of id



6
7
8
# File 'lib/tdlib/types/inline_query_result/game.rb', line 6

def id
  @id
end