Interface IncomingChatMessageManipulator


  • public interface IncomingChatMessageManipulator

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

    Since:
    12.1
    • Method Detail

      • manipulateIncomingTextChatMessage

        IncomingTextChatMessageManipulationResult manipulateIncomingTextChatMessage​(IncomingTextChatMessageManipulationInput incomingTextChatMessageManipulationInput)
        This method is called before the incoming text chat message is processed and persisted. Please note that this method will be called on all plugins implementing the interface IncomingChatMessageManipulator. Subsequent plugins will receive the manipulated data from the previous manipulation step.
        Parameters:
        incomingTextChatMessageManipulationInput - provides all data to manipulate the incoming text chat message
        Returns:
        the IncomingTextChatMessageManipulationResult optionally provides the changes to the text chat message.
        Since:
        12.1