MadelineProtoDocs/old_docs/API_docs_v53/constructors/keyboardButtonSwitchInline.md

826 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
text string Yes Text
query string Yes Query

Type: KeyboardButton

Example:

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

Or, if you're into Lua:

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