MadelineProtoDocs/old_docs/API_docs_v81/constructors/keyboardButtonSwitchInline.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.1 KiB

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'];

PWRTelegram json-encoded version:

{"_": "keyboardButtonSwitchInline", "same_peer": Bool, "text": "string", "query": "string"}

Or, if you're into Lua:

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