Package it.tdlight.jni
Class TdApi.GetGameHighScores
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.GetGameHighScores
- Enclosing class:
- TdApi
public static class TdApi.GetGameHighScores extends TdApi.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.
Returns GameHighScores
-
Field Summary
Fields Modifier and Type Field Description long
chatId
The chat that contains the message with the game.static int
CONSTRUCTOR
long
messageId
Identifier of the message.long
userId
User identifier. -
Constructor Summary
Constructors Constructor Description GetGameHighScores()
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)
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(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
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 CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
GetGameHighScores
public GetGameHighScores()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)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
- long The chat that contains the message with the game.messageId
- long Identifier of the message.userId
- long User identifier.
-
GetGameHighScores
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-