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

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.