ChatMessageHelper InsertSystemMessage Method Kentico 8.0 API Reference
Inserts system message to the room with default translation and optional params specified as args.

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

roomID
Type: OnlineSystem Int32
System message will be inserted to this room.
messageType
Type: CMS.Chat ChatMessageTypeEnum
Type of system message
args
Type:  OnlineSystem String 
Arguments to insert into the message text at the placeholders ({0}, {1}, etc.)
See Also