Skip to content

Struct Section

zaun_bot::Section · Struct

pub struct Section

A Components V2 section: 1–3 text blocks with a button beside them.

pub fn with_button(texts: &[&str], button: Button) -> Section

A section of texts with a button accessory.

Clone, Debug

Full rustdoc page