Game class
Constructors
Properties
- animation → Animation?
-
animation Game animation; may be null
final
- clientId → int?
-
client identifier
no setterinherited
- description → String
-
description Game description
final
- extra → dynamic
-
callback sign
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
id Game game
final
- photo → Photo
-
photo Game photo
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shortName → String
-
shortName Game short name. To share a game use the URL https://t.me/{bot_username}?game={game_short_name}
final
- text → FormattedText
-
text Game text, usually containing scoreboards for a game
final
- title → String
-
title Game title
final
Methods
-
copyWith(
{int? id, String? shortName, String? title, FormattedText? text, String? description, Photo? photo, Animation? animation}) → Game -
getConstructor(
) → String -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
[dynamic extra]) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- CONSTRUCTOR → const String