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