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:
|
|
|
|
|
|
|
|
```
|
2017-03-11 20:06:30 +01:00
|
|
|
$keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' => Bool, 'text' => string, 'query' => string, ];
|
2017-01-25 23:16:22 +01:00
|
|
|
```
|
|
|
|
|
2017-03-11 19:54:51 +01:00
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
|
|
|
|
```
|
2017-03-11 20:06:30 +01:00
|
|
|
keyboardButtonSwitchInline={_='keyboardButtonSwitchInline', same_peer=Bool, text=string, query=string, }
|
2017-03-11 19:54:51 +01:00
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|