InlineQueryResultGame class
Represents a Game.
- Implemented types
Constructors
- InlineQueryResultGame({required String gameShortName, required String id, InlineKeyboardMarkup? replyMarkup})
-
Constructs an InlineQueryResultGame object
const
-
InlineQueryResultGame.fromJson(Map<
String, dynamic> json) -
Constructs an InlineQueryResultGame object from a JSON map
factory
Properties
- gameShortName → String
-
Short name of the game
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Unique identifier for this result, 1-64 Bytes
final
- replyMarkup → InlineKeyboardMarkup?
-
Optional. Inline keyboard attached to the message
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → InlineQueryResultType
-
Type of the result, must be InlineQueryResultType.game
no setteroverride
Methods
-
copyWith(
{String? id, String? gameShortName, InlineKeyboardMarkup? replyMarkup}) → InlineQueryResultGame - Copy method
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts an InlineQueryResultGame object to a JSON map
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited