Package com.jtelegram.api.requests.chat
Class SendChatAction.SendChatActionBuilder
- java.lang.Object
-
- com.jtelegram.api.requests.chat.SendChatAction.SendChatActionBuilder
-
- Enclosing class:
- SendChatAction
public static class SendChatAction.SendChatActionBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SendChatAction.SendChatActionBuilder
action(ChatAction action)
SendChatAction
build()
SendChatAction.SendChatActionBuilder
callback(java.lang.Runnable callback)
SendChatAction.SendChatActionBuilder
chatId(ChatId chatId)
SendChatAction.SendChatActionBuilder
errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
java.lang.String
toString()
-
-
-
Method Detail
-
errorHandler
public SendChatAction.SendChatActionBuilder errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
-
callback
public SendChatAction.SendChatActionBuilder callback(java.lang.Runnable callback)
-
chatId
public SendChatAction.SendChatActionBuilder chatId(ChatId chatId)
-
action
public SendChatAction.SendChatActionBuilder action(ChatAction action)
-
build
public SendChatAction build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-