ChatMessageHelper BuildNewChatMessage Method Kentico 8.0 API Reference
Creates new ChatMessage info from the specified parameters. This message is not whisper.

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

Parameters

messageText
Type: OnlineSystem String
Message text
roomID
Type: OnlineSystem Int32
Room id
chatUserID
Type: OnlineSystem Nullable OnlineInt32 
Sender of this message (null if message is system).
systemMessageType
Type: CMS.Chat ChatMessageTypeEnum
Type of this message

Return Value

Type: ChatMessageInfo
ChatMessageInfo with properties set. ReceipientID is null.
See Also