Click or drag to resize
ChatMessageHelperGetSystemMessageText Method
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.2.23
Syntax
C#
public static string GetSystemMessageText(
	ChatMessageTypeEnum messageType,
	params string[] args
)

Parameters

messageType
Type: CMS.ChatChatMessageTypeEnum
Type of the system message.
args
Type: SystemString
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: String
Macro containing text of the system message
See Also