1.2 KiB
1.2 KiB
title | description |
---|---|
inputInlineQueryResultGame | Represents a game |
Constructor: inputInlineQueryResultGame
Represents a game
Attributes:
Name | Type | Required | Description |
---|---|---|---|
id | string | Yes | Unique identifier of this result |
game_short_name | string | Yes | Game short name |
reply_markup | ReplyMarkup | Yes | Message reply markup, should be of type replyMarkupInlineKeyboard or null |
Type: InputInlineQueryResult
Example:
$inputInlineQueryResultGame = ['_' => 'inputInlineQueryResultGame', 'id' => 'string', 'game_short_name' => 'string', 'reply_markup' => ReplyMarkup];
PWRTelegram json-encoded version:
{"_": "inputInlineQueryResultGame", "id": "string", "game_short_name": "string", "reply_markup": ReplyMarkup}
Or, if you're into Lua:
inputInlineQueryResultGame={_='inputInlineQueryResultGame', id='string', game_short_name='string', reply_markup=ReplyMarkup}
Usage of reply_markup
You can provide bot API reply_markup objects here.