add replay markup setter

This commit is contained in:
nextel 2019-09-13 12:36:09 +03:00
parent c1568065e0
commit 8a9b2e1009

View file

@ -148,4 +148,13 @@ impl<'a> SendVenue<'a> {
self.foursquare_type = Some(foursquare_type.into()); self.foursquare_type = Some(foursquare_type.into());
self self
} }
pub fn reply_markup<T>(mut self, reply_markup: T) -> Self
where
T: Into<ReplyMarkup>,
{
self.reply_markup = Some(ReplyMarkup.into());
self
}
} }