Package com.jtelegram.api.requests.game
Class SetGameScore.SetGameScoreBuilder
- java.lang.Object
-
- com.jtelegram.api.requests.game.SetGameScore.SetGameScoreBuilder
-
- Enclosing class:
- SetGameScore
public static class SetGameScore.SetGameScoreBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SetGameScore
build()
SetGameScore.SetGameScoreBuilder
callback(java.util.function.Consumer<Message> callback)
SetGameScore.SetGameScoreBuilder
chatId(LongChatId chatId)
SetGameScore.SetGameScoreBuilder
disableEditMessage(java.lang.Boolean disableEditMessage)
SetGameScore.SetGameScoreBuilder
errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
SetGameScore.SetGameScoreBuilder
force(java.lang.Boolean force)
SetGameScore.SetGameScoreBuilder
inlineMessageId(java.lang.String inlineMessageId)
SetGameScore.SetGameScoreBuilder
messageId(java.lang.Integer messageId)
SetGameScore.SetGameScoreBuilder
score(java.lang.Integer score)
java.lang.String
toString()
SetGameScore.SetGameScoreBuilder
userId(java.lang.Long userId)
-
-
-
Method Detail
-
callback
public SetGameScore.SetGameScoreBuilder callback(java.util.function.Consumer<Message> callback)
-
errorHandler
public SetGameScore.SetGameScoreBuilder errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
-
userId
public SetGameScore.SetGameScoreBuilder userId(java.lang.Long userId)
-
score
public SetGameScore.SetGameScoreBuilder score(java.lang.Integer score)
-
force
public SetGameScore.SetGameScoreBuilder force(java.lang.Boolean force)
-
disableEditMessage
public SetGameScore.SetGameScoreBuilder disableEditMessage(java.lang.Boolean disableEditMessage)
-
chatId
public SetGameScore.SetGameScoreBuilder chatId(LongChatId chatId)
-
messageId
public SetGameScore.SetGameScoreBuilder messageId(java.lang.Integer messageId)
-
inlineMessageId
public SetGameScore.SetGameScoreBuilder inlineMessageId(java.lang.String inlineMessageId)
-
build
public SetGameScore build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-