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 GetGameHighScores
build()
GetGameHighScores.GetGameHighScoresBuilder
callback(java.util.function.Consumer<GameHighScore[]> callback)
GetGameHighScores.GetGameHighScoresBuilder
chatId(LongChatId chatId)
GetGameHighScores.GetGameHighScoresBuilder
errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
GetGameHighScores.GetGameHighScoresBuilder
inlineMessageId(java.lang.String inlineMessageId)
GetGameHighScores.GetGameHighScoresBuilder
messageId(java.lang.Integer messageId)
java.lang.String
toString()
GetGameHighScores.GetGameHighScoresBuilder
userId(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:
toString
in classjava.lang.Object
-
-