Struct tbot::methods::EditInlineMedia
source · pub struct EditInlineMedia<'a> { /* private fields */ }
Expand description
Edits the media of a message sent via the inline mode.
Reflects the editMessageMedia
method.
Implementations§
source§impl<'a> EditInlineMedia<'a>
impl<'a> EditInlineMedia<'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 EditInlineMedia<'_>
impl EditInlineMedia<'_>
sourcepub async fn call(self) -> Result<(), MethodCall>
pub async fn call(self) -> Result<(), MethodCall>
Calls the method.
Trait Implementations§
source§impl<'a> Clone for EditInlineMedia<'a>
impl<'a> Clone for EditInlineMedia<'a>
source§fn clone(&self) -> EditInlineMedia<'a>
fn clone(&self) -> EditInlineMedia<'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