updated to bot api v4.5
@@ -140,6 +140,7 @@ impl TryFrom<&str> for ParseMode {
"html" => Ok(ParseMode::HTML),
#[allow(depredecated)]
"markdown" => Ok(ParseMode::Markdown),
+ "markdownv2" => Ok(ParseMode::MarkdownV2),
_ => Err(()),
}
}
