Manish Kataria 5.Feb.13 07:44 AM a Web browser Applications development 8.5.1 All Platforms
I am trying to develop a plugin which can modify content of the message that is being send out. However all the methods I read in documentation get invoked only after the chat message is already posted.
Any one has an idea which method I can override to get control before chat is send out and get a chance to modify its content ?
Here is what I tried
1st approach ..
Developed a class like
ABCHandler extends DefaultMessageHandler
and then tried to override all methods like below but none of these get invoked before chat window is updated
public void handleMessage(ImTextSendMessage message)
public void handleMessage(ImTextReceivedMessage message)
In the class extending MessageHandlerPreCallback, tried to override method like
public boolean beforeProcessing(MessageEvent message)
And even this gets executed only after chat content is posted.