MadelineProtoDocs/old_docs/API_docs_v70/constructors/keyboardButtonSwitchInline.md

923 B

title description image
keyboardButtonSwitchInline Keyboard button switch inline https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: keyboardButtonSwitchInline

Back to constructors index

Keyboard button switch inline

Attributes:

Name Type Required Description
same_peer Bool Optional Same peer?
text string Yes Text
query string Yes Query

Type: KeyboardButton

Example:

$keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' => Bool, 'text' => 'string', 'query' => 'string'];

Or, if you're into Lua:

keyboardButtonSwitchInline={_='keyboardButtonSwitchInline', same_peer=Bool, text='string', query='string'}