# LibTmux.SendKeysRequest.SendKeysRequest

- **Module:** LibTmux.SendKeysRequest
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Requests/SendKeysRequest.cs#L18
- **Page:** https://libtmux.org/reference/dotnet/libtmux-sendkeysrequest-sendkeysrequest/

```
LibTmux.SendKeysRequest.SendKeysRequest(text: string?, enter: bool, suppressHistory: bool, literal: bool, reset: bool, copyModeCommand: string?, repeat: int?, expandFormats: bool, hexKeys: bool, targetClient: string?, keyName: bool)
```

Initializes a key-sending request.

## Parameters

- `text` (string?) — The text or key names to send.
- `enter` (bool) — Whether Enter follows the text.
- `suppressHistory` (bool) — Whether the shell is asked not to record the line.
- `literal` (bool) — Whether the text is sent verbatim rather than as key names.
- `reset` (bool) — Whether the pane's terminal state is reset first.
- `copyModeCommand` (string?) — A copy-mode command to send instead of text.
- `repeat` (int?) — How many times the keys repeat.
- `expandFormats` (bool) — Whether the text is expanded as a format.
- `hexKeys` (bool) — Whether key names are read as hexadecimal.
- `targetClient` (string?) — The client whose keys are sent.
- `keyName` (bool) — Whether the text names a key rather than a string.
