GetGameHighScores class final
GetGameHighScores (getGameHighScores) - TDLib function
Returns the high scores for a game and some part of the high score table in the range of the specified user; for bots only.
- chatId: The chat that contains the message with the game.
- messageId: Identifier of the message.
- userId: User identifier.
GameHighScores is returned on completion.
- Inheritance
-
- Object
- TdFunction
- GetGameHighScores
Constructors
- GetGameHighScores({required int chatId, required int messageId, required int userId})
-
GetGameHighScores (getGameHighScores) - TDLib function
const
Properties
- chatId → int
-
The chat that contains the message with the game
final
- currentObjectId → String
-
TDLib object type for current class instance
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- messageId → int
-
Identifier of the message
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userId → int
-
User identifier
final
Methods
-
copyWith(
{int? chatId, int? messageId, int? userId}) → GetGameHighScores - Copy model with modified properties.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
[dynamic extra]) → Map< String, dynamic> -
Convert model to TDLib JSON format
override
-
toString(
) → String -
Convert model to TDLib JSON format, encoded into String.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- defaultObjectId → const String
- TDLib object type