ChatServiceBase.GetChatResponse<TData> 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
Syntaxprotected ChatGeneralResponse<TData> GetChatResponse<TData>(
ChatResponseStatusEnum statusCode,
string statusMessage,
TData data
)
Parameters
- statusCode
- Type: CMS.Chat.ChatResponseStatusEnum
Status code - statusMessage
- Type: System.String
Status message - data
- Type: TData
Payload
Type Parameters
- TData
- Type of payload
Return Value
Type:
ChatGeneralResponse<TData>ChatGeneralResponse
See Also