MadelineProtoDocs/docs/API_docs/constructors/inputGameShortName.md
2024-05-01 14:53:46 +02:00

31 lines
897 B
Markdown

---
title: "inputGameShortName"
description: "Game by short name"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: inputGameShortName
[Back to constructors index](/API_docs/constructors/index.html)
Game by short name
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|bot\_id|[Username, chat ID, Update, Message or InputUser](/API_docs/types/InputUser.html) | Optional|The bot that provides the game|
|short\_name|[string](/API_docs/types/string.html) | Yes|The game's short name, usually obtained from a [game link »](https://core.telegram.org/api/links#game-links)|
### Type: [InputGame](/API_docs/types/InputGame.html)
### Example:
```
$inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'short_name' => 'string'];
```