46 lines
926 B
Markdown
46 lines
926 B
Markdown
|
---
|
||
|
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'];
|
||
|
```
|
||
|
|
||
|
[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'}
|
||
|
|
||
|
```
|
||
|
|
||
|
|