ChatServiceBaseGetChatResponseTData Method (ChatResponseStatusEnum, String) |
Builds chat response with code set to statusCode, message set to statusMessage and data set to default(TData).
Namespace: CMS.ChatAssembly: CMS.Chat (in CMS.Chat.dll) Version: 12.0.0
Syntax protected ChatGeneralResponse<TData> GetChatResponse<TData>(
ChatResponseStatusEnum statusCode,
string statusMessage
)
Parameters
- statusCode
- Type: CMS.ChatChatResponseStatusEnum
Status code - statusMessage
- Type: SystemString
Status message
Type Parameters
- TData
- Type of data property
Return Value
Type:
ChatGeneralResponseTDataGeneral response with Data of type TData
See Also