Package org.drinkless.tdlib
Class TdApi.GetGameHighScores
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.GameHighScores>
org.drinkless.tdlib.TdApi.GetGameHighScores
- Enclosing class:
- TdApi
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.
Returns GameHighScores
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongThe chat that contains the message with the game.static final intIdentifier uniquely determining type of the object.longIdentifier of the message.longUser identifier. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which 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.GetGameHighScores(long chatId, long messageId, long userId) Creates a function, which 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. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
chatId
public long chatIdThe chat that contains the message with the game. -
messageId
public long messageIdIdentifier of the message. -
userId
public long userIdUser identifier. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GetGameHighScores
public GetGameHighScores()Default constructor for a function, which 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.Returns
GameHighScores -
GetGameHighScores
public GetGameHighScores(long chatId, long messageId, long userId) Creates a function, which 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.Returns
GameHighScores- Parameters:
chatId- The chat that contains the message with the game.messageId- Identifier of the message.userId- User identifier.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-