Skip to content

Commit ae696ea

Browse files
goweiwenGustavo Aguiar
authored andcommitted
Add MarkdownV2 parse mode
1 parent 44dcada commit ae696ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

raw/src/types/message.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -949,9 +949,9 @@ impl File {
949949
/// See [documentation](https://core.telegram.org/bots/api#formatting-options) for details.
950950
#[derive(Debug, Clone, Copy, PartialEq, PartialOrd, Serialize)]
951951
pub enum ParseMode {
952-
/// Use markdown formatting.
952+
/// Use legacy markdown formatting.
953953
Markdown,
954-
/// Use markdownV2 formatting.
954+
/// Use MarkdownV2 formatting.
955955
MarkdownV2,
956956
/// Use HTML formatting.
957957
#[serde(rename = "HTML")]

0 commit comments

Comments
 (0)