mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
add replay markup setter
This commit is contained in:
parent
c1568065e0
commit
8a9b2e1009
1 changed files with 9 additions and 0 deletions
|
@ -148,4 +148,13 @@ impl<'a> SendVenue<'a> {
|
|||
self.foursquare_type = Some(foursquare_type.into());
|
||||
self
|
||||
}
|
||||
|
||||
|
||||
pub fn reply_markup<T>(mut self, reply_markup: T) -> Self
|
||||
where
|
||||
T: Into<ReplyMarkup>,
|
||||
{
|
||||
self.reply_markup = Some(ReplyMarkup.into());
|
||||
self
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue