useserde::{Deserialize, Serialize};/// The message payload.
////// -----
////// ### Example
////// ```json
/// {
/// "author": "Not a weeb",
/// "content": "Hello, World!"
/// }
/// ```
#[autodoc(category ="Messaging")]#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]pubstructMessage{/// The author of message. This field has to be between 2 and 32 characters long.
////// The author will be trimmed from leading and trailing whitespace.
pubauthor: String,
/// The content of the message. This field has to be at-least 2 characters long. The upper limit
/// is the instance's [`InstanceInfo`] `message_limit`.
////// The content will be trimmed from leading and trailing whitespace.
pubcontent: String,
}