1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-13 13:47:24 +01:00
MadelineProto/docs/API_docs/constructors/keyboardButtonSwitchInline.md
2016-12-19 20:56:05 +03:00

20 lines
496 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 = ['_' => keyboardButtonSwitchInline', 'same_peer' => true, 'text' => string, 'query' => string, ];
```