MadelineProtoDocs/old_docs/API_docs_v104/constructors/inputGameShortName.md

40 lines
821 B
Markdown
Raw Normal View History

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