MadelineProtoDocs/old_docs/API_docs_v103/constructors/inlineBotSwitchPM.md

40 lines
785 B
Markdown
Raw Normal View History

2019-08-15 20:25:16 +02: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'}
```