InlineQueryResultGame
class InlineQueryResultGame implements InlineQueryResultInterface
Represents a Game.
Methods
__construct(string $type, string $id, string $game_short_name, InlineKeyboardMarkup|null $reply_markup = null)
No description
string
getType()
Type of the result, must be game.
string
getId()
Unique identifier for this result, 1-64 bytes.
string
getGameShortName()
Short name of the game.
InlineKeyboardMarkup|null
getReplyMarkup()
Optional. Inline keyboard attached to the message.
Details
at line 16
__construct(string $type, string $id, string $game_short_name, InlineKeyboardMarkup|null $reply_markup = null)
No description
at line 27
string
getType()
Type of the result, must be game.
at line 35
string
getId()
Unique identifier for this result, 1-64 bytes.
at line 43
string
getGameShortName()
Short name of the game.
at line 51
InlineKeyboardMarkup|null
getReplyMarkup()
Optional. Inline keyboard attached to the message.