MadelineProto/docs/API_docs/constructors/keyboardButtonSwitchInline.md

29 lines
653 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, ];
```