Class EditMessageDelete
- java.lang.Object
-
- org.apache.camel.component.telegram.model.OutgoingMessage
-
- org.apache.camel.component.telegram.model.EditMessageDelete
-
- All Implemented Interfaces:
Serializable
public class EditMessageDelete extends OutgoingMessage
Used to delete a message, including service messages. On success, returns aMessageResultobject.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.camel.component.telegram.model.OutgoingMessage
chatId, disableNotification, replyToMessageId
-
-
Constructor Summary
Constructors Constructor Description EditMessageDelete(String chatId, Integer messageId)BuildsEditMessageDeleteinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetMessageId()StringtoString()-
Methods inherited from class org.apache.camel.component.telegram.model.OutgoingMessage
getChatId, getDisableNotification, getReplyToMessageId, setChatId, setDisableNotification, setReplyToMessageId
-
-
-
-
Constructor Detail
-
EditMessageDelete
public EditMessageDelete(String chatId, Integer messageId)
BuildsEditMessageDeleteinstance.- Parameters:
chatId- Unique identifier for the target chat or username of the target channel.messageId- Identifier of the message to delete
-
-
Method Detail
-
getMessageId
public Integer getMessageId()
-
toString
public String toString()
- Overrides:
toStringin classOutgoingMessage
-
-