pub struct EditMessageLiveLocation { /* private fields */ }Expand description
Builder for the editMessageLiveLocation method.
Implementations§
Source§impl EditMessageLiveLocation
impl EditMessageLiveLocation
Sourcepub fn live_period(self, v: u32) -> Self
pub fn live_period(self, v: u32) -> Self
Sets how long the location stays live, in seconds (60–86400).
Sourcepub fn reply_markup(self, m: InlineKeyboardMarkup) -> Self
pub fn reply_markup(self, m: InlineKeyboardMarkup) -> Self
Attaches a reply markup (inline keyboard, reply keyboard, etc.).
Trait Implementations§
Source§impl IntoFuture for EditMessageLiveLocation
impl IntoFuture for EditMessageLiveLocation
Source§type IntoFuture = Pin<Box<dyn Future<Output = <EditMessageLiveLocation as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <EditMessageLiveLocation as IntoFuture>::Output> + Send>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl Freeze for EditMessageLiveLocation
impl !RefUnwindSafe for EditMessageLiveLocation
impl Send for EditMessageLiveLocation
impl Sync for EditMessageLiveLocation
impl Unpin for EditMessageLiveLocation
impl UnsafeUnpin for EditMessageLiveLocation
impl !UnwindSafe for EditMessageLiveLocation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more