> ## Documentation Index
> Fetch the complete documentation index at: https://docs.devmob.app.br/llms.txt
> Use this file to discover all available pages before exploring further.

# notification_recipient.marked_as_read

> Evento emitido após um destinatário marcar uma notificação como lida

`notification_recipient.marked_as_read` é emitido depois que um [NotificationRecipient](/data-modelling/communication/notification-recipient) muda para `READ`.

## Detalhes do Evento

| Propriedade    | Valor                                                            |
| -------------- | ---------------------------------------------------------------- |
| **Tipo**       | `notification_recipient.marked_as_read`                          |
| **Origem**     | Marcação de leitura                                              |
| **Publicação** | Após commit do recipient atualizado                              |
| **Quando**     | O destinatário marca uma notificação do próprio inbox como lida. |

## Handlers

| Handler                    | Responsabilidade                                 | Dados usados         | Execução    |
| -------------------------- | ------------------------------------------------ | -------------------- | ----------- |
| Nenhum handler obrigatório | Disponível para contadores ou projeções futuras. | `identifier`, `data` | Assíncrona. |

## Payload

| Campo        | Tipo                    | Descrição                              |
| ------------ | ----------------------- | -------------------------------------- |
| `identifier` | `UUID`                  | Identificador do NotificationRecipient |
| `data`       | `NotificationRecipient` | Entidade atualizada                    |

## Regras dos handlers

* Handlers não rodam na transação que atualizou o recipient.
* Falha em handler não desfaz a leitura.
* Cada handler deve ser idempotente.

## Exemplo

```json theme={null}
{
  "type": "notification_recipient.marked_as_read",
  "identifier": "0197fa01-d2e2-70df-8fd3-9e22a345a196",
  "data": {
    "notificationRecipientId": "0197fa01-d2e2-70df-8fd3-9e22a345a196",
    "readAt": "2026-07-04T16:05:00.000Z",
    "status": "READ"
  }
}
```
