KeyboardButtonSwitchInline

---types---
keyboardButtonSwitchInline#991399fc same_peer:flags.0?true style:flags.10?KeyboardButtonStyle text:string query:string peer_types:flags.1?Vector<InlineQueryPeerType> = KeyboardButton

Belongs to

KeyboardButton

In Rust this constructor is a variant of the enums::KeyboardButton enum.
Match on it with: if let enums::KeyboardButton::KeyboardButtonSwitchInline(v) = result { ... }

Parameters

same_peertrueoptional
styleKeyboardButtonStyleoptional
textstringrequired
querystringrequired
peer_typesVector<InlineQueryPeerType>optional

Used by

RequestWebViewButton