MadelineProtoDocs/old_docs/API_docs_v82/constructors/inlineBotSwitchPM.md

40 lines
785 B
Markdown
Raw Normal View History

2018-12-26 02:56:50 +01:00
---
title: inlineBotSwitchPM
description: Inline bot switch pm
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: inlineBotSwitchPM
[Back to constructors index](index.md)
Inline bot switch pm
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|text|[string](../types/string.md) | Yes|Text|
|start\_param|[string](../types/string.md) | Yes|Start param|
### Type: [InlineBotSwitchPM](../types/InlineBotSwitchPM.md)
### Example:
```php
$inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => 'string', 'start_param' => 'string'];
```
Or, if you're into Lua:
```lua
inlineBotSwitchPM={_='inlineBotSwitchPM', text='string', start_param='string'}
```