Class SendDocument.SendDocumentBuilder
- java.lang.Object
-
- com.jtelegram.api.requests.message.send.SendDocument.SendDocumentBuilder
-
- Enclosing class:
- SendDocument
public static class SendDocument.SendDocumentBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SendDocument
build()
SendDocument.SendDocumentBuilder
callback(java.util.function.Consumer<DocumentMessage> callback)
SendDocument.SendDocumentBuilder
caption(java.lang.String caption)
SendDocument.SendDocumentBuilder
chatId(ChatId chatId)
SendDocument.SendDocumentBuilder
disableNotification(java.lang.Boolean disableNotification)
SendDocument.SendDocumentBuilder
document(InputFile document)
SendDocument.SendDocumentBuilder
errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
SendDocument.SendDocumentBuilder
parseMode(ParseMode parseMode)
SendDocument.SendDocumentBuilder
replyMarkup(ReplyMarkup replyMarkup)
SendDocument.SendDocumentBuilder
replyToMessageId(java.lang.Integer replyToMessageId)
java.lang.String
toString()
-
-
-
Method Detail
-
callback
public SendDocument.SendDocumentBuilder callback(java.util.function.Consumer<DocumentMessage> callback)
-
errorHandler
public SendDocument.SendDocumentBuilder errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
-
chatId
public SendDocument.SendDocumentBuilder chatId(ChatId chatId)
-
replyToMessageId
public SendDocument.SendDocumentBuilder replyToMessageId(java.lang.Integer replyToMessageId)
-
disableNotification
public SendDocument.SendDocumentBuilder disableNotification(java.lang.Boolean disableNotification)
-
replyMarkup
public SendDocument.SendDocumentBuilder replyMarkup(ReplyMarkup replyMarkup)
-
document
public SendDocument.SendDocumentBuilder document(InputFile document)
-
caption
public SendDocument.SendDocumentBuilder caption(java.lang.String caption)
-
parseMode
public SendDocument.SendDocumentBuilder parseMode(ParseMode parseMode)
-
build
public SendDocument build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-