A hook event that fires for each ChatMessage which is rendered for addition to the ChatLog. This hook allows for final customization of the message HTML before it is added to the log.
The ChatMessage document being rendered.
The pending HTML.
Optional
The rendering context. This is only provided when the core chat message template is rendered.
A hook event that fires for each ChatMessage which is rendered for addition to the ChatLog. This hook allows for final customization of the message HTML before it is added to the log.