Class SendText.SendTextBuilder
- java.lang.Object
-
- com.jtelegram.api.requests.message.send.SendText.SendTextBuilder
-
- Enclosing class:
- SendText
public static class SendText.SendTextBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SendText
build()
SendText.SendTextBuilder
callback(java.util.function.Consumer<TextMessage> callback)
SendText.SendTextBuilder
chatId(ChatId chatId)
SendText.SendTextBuilder
disableNotification(java.lang.Boolean disableNotification)
SendText.SendTextBuilder
disableWebPagePreview(java.lang.Boolean disableWebPagePreview)
SendText.SendTextBuilder
errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
SendText.SendTextBuilder
parseMode(ParseMode parseMode)
SendText.SendTextBuilder
replyMarkup(ReplyMarkup replyMarkup)
SendText.SendTextBuilder
replyToMessageID(java.lang.Integer replyToMessageID)
SendText.SendTextBuilder
text(TextBuilder builder)
SendText.SendTextBuilder
text(java.lang.String text)
java.lang.String
toString()
-
-
-
Method Detail
-
text
public SendText.SendTextBuilder text(TextBuilder builder)
-
text
public SendText.SendTextBuilder text(java.lang.String text)
-
callback
public SendText.SendTextBuilder callback(java.util.function.Consumer<TextMessage> callback)
-
errorHandler
public SendText.SendTextBuilder errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
-
chatId
public SendText.SendTextBuilder chatId(ChatId chatId)
-
replyToMessageID
public SendText.SendTextBuilder replyToMessageID(java.lang.Integer replyToMessageID)
-
disableNotification
public SendText.SendTextBuilder disableNotification(java.lang.Boolean disableNotification)
-
parseMode
public SendText.SendTextBuilder parseMode(ParseMode parseMode)
-
disableWebPagePreview
public SendText.SendTextBuilder disableWebPagePreview(java.lang.Boolean disableWebPagePreview)
-
replyMarkup
public SendText.SendTextBuilder replyMarkup(ReplyMarkup replyMarkup)
-
build
public SendText build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-