Class SendGameType.
 Methods
create()
        
create(\TgBotApi\BotApiBase\Method\int $chatId, \TgBotApi\BotApiBase\Method\string $gameShortName, array $data = null) 
Static
Parameters
$chatId
$gameShortName
$data
Exceptions
\TgBotApi\BotApiBase\Exception\BadArgumentException | 
 | 
  
 
fill()
        
fill(array $data, array $forbidden = array()) 
Inherited
Parameters
$data
array
$forbidden
array
Exceptions
\TgBotApi\BotApiBase\Exception\BadArgumentException | 
 | 
  
 
 Properties
 
Optional. Pass True, if the message should be sent even if the specified replied-to message is not found.
$allowSendingWithoutReply : boolean | null
 
 
Optional. Sends the message silently. Users will receive a notification with no sound.
$disableNotification : boolean | null
 
 
Short name of the game, serves as the unique identifier for the game. Set up your games via Botfather.
$gameShortName : string
 
 
Optional. A JSON-serialized object for an inline keyboard. If empty, one 'Play game_title' button will be shown.
$replyMarkup : \TgBotApi\BotApiBase\Type\InlineKeyboardMarkupType | null
If not empty, the first button must launch the game.
 
 
 
Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard,
instructions to remove reply keyboard or to force a reply from the user.
$replyMarkup : \TgBotApi\BotApiBase\Type\InlineKeyboardMarkupType | \TgBotApi\BotApiBase\Type\ReplyKeyboardMarkupType | \TgBotApi\BotApiBase\Type\ReplyKeyboardRemoveType | \TgBotApi\BotApiBase\Type\ForceReplyType | null
 
 
Optional. If the message is a reply, ID of the original message.
$replyToMessageId : integer | null