# Clicked

> **Class** in `deepagents_cli`

📖 [View in docs](https://reference.langchain.com/python/deepagents-cli/widgets/thread_selector/ThreadOption/Clicked)

Message sent when a thread option is clicked.

## Signature

```python
Clicked(
    self,
    thread_id: str,
    index: int,
)
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `thread_id` | `str` | Yes | The thread identifier. |
| `index` | `int` | Yes | The index of the clicked option. |

## Extends

- `Message`

## Constructors

```python
__init__(
    self,
    thread_id: str,
    index: int,
) -> None
```

| Name | Type |
|------|------|
| `thread_id` | `str` |
| `index` | `int` |


## Properties

- `thread_id`
- `index`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/a827cddf72d72e4b17921b8eb445a3bfb0511cb4/libs/cli/deepagents_cli/widgets/thread_selector.py#L314)