Skip to main content

flatten_text

Function flatten_text 

Source
fn flatten_text(msg: &OutboundMsg) -> String
Expand description

WhatsApp’s Cloud API has no rich embed support (spec §5.3) — if OutboundMsg.embed is set, flatten it to plain text rather than dropping it silently.