Click or drag to resize
IChatServicePostMessage Method
Posts a new message to a room. Chat user has to be logged in and joined this room. Message can not be empty.

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 12.0.0
Syntax
C#
ChatGeneralResponse<MessageData> PostMessage(
	int roomID,
	string messageText
)

Parameters

roomID
Type: SystemInt32
Room ID
messageText
Type: SystemString
Message text

Return Value

Type: ChatGeneralResponseMessageData
ChatGeneralReponse
See Also