ChatMessageHelper GetSystemMessageText Method Kentico 8.0 API Reference
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.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

messageType
Type: CMS.Chat ChatMessageTypeEnum
Type of the system message.
args
Type:  OnlineSystem 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: OnlineString
Macro containing text of the system message
See Also