Struct tbot::methods::EditMessageCaption
source · pub struct EditMessageCaption<'a> { /* private fields */ }
Expand description
Edits the caption of a media message sent by the bot itself.
Reflects the editMessageCaption
method.
Implementations§
source§impl<'a> EditMessageCaption<'a>
impl<'a> EditMessageCaption<'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 EditMessageCaption<'_>
impl EditMessageCaption<'_>
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 EditMessageCaption<'a>
impl<'a> Clone for EditMessageCaption<'a>
source§fn clone(&self) -> EditMessageCaption<'a>
fn clone(&self) -> EditMessageCaption<'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