Link Search Menu Expand Document

Constructor: inputGameShortName

Back to constructors index

Game by short name

Attributes:

NameTypeRequiredDescription
bot_idUsername, chat ID, Update, Message or InputUserOptionalThe bot that provides the game
short_namestringYesThe game’s short name, usually obtained from a game link »

Type: InputGame

Example:

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