pub struct EditMessageMedia { /* private fields */ }Expand description
Builder for the editMessageMedia method.
Edits the media content of a message (animation, audio, document, photo, or video).
Implementations§
Source§impl EditMessageMedia
impl EditMessageMedia
Sourcepub fn business_connection_id(self, id: impl Into<String>) -> Self
pub fn business_connection_id(self, id: impl Into<String>) -> Self
Business connection ID for editing a message sent on behalf of a business account.
Sourcepub fn reply_markup(self, m: InlineKeyboardMarkup) -> Self
pub fn reply_markup(self, m: InlineKeyboardMarkup) -> Self
Attaches a new inline keyboard to the message.
Trait Implementations§
Source§impl IntoFuture for EditMessageMedia
impl IntoFuture for EditMessageMedia
Source§type IntoFuture = Pin<Box<dyn Future<Output = <EditMessageMedia as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <EditMessageMedia 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 EditMessageMedia
impl !UnwindSafe for EditMessageMedia
impl Freeze for EditMessageMedia
impl Send for EditMessageMedia
impl Sync for EditMessageMedia
impl Unpin for EditMessageMedia
impl UnsafeUnpin for EditMessageMedia
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