Gets default text representation of the system message. It is a macro which needs to be resolved before sending to the client.
Exception is thrown if messageType is not a system message.
Example of a returned value: {$chat.system.userhaschangednickname|(replace){0}(with)guest_42|(replace){1}(with)lalalal$}
Namespace: CMS.ChatAssembly: CMS.Chat (in CMS.Chat.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- messageType
- Type: CMS.Chat ChatMessageTypeEnum
Type of the system message.
- args
- Type:
System String
Optional params which will be included in the macro in form of |replace{{i}}(with)param. i is counter and starts from 0
Return Value
Type:
Macro containing text of the system message
See Also