Layer 220
constructor
inputGameShortName#c331e80a bot_id:InputUser short_name:string = InputGame;

Parameters

Name Type Description
BotId InputUser The bot that provides the game
ShortName string The game's short name, usually obtained from a game link

Returns

InputGame

Gogram Example

// Creating InputGameShortName constructor
obj := &tg.InputGameShortName{
    BotId: &tg.InputUserSelf{},
    ShortName: "...",
}