1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-12 15:27:20 +01:00
MadelineProto/docs/API_docs/constructors/keyboardButtonSwitchInline.md

19 lines
459 B
Markdown

## Constructor: keyboardButtonSwitchInline
### 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 = ['same_peer' => Bool, 'text' => string, 'query' => string, ];
```