MadelineProtoDocs/docs/API_docs/constructors/inputGameShortName.md

40 lines
821 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'];
```
Or, if you're into Lua:
```lua
inputGameShortName={_='inputGameShortName', bot_id=InputUser, short_name='string'}
```