MadelineProtoDocs/docs/API_docs/constructors/inputGameShortName.md
2024-05-01 14:53:46 +02:00

897 B

title description nav_exclude image
inputGameShortName Game by short name true 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, usually obtained from a game link »

Type: InputGame

Example:

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