# tmux.SessionRef

- **Module:** tmux
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-go/blob/5f808882015a975a65acc7f9da5b3ff0d5cbdc91/tmux/plan.go#L69
- **Page:** https://libtmux.org/reference/go/tmux-sessionref/

```
tmux.SessionRef(id: SessionID) -> Ref
```

SessionRef returns a selector-relative [Ref] addressing a session by ID, for a caller holding an identifier rather than a materialized record.
