Struct tbot::methods::EditMessageText
source · pub struct EditMessageText<'a> { /* private fields */ }
Expand description
Edits the text of a message sent by the bot itself.
Reflects the editMessageText
method.
Implementations§
source§impl<'a> EditMessageText<'a>
impl<'a> EditMessageText<'a>
sourcepub const fn is_web_page_preview_disabled(self, is_disabled: bool) -> Self
pub const fn is_web_page_preview_disabled(self, is_disabled: bool) -> Self
Configures whether a preview for the first link in the message should be
shown. Reflects the disable_web_page_preview
parameter.
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 EditMessageText<'_>
impl EditMessageText<'_>
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 EditMessageText<'a>
impl<'a> Clone for EditMessageText<'a>
source§fn clone(&self) -> EditMessageText<'a>
fn clone(&self) -> EditMessageText<'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