Total Complexity | 2 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
14 | class InlineQueryResultGameType extends InlineQueryResultType |
||
15 | { |
||
16 | use FillFromArrayTrait; |
||
17 | |||
18 | /** |
||
19 | * Short name of the game. |
||
20 | * |
||
21 | * @var string |
||
22 | */ |
||
23 | public $gameShortName; |
||
24 | |||
25 | /** |
||
26 | * @param string $id |
||
27 | * @param string $gameShortName |
||
28 | * @param array|null $data |
||
29 | * |
||
30 | * @throws \TgBotApi\BotApiBase\Exception\BadArgumentException |
||
31 | * |
||
32 | * @return InlineQueryResultGameType |
||
33 | */ |
||
34 | public static function create(string $id, string $gameShortName, array $data = null): InlineQueryResultGameType |
||
47 |