Click or drag to resize
ChatServicePostMessage 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: 9.0.0
Syntax
C#
public ChatGeneralResponse<MessageData> PostMessage(
	int roomID,
	string messageText
)

Parameters

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

Return Value

Type: ChatGeneralResponseMessageData
ChatGeneralReponse

Implements

IChatServicePostMessage(Int32, String)
See Also