Click or drag to resize
ChatMessageHelperPostMessageToUser Method
Inserts new whisper message to room.

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

Parameters

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

Return Value

Type: MessageData
MessageData of the new message
See Also