pub fn validate_message_size(content: &str) -> bool
Validate that a message’s content doesn’t exceed the maximum size (1MB).