Function grammers_client::types::button::switch_inline

source ·
pub fn switch_inline<T: Into<String>, Q: Into<String>>(
    text: T,
    query: Q
) -> Inline
Expand description

An inline button to force the user to switch to inline mode (perform inline queries).

Pressing the button will insert the bot’s username and the specified inline query in the input field.