Class SendGame.SendGameBuilder
- java.lang.Object
-
- com.jtelegram.api.requests.message.send.SendGame.SendGameBuilder
-
- Enclosing class:
- SendGame
public static class SendGame.SendGameBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SendGame
build()
SendGame.SendGameBuilder
callback(java.util.function.Consumer<Message> callback)
SendGame.SendGameBuilder
chatId(ChatId chatId)
SendGame.SendGameBuilder
disableNotification(java.lang.Boolean disableNotification)
SendGame.SendGameBuilder
errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
SendGame.SendGameBuilder
gameId(java.lang.String gameId)
SendGame.SendGameBuilder
replyMarkup(InlineKeyboardMarkup replyMarkup)
SendGame.SendGameBuilder
replyToMessageId(java.lang.Integer replyToMessageId)
java.lang.String
toString()
-
-
-
Method Detail
-
callback
public SendGame.SendGameBuilder callback(java.util.function.Consumer<Message> callback)
-
errorHandler
public SendGame.SendGameBuilder errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
-
chatId
public SendGame.SendGameBuilder chatId(ChatId chatId)
-
replyToMessageId
public SendGame.SendGameBuilder replyToMessageId(java.lang.Integer replyToMessageId)
-
disableNotification
public SendGame.SendGameBuilder disableNotification(java.lang.Boolean disableNotification)
-
replyMarkup
public SendGame.SendGameBuilder replyMarkup(InlineKeyboardMarkup replyMarkup)
-
gameId
public SendGame.SendGameBuilder gameId(java.lang.String gameId)
-
build
public SendGame build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-