MadelineProto/docs/API_docs/constructors/keyboardButtonSwitchInline.md
2016-12-20 13:32:11 +01:00

27 lines
648 B
Markdown

---
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|
|text|[string](../types/string.md) | Required|
|query|[string](../types/string.md) | Required|
### Type: [KeyboardButton](../types/KeyboardButton.md)
### Example:
```
$keyboardButtonSwitchInline = ['_' => keyboardButtonSwitchInline', 'same_peer' => true, 'text' => string, 'query' => string, ];
```