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