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: 8.2.23
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