Class EditMessageTextMessage
java.lang.Object
org.apache.camel.component.telegram.model.OutgoingMessage
org.apache.camel.component.telegram.model.EditMessageTextMessage
- All Implemented Interfaces:
Serializable
Message to edit text and game messages.
- See Also:
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.apache.camel.component.telegram.model.OutgoingMessage
chatId, disableNotification, replyToMessageId
-
Constructor Summary
ConstructorDescriptionEditMessageTextMessage
(String chatId, Integer messageId, String inlineMessageId, String text, String parseMode, Boolean disableWebPagePreview, InlineKeyboardMarkup replyMarkup) BuildsEditMessageTextMessage
instance. -
Method Summary
Methods inherited from class org.apache.camel.component.telegram.model.OutgoingMessage
getChatId, getDisableNotification, getReplyToMessageId, setChatId, setDisableNotification, setReplyToMessageId, toString
-
Constructor Details
-
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 Details
-
getMessageId
-
getInlineMessageId
-
getText
-
getParseMode
-
getDisableWebPagePreview
-
getReplyMarkup
-
builder
-