Package com.jtelegram.api.requests.game
Class GetGameHighScores.GetGameHighScoresBuilder
- java.lang.Object
-
- com.jtelegram.api.requests.game.GetGameHighScores.GetGameHighScoresBuilder
-
- Enclosing class:
- GetGameHighScores
public static class GetGameHighScores.GetGameHighScoresBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetGameHighScoresbuild()GetGameHighScores.GetGameHighScoresBuildercallback(java.util.function.Consumer<GameHighScore[]> callback)GetGameHighScores.GetGameHighScoresBuilderchatId(LongChatId chatId)GetGameHighScores.GetGameHighScoresBuildererrorHandler(java.util.function.Consumer<TelegramException> errorHandler)GetGameHighScores.GetGameHighScoresBuilderinlineMessageId(java.lang.String inlineMessageId)GetGameHighScores.GetGameHighScoresBuildermessageId(java.lang.Integer messageId)java.lang.StringtoString()GetGameHighScores.GetGameHighScoresBuilderuserId(java.lang.Long userId)
-
-
-
Method Detail
-
callback
public GetGameHighScores.GetGameHighScoresBuilder callback(java.util.function.Consumer<GameHighScore[]> callback)
-
errorHandler
public GetGameHighScores.GetGameHighScoresBuilder errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
-
userId
public GetGameHighScores.GetGameHighScoresBuilder userId(java.lang.Long userId)
-
chatId
public GetGameHighScores.GetGameHighScoresBuilder chatId(LongChatId chatId)
-
messageId
public GetGameHighScores.GetGameHighScoresBuilder messageId(java.lang.Integer messageId)
-
inlineMessageId
public GetGameHighScores.GetGameHighScoresBuilder inlineMessageId(java.lang.String inlineMessageId)
-
build
public GetGameHighScores build()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-