2017-01-25 23:16:22 +01:00
|
|
|
---
|
|
|
|
title: keyboardButtonSwitchInline
|
|
|
|
description: keyboardButtonSwitchInline attributes, type and example
|
|
|
|
---
|
|
|
|
## Constructor: keyboardButtonSwitchInline
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required |
|
|
|
|
|----------|:-------------:|---------:|
|
|
|
|
|same\_peer|[Bool](../types/Bool.md) | Optional|
|
2017-03-11 19:54:51 +01:00
|
|
|
|text|[string](../types/string.md) | Yes|
|
|
|
|
|query|[string](../types/string.md) | Yes|
|
2017-01-25 23:16:22 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [KeyboardButton](../types/KeyboardButton.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```
|
|
|
|
$keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' => true, 'text' => string, 'query' => string, ];
|
|
|
|
```
|
|
|
|
|
2017-03-11 19:54:51 +01:00
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
keyboardButtonSwitchInline={_='keyboardButtonSwitchInline', same_peer=true, text=string, query=string, }
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|