Constructor: keyboardButtonSwitchInline

Back to constructors index

Keyboard button switch inline


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

Type: KeyboardButton


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

Or, if you’re into Lua:

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

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.