public class GetGameHighScores extends java.lang.Object implements TelegramMethod<GameHighScore[]>
This method will currently return scores for the target user, plus two of his closest neighbors on each side. Will also return the top three users if the user and his neighbors are not among them. Please note that this behavior is subject to change.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
| Constructor and Description |
|---|
GetGameHighScores() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Returns the name of the method.
|
java.util.Map<java.lang.String,java.lang.Object> |
getParameters()
Return the parameters of the method.
|
java.lang.Class<? extends GameHighScore[]> |
getReturnType()
Returns the return type of the method.
|
GetGameHighScores |
inlineMessage(java.lang.String inlineMessageId) |
GetGameHighScores |
message(java.lang.Long messageId) |
GetGameHighScores |
message(Message message) |
GetGameHighScores |
user(java.lang.Long userId) |
GetGameHighScores |
user(User user) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFilespublic static final java.lang.String NAME
public GetGameHighScores user(java.lang.Long userId)
public GetGameHighScores user(User user)
public GetGameHighScores message(java.lang.Long messageId)
public GetGameHighScores message(Message message)
public GetGameHighScores inlineMessage(java.lang.String inlineMessageId)
public java.lang.String getName()
TelegramMethodgetName in interface TelegramMethod<GameHighScore[]>public java.util.Map<java.lang.String,java.lang.Object> getParameters()
TelegramMethodgetParameters in interface TelegramMethod<GameHighScore[]>public java.lang.Class<? extends GameHighScore[]> getReturnType()
TelegramMethodgetReturnType in interface TelegramMethod<GameHighScore[]>