MadelineProtoDocs/old_docs/API_docs_v104/constructors/keyboardButtonSwitchInline.md
2019-08-15 20:25:16 +02:00

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'}