MadelineProtoDocs/old_docs/API_docs_v38/constructors/inputGameShortName.md
2020-06-16 17:50:25 +02:00

862 B

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

Constructor: inputGameShortName

Back to constructors index

Game by short name

Attributes:

Name Type Required Description
bot_id Username, chat ID, Update, Message or InputUser Optional The bot that provides the game
short_name string Yes The game's short name

Type: InputGame

Example:

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

Or, if you're into Lua:

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