Class EditMessageTextMessage
- java.lang.Object
-
- org.apache.camel.component.telegram.model.OutgoingMessage
-
- org.apache.camel.component.telegram.model.EditMessageTextMessage
-
- All Implemented Interfaces:
Serializable
public class EditMessageTextMessage extends OutgoingMessage
Message to edit text and game messages.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EditMessageTextMessage.Builder
-
Field Summary
-
Fields inherited from class org.apache.camel.component.telegram.model.OutgoingMessage
chatId, disableNotification, replyToMessageId
-
-
Constructor Summary
Constructors Constructor Description EditMessageTextMessage(String chatId, Integer messageId, String inlineMessageId, String text, String parseMode, Boolean disableWebPagePreview, InlineKeyboardMarkup replyMarkup)
BuildsEditMessageTextMessage
instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EditMessageTextMessage.Builder
builder()
Boolean
getDisableWebPagePreview()
String
getInlineMessageId()
Integer
getMessageId()
String
getParseMode()
InlineKeyboardMarkup
getReplyMarkup()
String
getText()
-
Methods inherited from class org.apache.camel.component.telegram.model.OutgoingMessage
getChatId, getDisableNotification, getReplyToMessageId, setChatId, setDisableNotification, setReplyToMessageId, toString
-
-
-
-
Constructor Detail
-
EditMessageTextMessage
public EditMessageTextMessage(String chatId, Integer messageId, String inlineMessageId, String text, String parseMode, Boolean disableWebPagePreview, InlineKeyboardMarkup replyMarkup)
BuildsEditMessageTextMessage
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.text
- New text 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.disableWebPagePreview
- Disables link previews for links in this 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()
-
getText
public String getText()
-
getParseMode
public String getParseMode()
-
getDisableWebPagePreview
public Boolean getDisableWebPagePreview()
-
getReplyMarkup
public InlineKeyboardMarkup getReplyMarkup()
-
builder
public static EditMessageTextMessage.Builder builder()
-
-