1.1 KiB
1.1 KiB
title | description | image |
---|---|---|
keyboardButtonSwitchInline | Keyboard button switch inline | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: keyboardButtonSwitchInline
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'}