pub fn validate_text_attachment(attachment: &TextAttachment) -> Result<()>Expand description
Validate a text attachment: plaintext length and styling ranges.
pub fn validate_text_attachment(attachment: &TextAttachment) -> Result<()>Validate a text attachment: plaintext length and styling ranges.