Click or drag to resize
ChatMessageHelperPostMessage Method
Inserts new message to room. Message is of type ClassicMessage.

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 12.0.0
Syntax
C#
public static MessageData PostMessage(
	string messageText,
	int roomID,
	ChatUserInfo senderChatUser
)

Parameters

messageText
Type: SystemString
Text of message
roomID
Type: SystemInt32
Room ID
senderChatUser
Type: CMS.ChatChatUserInfo
Sender of this message

Return Value

Type: MessageData
MessageData of the new message
See Also