beforeRenderMessage

open fun beforeRenderMessage(message: Message): Message

This method is responsible for retrieving a custom message before it is displayed. The message is obtained from the server either through an event or as a response to a sent message