# NotificationActionResult

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/widgets/notification_center/NotificationActionResult)

Dismissal payload identifying which action the user picked.

The screen returns this via `dismiss()` when the user drills into
a notification and selects an action; it returns `None` when the
user cancels with Esc without committing to an action.

## Signature

```python
NotificationActionResult(
    self,
    key: str,
    action_id: ActionId,
)
```

## Constructors

```python
__init__(
    self,
    key: str,
    action_id: ActionId,
) -> None
```

| Name | Type |
|------|------|
| `key` | `str` |
| `action_id` | `ActionId` |


## Properties

- `key`
- `action_id`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/a98f0dfa8d534d8a1885b524632400e52db22ac6/libs/code/deepagents_code/widgets/notification_center.py#L40)