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