Enum telexide_fork::model::ParseMode
source · pub enum ParseMode {
MarkdownV2,
Markdown,
HTML,
}Expand description
The Bot API supports basic formatting for messages. You can use bold, italic, underlined and strikethrough text, as well as inline links and pre-formatted code in your bots’ messages. Telegram clients will render them accordingly. You can use either markdown-style or HTML-style formatting.
note: Markdown only exists for backwards-compatibility reasons, please use
MarkdownV2
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for ParseMode
impl<'de> Deserialize<'de> for ParseMode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more