# LibTmux.DisplayMessageRequest.DisplayMessageRequest

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

```
LibTmux.DisplayMessageRequest.DisplayMessageRequest(message: string, returnText: bool, format: string?, allFormats: bool, verbose: bool, noExpand: bool, targetClient: string?, delay: TimeSpan?, notify: bool, updatePane: bool)
```

Initializes a display-message request.

## Parameters

- `message` (string) — The message, which tmux expands as a format.
- `returnText` (bool) — Whether the message is printed rather than shown.
- `format` (string?) — A format string used in place of the message.
- `allFormats` (bool) — Whether every format variable is listed.
- `verbose` (bool) — Whether format expansion is reported.
- `noExpand` (bool) — Whether the message is sent without format expansion.
- `targetClient` (string?) — The client to show the message on.
- `delay` (TimeSpan?) — How long the message stays up.
- `notify` (bool) — Whether the message is delivered as a notification.
- `updatePane` (bool) — Whether the pane is redrawn while shown.
