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