Click or drag to resize
ChatServiceBaseGetChatResponseTData Method (ChatResponseStatusEnum, String, TData)
Builds generic ChatGeneral response with properties set to passed params.

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 8.2.23
Syntax
C#
protected ChatGeneralResponse<TData> GetChatResponse<TData>(
	ChatResponseStatusEnum statusCode,
	string statusMessage,
	TData data
)

Parameters

statusCode
Type: CMS.ChatChatResponseStatusEnum
Status code
statusMessage
Type: SystemString
Status message
data
Type: TData
Payload

Type Parameters

TData
Type of payload

Return Value

Type: ChatGeneralResponseTData
ChatGeneralResponse
See Also