46 lines
965 B
Markdown
46 lines
965 B
Markdown
|
---
|
||
|
title: inputGameShortName
|
||
|
description: Game short name
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
---
|
||
|
# Constructor: inputGameShortName
|
||
|
[Back to constructors index](index.md)
|
||
|
|
||
|
|
||
|
|
||
|
Game short name
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|---------------|----------|-------------|
|
||
|
|bot\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | Optional|Bot ID|
|
||
|
|short\_name|[string](../types/string.md) | Yes|Short name|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [InputGame](../types/InputGame.md)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```php
|
||
|
$inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'short_name' => 'string'];
|
||
|
```
|
||
|
|
||
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||
|
|
||
|
```
|
||
|
{"_": "inputGameShortName", "bot_id": InputUser, "short_name": "string"}
|
||
|
```
|
||
|
|
||
|
|
||
|
Or, if you're into Lua:
|
||
|
|
||
|
```lua
|
||
|
inputGameShortName={_='inputGameShortName', bot_id=InputUser, short_name='string'}
|
||
|
|
||
|
```
|
||
|
|
||
|
|