pub struct SwitchInlineQueryChosenChat {
pub query: Option<String>,
pub allow_user_chats: Option<bool>,
pub allow_bot_chats: Option<bool>,
pub allow_group_chats: Option<bool>,
pub allow_channel_chats: Option<bool>,
}Expand description
An inline button that switches the user to inline mode in a chosen chat.
Fields§
§query: Option<String>Optional. The default inline query.
allow_user_chats: Option<bool>Optional. True, if private chats with users can be chosen.
allow_bot_chats: Option<bool>Optional. True, if private chats with bots can be chosen.
allow_group_chats: Option<bool>Optional. True, if group and supergroup chats can be chosen.
allow_channel_chats: Option<bool>Optional. True, if channel chats can be chosen.
Trait Implementations§
Source§impl Clone for SwitchInlineQueryChosenChat
impl Clone for SwitchInlineQueryChosenChat
Source§impl Debug for SwitchInlineQueryChosenChat
impl Debug for SwitchInlineQueryChosenChat
Source§impl<'de> Deserialize<'de> for SwitchInlineQueryChosenChat
impl<'de> Deserialize<'de> for SwitchInlineQueryChosenChat
Source§fn 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
impl StructuralPartialEq for SwitchInlineQueryChosenChat
Auto Trait Implementations§
impl Forget for SwitchInlineQueryChosenChat
impl Freeze for SwitchInlineQueryChosenChat
impl Move for SwitchInlineQueryChosenChat
impl RefUnwindSafe for SwitchInlineQueryChosenChat
impl Send for SwitchInlineQueryChosenChat
impl Sync for SwitchInlineQueryChosenChat
impl Unpin for SwitchInlineQueryChosenChat
impl UnsafeUnpin for SwitchInlineQueryChosenChat
impl UnwindSafe for SwitchInlineQueryChosenChat
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