Class EditMessageCaptionMessage
- java.lang.Object
-
- org.apache.camel.component.telegram.model.OutgoingMessage
-
- org.apache.camel.component.telegram.model.EditMessageCaptionMessage
-
- All Implemented Interfaces:
Serializable
public class EditMessageCaptionMessage extends OutgoingMessage
Message to edit captions of messages.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EditMessageCaptionMessage.Builder
-
Field Summary
-
Fields inherited from class org.apache.camel.component.telegram.model.OutgoingMessage
chatId, disableNotification, replyToMessageId
-
-
Constructor Summary
Constructors Constructor Description EditMessageCaptionMessage(String chatId, Integer messageId, String inlineMessageId, String caption, String parseMode, InlineKeyboardMarkup replyMarkup)
BuildsEditMessageCaptionMessage
instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EditMessageCaptionMessage.Builder
builder()
String
getCaption()
String
getInlineMessageId()
Integer
getMessageId()
String
getParseMode()
InlineKeyboardMarkup
getReplyMarkup()
-
Methods inherited from class org.apache.camel.component.telegram.model.OutgoingMessage
getChatId, getDisableNotification, getReplyToMessageId, setChatId, setDisableNotification, setReplyToMessageId, toString
-
-
-
-
Constructor Detail
-
EditMessageCaptionMessage
public EditMessageCaptionMessage(String chatId, Integer messageId, String inlineMessageId, String caption, String parseMode, InlineKeyboardMarkup replyMarkup)
BuildsEditMessageCaptionMessage
instance.- Parameters:
chatId
- Unique identifier for the target chat or username of the target channel.messageId
- Identifier of the message to edit. Required if inline_message_id is not specified.inlineMessageId
- Required if chat_id and message_id are not specified. Identifier of the inline message.caption
- New caption of the message.parseMode
- Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in your bot's message.replyMarkup
- An inline keyboard that appears right next to the message it belongs to.
-
-
Method Detail
-
getMessageId
public Integer getMessageId()
-
getInlineMessageId
public String getInlineMessageId()
-
getCaption
public String getCaption()
-
getParseMode
public String getParseMode()
-
getReplyMarkup
public InlineKeyboardMarkup getReplyMarkup()
-
builder
public static EditMessageCaptionMessage.Builder builder()
-
-