Skip to content

Struct TextDisplay

zaun_bot::TextDisplay · Struct

pub struct TextDisplay

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

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

A text display.

Clone, Debug

Full rustdoc page