pub struct EditEphemeralMessageReplyMarkup { /* private fields */ }Expand description
Builder for the editEphemeralMessageReplyMarkup method.
Note that it is not guaranteed that the user will receive the message edit event, especially if they are offline.
Implementations§
Source§impl EditEphemeralMessageReplyMarkup
impl EditEphemeralMessageReplyMarkup
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 remove_markup(self) -> Self
pub fn remove_markup(self) -> Self
Removes the inline keyboard from the message.
Trait Implementations§
Source§impl IntoFuture for EditEphemeralMessageReplyMarkup
impl IntoFuture for EditEphemeralMessageReplyMarkup
Source§type IntoFuture = Pin<Box<dyn Future<Output = <EditEphemeralMessageReplyMarkup as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <EditEphemeralMessageReplyMarkup 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 EditEphemeralMessageReplyMarkup
impl !UnwindSafe for EditEphemeralMessageReplyMarkup
impl Freeze for EditEphemeralMessageReplyMarkup
impl Send for EditEphemeralMessageReplyMarkup
impl Sync for EditEphemeralMessageReplyMarkup
impl Unpin for EditEphemeralMessageReplyMarkup
impl UnsafeUnpin for EditEphemeralMessageReplyMarkup
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