# tmux_model:session_input/0

- **Package:** libtmux_erlang
- **Language:** Erlang
- **Kind:** typealias
- **Source:** https://github.com/libtmux/libtmux-erlang/blob/d1b6308440cf9eb8f6647e7ae434bce60e849368/apps/libtmux_erlang/src/tmux_model.erl#L120
- **Page:** https://libtmux.org/en/erlang/latest/reference/t-tmux_model-session_input-0/

```
-type session_input() ::
          #{id := session_id(),
            name => binary() | not_loaded | unavailable,
            attached_count =>
                non_neg_integer() |
                float() |
                not_loaded | unavailable,
            attached =>
                boolean() | not_loaded | unavailable,
            created =>
                non_neg_integer() |
                float() |
                not_loaded | unavailable}.
```

Trusted constructor fields for `session/1`. Required keys use :=; optional observations may be not_loaded or unavailable. Integral floats are normalized to integers. Runtime validation still checks ranges, IDs, UTF-8 and derived values. Use `new/2` for dynamically validated maps.
