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: 11.0.0
Syntaxprotected 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