# Recent chat

![Empty chat](/files/-MX6mFT8Ug5YvdDVOq4y)

![](/files/-MX6mKpeXidKCViiX1g7)

### Features

| Feature                    | Description                                                                                                                                          |
| -------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| Recent chat list           | User can see a list of the most recent chats                                                                                                         |
| Navigation to Message list | When a user selects a chat, UIKit opens a [chatroom page](/social-plus-uikit/uikit-3/android/chat-uikit/using-only-some-components/chatroom-page.md) |

### Usage

```swift
import UIKit
import AmityUIKit

class ClientViewController: UIViewController {
    
    override func viewDidLoad() {
        super.viewDidLoad()
    }
    
    @IBAction func showChatListPage(_ sender: UIButton) {
        let recentChatVC = AmityRecentChatViewController.make()
        present(recentChatVC, animated: true)
    }
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.social.plus/social-plus-uikit/uikit-3/ios/chat/using-only-some-components/chat-home-page/recent-chat.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
