# Struct TextDisplay

> A Components V2 text block (markdown, ≤ 4 000 per message in all).

`zaun_bot::TextDisplay` · Struct

```rust
pub struct TextDisplay
```

A Components V2 text block (markdown, ≤ 4 000 per message in all).

## Methods

### `new`

```rust
pub fn new<impl Into<String>>(content: impl Into<String>) -> TextDisplay
```

A text display.

## Trait implementations

`Clone`, `Debug`

[Full rustdoc page](/docs/api/rust/zaun-bot/zaun_bot/layout/struct.TextDisplay.html)
