POST api/v1/friendv1/GetLastMessageList
Request Information
URI Parameters
None.
Body Parameters
PagedParam| Name | Description | Type | Additional information |
|---|---|---|---|
| PageIndex | integer |
None. |
|
| PageSize | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"PageIndex": 1,
"PageSize": 2
}
application/xml, text/xml
Sample:
<PagedParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DDO.AppApi.Models"> <PageIndex>1</PageIndex> <PageSize>2</PageSize> </PagedParam>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ChatLastMessagePageDto| Name | Description | Type | Additional information |
|---|---|---|---|
| TotalCount | integer |
None. |
|
| listChatLastMessageDto | Collection of ChatLastMessageDto |
None. |
Response Formats
application/json
Sample:
Sample not available.
application/xml
Sample:
<ChatLastMessagePageDto xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<TotalCount>1</TotalCount>
<listChatLastMessageDto>
<ChatLastMessageDto>
<FriendUserId>8</FriendUserId>
<FriendAccountType>9</FriendAccountType>
<NickName>sample string 10</NickName>
<Avatar>sample string 11</Avatar>
<MessageType>Service</MessageType>
<MessageContentType>Txt</MessageContentType>
<MessageId>1</MessageId>
<Message>sample string 2</Message>
<SentTime>2025-12-06T04:33:52.3456187+00:00</SentTime>
<SentTimestamp>4</SentTimestamp>
<UnreadCount>5</UnreadCount>
<TotalCount>6</TotalCount>
<PinchatNum>7</PinchatNum>
</ChatLastMessageDto>
<ChatLastMessageDto>
<FriendUserId>8</FriendUserId>
<FriendAccountType>9</FriendAccountType>
<NickName>sample string 10</NickName>
<Avatar>sample string 11</Avatar>
<MessageType>Service</MessageType>
<MessageContentType>Txt</MessageContentType>
<MessageId>1</MessageId>
<Message>sample string 2</Message>
<SentTime>2025-12-06T04:33:52.3456187+00:00</SentTime>
<SentTimestamp>4</SentTimestamp>
<UnreadCount>5</UnreadCount>
<TotalCount>6</TotalCount>
<PinchatNum>7</PinchatNum>
</ChatLastMessageDto>
</listChatLastMessageDto>
</ChatLastMessagePageDto>
text/json
Sample:
{
"TotalCount": 1,
"listChatLastMessageDto": [
{
"MessageType": 1,
"MessageContentType": 1,
"MessageId": 1,
"Message": "sample string 2",
"SentTime": "2025-12-06T04:33:52.3456187+00:00",
"SentTimestamp": 4,
"UnreadCount": 5,
"TotalCount": 6,
"PinchatNum": 7,
"FriendUserId": 8,
"FriendAccountType": 9,
"NickName": "sample string 10",
"Avatar": "sample string 11"
},
{
"MessageType": 1,
"MessageContentType": 1,
"MessageId": 1,
"Message": "sample string 2",
"SentTime": "2025-12-06T04:33:52.3456187+00:00",
"SentTimestamp": 4,
"UnreadCount": 5,
"TotalCount": 6,
"PinchatNum": 7,
"FriendUserId": 8,
"FriendAccountType": 9,
"NickName": "sample string 10",
"Avatar": "sample string 11"
}
]
}
text/xml
Sample:
<ChatLastMessagePageDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Smart.Domain.Dto.Activity.Chat">
<TotalCount>1</TotalCount>
<listChatLastMessageDto>
<ChatLastMessageDto>
<Avatar>sample string 11</Avatar>
<FriendAccountType>9</FriendAccountType>
<FriendUserId>8</FriendUserId>
<NickName>sample string 10</NickName>
<Message>sample string 2</Message>
<MessageContentType>Txt</MessageContentType>
<MessageId>1</MessageId>
<MessageType>Service</MessageType>
<PinchatNum>7</PinchatNum>
<SentTime>2025-12-06T04:33:52.3456187+00:00</SentTime>
<SentTimestamp>4</SentTimestamp>
<TotalCount>6</TotalCount>
<UnreadCount>5</UnreadCount>
</ChatLastMessageDto>
<ChatLastMessageDto>
<Avatar>sample string 11</Avatar>
<FriendAccountType>9</FriendAccountType>
<FriendUserId>8</FriendUserId>
<NickName>sample string 10</NickName>
<Message>sample string 2</Message>
<MessageContentType>Txt</MessageContentType>
<MessageId>1</MessageId>
<MessageType>Service</MessageType>
<PinchatNum>7</PinchatNum>
<SentTime>2025-12-06T04:33:52.3456187+00:00</SentTime>
<SentTimestamp>4</SentTimestamp>
<TotalCount>6</TotalCount>
<UnreadCount>5</UnreadCount>
</ChatLastMessageDto>
</listChatLastMessageDto>
</ChatLastMessagePageDto>