| ChatMessageHelperBuildNewChatMessage Method | 
            Creates new ChatMessage info from the specified parameters. This message is not whisper.
            
 
Namespace: CMS.ChatAssembly: CMS.Chat (in CMS.Chat.dll) Version: 10.0.0
 Syntax
Syntaxpublic static ChatMessageInfo BuildNewChatMessage(
	string messageText,
	int roomID,
	Nullable<int> chatUserID,
	ChatMessageTypeEnum systemMessageType
)
Parameters
- messageText
- Type: SystemString
 Message text
- roomID
- Type: SystemInt32
 Room id
- chatUserID
- Type: SystemNullableInt32
 Sender of this message (null if message is system).
- systemMessageType
- Type: CMS.ChatChatMessageTypeEnum
 Type of this message
Return Value
Type: 
ChatMessageInfoChatMessageInfo with properties set. ReceipientID is null.
 See Also
See Also