Interface OutgoingChatMessageManipulator


  • public interface OutgoingChatMessageManipulator

    This plugin allows to manipulate the outgoing chat message before being processed and sent. Only the manipulated chat message will be persisted.

    Since:
    12.1
    • Method Detail

      • manipulateOutgoingTextChatMessage

        OutgoingTextChatMessageManipulationResult manipulateOutgoingTextChatMessage​(OutgoingTextChatMessageManipulationInput outgoingTextChatMessageManipulationInput)
        This method is called before the outgoing text chat message is processed, persisted and sent. Please note that this method will be called on all plugins implementing the interface OutgoingChatMessageManipulator. Subsequent plugins will receive the manipulated data from the previous manipulation step.
        Parameters:
        outgoingTextChatMessageManipulationInput - provides all data to manipulate the outgoing text chat message
        Returns:
        the OutgoingTextChatMessageManipulationResult optionally provides the changes to the text chat message.
        Since:
        12.1