Class EditMessageReplyMarkupMessage
- java.lang.Object
-
- org.apache.camel.component.telegram.model.OutgoingMessage
-
- org.apache.camel.component.telegram.model.EditMessageReplyMarkupMessage
-
- All Implemented Interfaces:
Serializable
public class EditMessageReplyMarkupMessage extends OutgoingMessage
Message to edit only the reply markup of messages.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EditMessageReplyMarkupMessage.Builder
-
Field Summary
-
Fields inherited from class org.apache.camel.component.telegram.model.OutgoingMessage
chatId, disableNotification, replyToMessageId
-
-
Constructor Summary
Constructors Constructor Description EditMessageReplyMarkupMessage(String chatId, Integer messageId, String inlineMessageId, InlineKeyboardMarkup replyMarkup)
BuildsEditMessageReplyMarkupMessage
instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EditMessageReplyMarkupMessage.Builder
builder()
String
getInlineMessageId()
Integer
getMessageId()
InlineKeyboardMarkup
getReplyMarkup()
String
toString()
-
Methods inherited from class org.apache.camel.component.telegram.model.OutgoingMessage
getChatId, getDisableNotification, getReplyToMessageId, setChatId, setDisableNotification, setReplyToMessageId
-
-
-
-
Constructor Detail
-
EditMessageReplyMarkupMessage
public EditMessageReplyMarkupMessage(String chatId, Integer messageId, String inlineMessageId, InlineKeyboardMarkup replyMarkup)
BuildsEditMessageReplyMarkupMessage
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.replyMarkup
- An inline keyboard that appears right next to the message it belongs to.
-
-
Method Detail
-
getMessageId
public Integer getMessageId()
-
getInlineMessageId
public String getInlineMessageId()
-
getReplyMarkup
public InlineKeyboardMarkup getReplyMarkup()
-
builder
public static EditMessageReplyMarkupMessage.Builder builder()
-
toString
public String toString()
- Overrides:
toString
in classOutgoingMessage
-
-