# Clicked

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/tui/widgets/chat_input/InputActionButton/Clicked)

Message sent when an input action button is clicked.

## Signature

```python
Clicked(
    self,
    action: InputAction,
)
```

## Extends

- `Message`

## Constructors

```python
__init__(
    self,
    action: InputAction,
) -> None
```

| Name | Type |
|------|------|
| `action` | `InputAction` |


## Properties

- `action`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/02ed19a42715fe0e9f2059fe8cf4fe6883054f08/libs/code/deepagents_code/tui/widgets/chat_input.py#L367)