From 8a9b2e1009404f0b94e8555ee2bb0678d496eed2 Mon Sep 17 00:00:00 2001 From: nextel Date: Fri, 13 Sep 2019 12:36:09 +0300 Subject: [PATCH] add replay markup setter --- src/core/requests/send_venue.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/core/requests/send_venue.rs b/src/core/requests/send_venue.rs index 4b3010b6..fafe4cb0 100644 --- a/src/core/requests/send_venue.rs +++ b/src/core/requests/send_venue.rs @@ -148,4 +148,13 @@ impl<'a> SendVenue<'a> { self.foursquare_type = Some(foursquare_type.into()); self } + + + pub fn reply_markup(mut self, reply_markup: T) -> Self + where + T: Into, + { + self.reply_markup = Some(ReplyMarkup.into()); + self + } }