MadelineProtoDocs/old_docs/API_docs_v95/constructors/inlineBotSwitchPM.md

40 lines
785 B
Markdown
Raw Normal View History

2019-03-29 21:12:30 +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'}
```