Struct grammers_client::types::reply_markup::ForceReply
source · pub struct ForceReply { /* private fields */ }
Expand description
Structure holding the state for reply markups that force a reply.
See force_reply
for usage examples.
Implementations§
source§impl ForceReply
impl ForceReply
sourcepub fn single_use(self) -> Self
pub fn single_use(self) -> Self
Requests clients to hide the keyboard as soon as it’s been used.
The keyboard will still be available, but clients will automatically display the usual letter-keyboard in the chat – the user can press a special button in the input field to see the custom keyboard again.
Trait Implementations§
source§impl ReplyMarkup for ForceReply
impl ReplyMarkup for ForceReply
fn to_reply_markup(&self) -> Markup
Auto Trait Implementations§
impl Freeze for ForceReply
impl RefUnwindSafe for ForceReply
impl Send for ForceReply
impl Sync for ForceReply
impl Unpin for ForceReply
impl UnwindSafe for ForceReply
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