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