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 SetChatDescriptionbuild()SetChatDescription.SetChatDescriptionBuildercallback(java.lang.Runnable callback)SetChatDescription.SetChatDescriptionBuilderchatId(ChatId chatId)SetChatDescription.SetChatDescriptionBuilderdescription(java.lang.String description)SetChatDescription.SetChatDescriptionBuildererrorHandler(java.util.function.Consumer<TelegramException> errorHandler)java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
-