pub const DC_DESIRED_TEXT_LEN: usize = _; // 3_800usize
Expand description
Message length limit.
To keep bubbles and chat flow usable and to avoid problems with controls using very long texts,
we limit the text length to DC_DESIRED_TEXT_LEN
. If the text is longer, the full text can be
retrieved using has_html()/get_html().
Note that for simplicity maximum length is defined as the number of Unicode Scalar Values (Rust
char
s), not Unicode Grapheme Clusters.