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