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.SendChatActionBuilderaction(ChatAction action)SendChatActionbuild()SendChatAction.SendChatActionBuildercallback(java.lang.Runnable callback)SendChatAction.SendChatActionBuilderchatId(ChatId chatId)SendChatAction.SendChatActionBuildererrorHandler(java.util.function.Consumer<TelegramException> errorHandler)java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
-