pub fn plain_text(component: &Value) -> String
Flatten a chat component (a string, an object with text/translate/extra, or an array) to plain text. Nesting beyond 32 levels is cut off rather than followed.