GET message/msg_get_message_chat_list?target_user_id={target_user_id}&page_index={page_index}&page_size={page_size}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
target_user_id | integer |
Required |
|
page_index | integer |
Required |
|
page_size | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
DataResponseOfPageResponseOfMessageViewModelName | Description | Type | Additional information |
---|---|---|---|
code | integer |
None. |
|
message | string |
None. |
|
success | boolean |
None. |
|
data | PageResponseOfMessageViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "code": 1, "message": "sample string 2", "success": true, "data": { "last_page": true, "total_count": 2, "list": [ { "message_id": 1, "message_type_id": 2, "message_type_group_id": 3, "chat_type_id": 4, "sender_user_id": 5, "receiver_user_id": 6, "redirect_id": 7, "title": "sample string 8", "sub_title": "sample string 9", "ext": "sample string 10", "note": "sample string 11", "photo_path": "sample string 12", "photo_width": 13, "photo_height": 14, "photo_size": 15, "voice_path": "sample string 16", "voice_length": 17, "location_latitude": "sample string 18", "location_longitude": "sample string 19", "location_address": "sample string 20", "location_map_path": "sample string 21", "show_time": true, "date_created": "sample string 23", "sender_user_name": "sample string 24", "sender_head_image_path": "sample string 25", "target_user_name": "sample string 26", "target_head_image_path": "sample string 27", "time_offset": 28 }, { "message_id": 1, "message_type_id": 2, "message_type_group_id": 3, "chat_type_id": 4, "sender_user_id": 5, "receiver_user_id": 6, "redirect_id": 7, "title": "sample string 8", "sub_title": "sample string 9", "ext": "sample string 10", "note": "sample string 11", "photo_path": "sample string 12", "photo_width": 13, "photo_height": 14, "photo_size": 15, "voice_path": "sample string 16", "voice_length": 17, "location_latitude": "sample string 18", "location_longitude": "sample string 19", "location_address": "sample string 20", "location_map_path": "sample string 21", "show_time": true, "date_created": "sample string 23", "sender_user_name": "sample string 24", "sender_head_image_path": "sample string 25", "target_user_name": "sample string 26", "target_head_image_path": "sample string 27", "time_offset": 28 } ] } }