# 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/e14e0adcbe78565ed3650e7f24b2a775d5437d25/libs/code/deepagents_code/tui/widgets/chat_input.py#L281)