Class EditMessageCaption.EditMessageCaptionBuilder
- java.lang.Object
-
- com.jtelegram.api.requests.message.edit.EditMessageCaption.EditMessageCaptionBuilder
-
- Enclosing class:
- EditMessageCaption
public static class EditMessageCaption.EditMessageCaptionBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EditMessageCaption
build()
EditMessageCaption.EditMessageCaptionBuilder
callback(java.util.function.Consumer<Message> callback)
EditMessageCaption.EditMessageCaptionBuilder
caption(java.lang.String caption)
EditMessageCaption.EditMessageCaptionBuilder
chatId(ChatId chatId)
EditMessageCaption.EditMessageCaptionBuilder
errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
EditMessageCaption.EditMessageCaptionBuilder
inlineMessageId(java.lang.String inlineMessageId)
EditMessageCaption.EditMessageCaptionBuilder
messageId(int messageId)
EditMessageCaption.EditMessageCaptionBuilder
parseMode(ParseMode parseMode)
EditMessageCaption.EditMessageCaptionBuilder
replyMarkup(ReplyMarkup replyMarkup)
java.lang.String
toString()
-
-
-
Method Detail
-
callback
public EditMessageCaption.EditMessageCaptionBuilder callback(java.util.function.Consumer<Message> callback)
-
errorHandler
public EditMessageCaption.EditMessageCaptionBuilder errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
-
chatId
public EditMessageCaption.EditMessageCaptionBuilder chatId(ChatId chatId)
-
messageId
public EditMessageCaption.EditMessageCaptionBuilder messageId(int messageId)
-
inlineMessageId
public EditMessageCaption.EditMessageCaptionBuilder inlineMessageId(java.lang.String inlineMessageId)
-
replyMarkup
public EditMessageCaption.EditMessageCaptionBuilder replyMarkup(ReplyMarkup replyMarkup)
-
caption
public EditMessageCaption.EditMessageCaptionBuilder caption(java.lang.String caption)
-
parseMode
public EditMessageCaption.EditMessageCaptionBuilder parseMode(ParseMode parseMode)
-
build
public EditMessageCaption build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-