Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F630299
InlineQueryResultGame.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
InlineQueryResultGame.php
View Options
<?php
/**
* This file is part of the TelegramBot package.
*
* (c) Avtandil Kikabidze aka LONGMAN <akalongman@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace
Longman
\
TelegramBot
\
Entities
\
InlineQuery
;
use
Longman
\
TelegramBot
\
Entities
\
InlineKeyboard
;
/**
* Class InlineQueryResultGame
*
* @link https://core.telegram.org/bots/api#inlinequeryresultgame
*
* <code>
* $data = [
* 'id' => '',
* 'game_short_name' => '',
* 'reply_markup' => <InlineKeyboard>,
* ];
* </code>
*
* @method string getType() Type of the result, must be game
* @method string getId() Unique identifier for this result, 1-64 bytes
* @method string getGameShortName() Short name of the game
* @method InlineKeyboard getReplyMarkup() Optional. Inline keyboard attached to the message
*
* @method $this setId(string $id) Unique identifier for this result, 1-64 bytes
* @method $this setGameShortName(string $game_short_name) Short name of the game
* @method $this setReplyMarkup(InlineKeyboard $reply_markup) Optional. Inline keyboard attached to the message
*/
class
InlineQueryResultGame
extends
InlineEntity
implements
InlineQueryResult
{
/**
* InlineQueryResultGame constructor
*
* @param array $data
*/
public
function
__construct
(
array
$data
=
[
]
)
{
$data
[
'type'
]
=
'game'
;
parent
::
__construct
(
$data
)
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Nov 15, 9:10 AM (1 d, 21 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
113573
Default Alt Text
InlineQueryResultGame.php (1 KB)
Attached To
Mode
R123 php-telegram-bot
Attached
Detach File
Event Timeline