Struct tbot::methods::EditInlineLocation
source · pub struct EditInlineLocation<'a> { /* private fields */ }
Expand description
Edits a live location sent via the inline mode.
Reflects the editMessageLiveLocation
method.
Implementations§
source§impl<'a> EditInlineLocation<'a>
impl<'a> EditInlineLocation<'a>
sourcepub fn reply_markup(self, markup: Keyboard) -> Self
pub fn reply_markup(self, markup: Keyboard) -> Self
Configures an inline keyboard for the message.
Reflects the reply_markup
parameter.
source§impl EditInlineLocation<'_>
impl EditInlineLocation<'_>
sourcepub async fn call(self) -> Result<(), MethodCall>
pub async fn call(self) -> Result<(), MethodCall>
Calls the method.
Trait Implementations§
source§impl<'a> Clone for EditInlineLocation<'a>
impl<'a> Clone for EditInlineLocation<'a>
source§fn clone(&self) -> EditInlineLocation<'a>
fn clone(&self) -> EditInlineLocation<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more