pub struct SetChatMenuButton { /* private fields */ }Expand description
Builder for the setChatMenuButton method.
Changes the bot’s menu button in a private chat, or the default menu button.
Omit chat_id to change the default; omit menu_button to reset to MenuButtonDefault.
Implementations§
Trait Implementations§
Source§impl IntoFuture for SetChatMenuButton
impl IntoFuture for SetChatMenuButton
Source§type IntoFuture = Pin<Box<dyn Future<Output = <SetChatMenuButton as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <SetChatMenuButton 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 Freeze for SetChatMenuButton
impl !RefUnwindSafe for SetChatMenuButton
impl Send for SetChatMenuButton
impl Sync for SetChatMenuButton
impl Unpin for SetChatMenuButton
impl UnsafeUnpin for SetChatMenuButton
impl !UnwindSafe for SetChatMenuButton
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