> For the complete documentation index, see [llms.txt](https://chat-sdk.gitbook.io/android/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chat-sdk.gitbook.io/android/api/add-a-chat-option.md).

# Add a Chat Option

The Chat Options dialog is displayed when the user clicks the options button in the `ChatActivity`.

You can add new options like this:

```
ChatOption option = new ChatOptionBuilder().title("New Option!").action((activity, thread) -> {
    // When the option is pressed, you can perform an action

    return null;
}).build();

ChatSDK.ui().addChatOption(option);
```
