Expand description
A button that forces an inline query to the bot to be inserted in the input field
Fields
query: String
Inline query to be sent to the bot
in_current_chat: bool
True, if the inline query should be sent from the current chat
Trait Implementations
sourceimpl Clone for InlineKeyboardButtonTypeSwitchInline
impl Clone for InlineKeyboardButtonTypeSwitchInline
sourcefn clone(&self) -> InlineKeyboardButtonTypeSwitchInline
fn clone(&self) -> InlineKeyboardButtonTypeSwitchInline
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'de> Deserialize<'de> for InlineKeyboardButtonTypeSwitchInline
impl<'de> Deserialize<'de> for InlineKeyboardButtonTypeSwitchInline
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for InlineKeyboardButtonTypeSwitchInline
impl Send for InlineKeyboardButtonTypeSwitchInline
impl Sync for InlineKeyboardButtonTypeSwitchInline
impl Unpin for InlineKeyboardButtonTypeSwitchInline
impl UnwindSafe for InlineKeyboardButtonTypeSwitchInline
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more