mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-23 06:51:01 +01:00
fix fmt
This commit is contained in:
parent
b06d3e7b7e
commit
b81bfd3b2a
1 changed files with 6 additions and 4 deletions
|
@ -1057,8 +1057,9 @@ impl Bot {
|
|||
{
|
||||
match self.parse_mode {
|
||||
None => EditMessageText::new(self.clone(), chat_id, message_id, text),
|
||||
Some(parse_mode) => EditMessageText::new(self.clone(), chat_id, message_id, text)
|
||||
.parse_mode(parse_mode),
|
||||
Some(parse_mode) => {
|
||||
EditMessageText::new(self.clone(), chat_id, message_id, text).parse_mode(parse_mode)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1117,8 +1118,9 @@ impl Bot {
|
|||
{
|
||||
match self.parse_mode {
|
||||
None => EditMessageCaption::new(self.clone(), chat_id, message_id),
|
||||
Some(parse_mode) => EditMessageCaption::new(self.clone(), chat_id, message_id)
|
||||
.parse_mode(parse_mode),
|
||||
Some(parse_mode) => {
|
||||
EditMessageCaption::new(self.clone(), chat_id, message_id).parse_mode(parse_mode)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue