pub struct EditMessageReplyMarkup { /* private fields */ }Expand description
Builder for the editMessageReplyMarkup method.
Implementations§
Source§impl EditMessageReplyMarkup
impl EditMessageReplyMarkup
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.
Sourcepub fn business_connection_id(self, v: impl Into<String>) -> Self
pub fn business_connection_id(self, v: impl Into<String>) -> Self
Business connection ID for acting on behalf of a business account.
Trait Implementations§
Source§impl IntoFuture for EditMessageReplyMarkup
impl IntoFuture for EditMessageReplyMarkup
Source§type IntoFuture = Pin<Box<dyn Future<Output = <EditMessageReplyMarkup as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <EditMessageReplyMarkup 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 EditMessageReplyMarkup
impl !UnwindSafe for EditMessageReplyMarkup
impl Freeze for EditMessageReplyMarkup
impl Send for EditMessageReplyMarkup
impl Sync for EditMessageReplyMarkup
impl Unpin for EditMessageReplyMarkup
impl UnsafeUnpin for EditMessageReplyMarkup
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