[][src]Function tbot::markup::raw

pub fn raw<I, T>(iterator: I) -> Raw<I> where
    &'a I: IntoIterator<Item = &'a T>,
    T: Deref<Target = str>, 

Creates a raw string for formatting.

Use this utility with extreme care: it inserts the provided string into the resulting string as-is. As a result, if it contains malformed formatting, the resulting string won't be parsed by Telegram. Also, unchecked user-provided input may insert its own formatting, which may be undesrirable. Note that all other utilities automatically escape provided strings as needed.