MadelineProtoDocs/old_docs/API_docs_v104/constructors/inputGameShortName.md
2019-12-27 17:48:04 +01: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'}