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