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