pub struct EditEphemeralMessageText { /* private fields */ }Expand description
Builder for the editEphemeralMessageText method.
Note that it is not guaranteed that the user will receive the message edit event, especially if they are offline.
Implementations§
Source§impl EditEphemeralMessageText
impl EditEphemeralMessageText
Sourcepub fn parse_mode(self, m: ParseMode) -> Self
pub fn parse_mode(self, m: ParseMode) -> Self
Sets the parse mode for the message text.
Sourcepub fn entities(self, e: Vec<MessageEntity>) -> Self
pub fn entities(self, e: Vec<MessageEntity>) -> Self
Special entities in the message text, in place of parse_mode.
Sourcepub fn reply_markup(self, m: InlineKeyboardMarkup) -> Self
pub fn reply_markup(self, m: InlineKeyboardMarkup) -> Self
Attaches a reply markup (inline keyboard, reply keyboard, etc.).
Sourcepub fn link_preview_options(self, v: LinkPreviewOptions) -> Self
pub fn link_preview_options(self, v: LinkPreviewOptions) -> Self
Configures link preview generation options.
Trait Implementations§
Source§impl IntoFuture for EditEphemeralMessageText
impl IntoFuture for EditEphemeralMessageText
Source§type IntoFuture = Pin<Box<dyn Future<Output = <EditEphemeralMessageText as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <EditEphemeralMessageText as IntoFuture>::Output> + Send>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for EditEphemeralMessageText
impl !UnwindSafe for EditEphemeralMessageText
impl Freeze for EditEphemeralMessageText
impl Send for EditEphemeralMessageText
impl Sync for EditEphemeralMessageText
impl Unpin for EditEphemeralMessageText
impl UnsafeUnpin for EditEphemeralMessageText
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more