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