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