MadelineProtoDocs/old_docs/API_docs_v55/constructors/inlineBotSwitchPM.md
Sean 4baac3178e Add Syntax Highlight for Markdown
Add PHP, Lua language tag to Code area
2018-10-18 00:30:20 +08:00

44 lines
885 B
Markdown

---
title: inlineBotSwitchPM
description: inlineBotSwitchPM attributes, type and example
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: inlineBotSwitchPM
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|text|[string](../types/string.md) | Yes|
|start\_param|[string](../types/string.md) | Yes|
### Type: [InlineBotSwitchPM](../types/InlineBotSwitchPM.md)
### Example:
```php
$inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_param' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inlineBotSwitchPM", "text": "string", "start_param": "string"}
```
Or, if you're into Lua:
```lua
inlineBotSwitchPM={_='inlineBotSwitchPM', text='string', start_param='string'}
```