ChatMessageHelperPostMessageToUser Method |
Inserts new whisper message to room.
Namespace: CMS.ChatAssembly: CMS.Chat (in CMS.Chat.dll) Version: 8.2.23
Syntax 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:
MessageDataMessageData of the new message
See Also