# libtmux::ParsedNotification

- **Module:** libtmux
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/393d4b0ad666f18a6581f1eb281741a75a7503f0/include/libtmux/notification.hpp#L81
- **Page:** https://libtmux.org/en/cxx/latest/reference/libtmux-parsednotification/

A notification's arguments, as views into the notification it was read from.

tmux types its arguments by prefix — `$0` a session, `@1` a window, `%2` a pane — so each lands in the field it belongs to and the others stay empty. `payload` is the pane bytes of an output notification, already unescaped; it is empty for every other kind.

`subscription_changed` is the one kind whose first argument is never an id: it is the subscription's own name (chosen by whoever called `refresh-client -B`), so `text` holds that name and the changed value together — `"<name> : <value>"` — once `session`/`window`/`pane` have taken the ids around them.

Everything here borrows. The notification must outlive it, which is why there is no overload taking a temporary.

## Members

- `kind` (attribute)
- `name` (attribute)
- `session` (attribute)
- `window` (attribute)
- `pane` (attribute)
- `text` (attribute)
- `payload` (attribute)
- `age` (attribute): Milliseconds this output was behind when tmux wrote it.
