GET api/Chat/GetChatSessions?groupCategoryId={groupCategoryId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
groupCategoryId | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of LiteChatConversationSummaryName | Description | Type | Additional information |
---|---|---|---|
ChatName | string |
None. |
|
LatestMsg | string |
None. |
|
TargetUserId | string |
None. |
|
GroupCategoryId | integer |
None. |
|
GroupId | integer |
None. |
|
UnreadCount | integer |
None. |
|
LastMsgTimeSent | date |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ChatName": "sample string 1", "LatestMsg": "sample string 2", "TargetUserId": "sample string 3", "GroupCategoryId": 4, "GroupId": 5, "UnreadCount": 6, "LastMsgTimeSent": "2020-12-06T02:01:23.5764347+00:00" }, { "ChatName": "sample string 1", "LatestMsg": "sample string 2", "TargetUserId": "sample string 3", "GroupCategoryId": 4, "GroupId": 5, "UnreadCount": 6, "LastMsgTimeSent": "2020-12-06T02:01:23.5764347+00:00" } ]
application/xml, text/xml
Sample:
<ArrayOfLiteChatConversationSummary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HubApi.Models.Hub.Api"> <LiteChatConversationSummary> <ChatName>sample string 1</ChatName> <GroupCategoryId>4</GroupCategoryId> <GroupId>5</GroupId> <LastMsgTimeSent>2020-12-06T02:01:23.5764347+00:00</LastMsgTimeSent> <LatestMsg>sample string 2</LatestMsg> <TargetUserId>sample string 3</TargetUserId> <UnreadCount>6</UnreadCount> </LiteChatConversationSummary> <LiteChatConversationSummary> <ChatName>sample string 1</ChatName> <GroupCategoryId>4</GroupCategoryId> <GroupId>5</GroupId> <LastMsgTimeSent>2020-12-06T02:01:23.5764347+00:00</LastMsgTimeSent> <LatestMsg>sample string 2</LatestMsg> <TargetUserId>sample string 3</TargetUserId> <UnreadCount>6</UnreadCount> </LiteChatConversationSummary> </ArrayOfLiteChatConversationSummary>