MadelineProtoDocs/old_docs/API_docs_v68/constructors/inputGameShortName.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

965 B

title description image
inputGameShortName Game short name https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputGameShortName

Back to constructors index

Game short name

Attributes:

Name Type Required Description
bot_id Username, chat ID, Update, Message or InputUser Optional Bot ID
short_name string Yes Short name

Type: InputGame

Example:

$inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'short_name' => 'string'];

PWRTelegram json-encoded version:

{"_": "inputGameShortName", "bot_id": InputUser, "short_name": "string"}

Or, if you're into Lua:

inputGameShortName={_='inputGameShortName', bot_id=InputUser, short_name='string'}