MadelineProtoDocs/docs/API_docs/constructors/inputGameShortName.md

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'}