ChatServiceBaseGetChatResponseTData Method (ChatResponseStatusEnum, String, TData) |
Builds generic ChatGeneral response with properties set to passed params.
Namespace: CMS.ChatAssembly: CMS.Chat (in CMS.Chat.dll) Version: 8.2.23
Syntax 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:
ChatGeneralResponseTDataChatGeneralResponse
See Also