Class OutgoingTextChatMessageManipulationResult
- java.lang.Object
-
- com.novomind.ecom.api.iagent.manipulator.result.OutgoingTextChatMessageManipulationResult
-
public final class OutgoingTextChatMessageManipulationResult extends java.lang.Object
Represents the result of the optional outgoing text chat message manipulation by an
OutgoingChatMessageManipulator
.- Since:
- 12.1
-
-
Constructor Summary
Constructors Constructor Description OutgoingTextChatMessageManipulationResult(TextChatMessage textChatMessage)
Creates anOutgoingTextChatMessageManipulationResult
with a manipulated text chat message
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<TextChatMessage>
getTextChatMessage()
static OutgoingTextChatMessageManipulationResult
getUnmodifiedResult()
Provides anOutgoingTextChatMessageManipulationResult
without any modifications
-
-
-
Constructor Detail
-
OutgoingTextChatMessageManipulationResult
public OutgoingTextChatMessageManipulationResult(TextChatMessage textChatMessage)
Creates anOutgoingTextChatMessageManipulationResult
with a manipulated text chat message- Parameters:
textChatMessage
- the manipulated text chat message- Since:
- 12.1
-
-
Method Detail
-
getUnmodifiedResult
public static OutgoingTextChatMessageManipulationResult getUnmodifiedResult()
Provides anOutgoingTextChatMessageManipulationResult
without any modifications- Returns:
- an
OutgoingTextChatMessageManipulationResult
without any modifications - Since:
- 12.1
-
getTextChatMessage
public java.util.Optional<TextChatMessage> getTextChatMessage()
- Returns:
- an
Optional
with the manipulated text chat message, or an emptyOptional
if no manipulation has been done. - Since:
- 12.1
-
-