Skip to content

Commit

Permalink
Add MarkdownV2 parse mode
Browse files Browse the repository at this point in the history
  • Loading branch information
goweiwen authored and Gustavo Aguiar committed Aug 28, 2020
1 parent 44dcada commit ae696ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions raw/src/types/message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -949,9 +949,9 @@ impl File {
/// See [documentation](https://core.telegram.org/bots/api#formatting-options) for details.
#[derive(Debug, Clone, Copy, PartialEq, PartialOrd, Serialize)]
pub enum ParseMode {
/// Use markdown formatting.
/// Use legacy markdown formatting.
Markdown,
/// Use markdownV2 formatting.
/// Use MarkdownV2 formatting.
MarkdownV2,
/// Use HTML formatting.
#[serde(rename = "HTML")]
Expand Down

0 comments on commit ae696ea

Please sign in to comment.