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

Parameters

string $type
string $id
string $game_short_name
InlineKeyboardMarkup|null $reply_markup

at line 27
string getType()

Type of the result, must be game.

Return Value

string

at line 35
string getId()

Unique identifier for this result, 1-64 bytes.

Return Value

string

at line 43
string getGameShortName()

Short name of the game.

Return Value

string

at line 51
InlineKeyboardMarkup|null getReplyMarkup()

Optional. Inline keyboard attached to the message.

Return Value

InlineKeyboardMarkup|null