class
Hamilton::Types::InlineQueryResultGame
- Hamilton::Types::InlineQueryResultGame
- Reference
- Object
Overview
Represents a Game.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/inline_query_result.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#game_short_name : String
Short name of the game.
-
#game_short_name=(game_short_name : String)
Short name of the game.
-
#id : String
Unique identifier for this result, 1-64 Bytes.
-
#id=(id : String)
Unique identifier for this result, 1-64 Bytes.
-
#non_nil_fields : Array(String)
List of available non-nil fields.
-
#non_nil_fields=(non_nil_fields : Array(String))
List of available non-nil fields.
-
#reply_markup : Hamilton::Types::InlineKeyboardMarkup | Nil
Inline keyboard attached to the message.
-
#reply_markup=(reply_markup : Hamilton::Types::InlineKeyboardMarkup | Nil)
Inline keyboard attached to the message.
-
#type : String
Type of the result, must be "game".
-
#type=(type : String)
Type of the result, must be "game".
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
def reply_markup : Hamilton::Types::InlineKeyboardMarkup | Nil
#
Inline keyboard attached to the message.
def reply_markup=(reply_markup : Hamilton::Types::InlineKeyboardMarkup | Nil)
#
Inline keyboard attached to the message.