Total Complexity | 2 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
15 | class InlineQueryResultCachedStickerType extends InlineQueryResultType |
||
16 | { |
||
17 | use FillFromArrayTrait; |
||
18 | |||
19 | /** |
||
20 | * A valid file identifier of the sticker. |
||
21 | * |
||
22 | * @var string |
||
23 | */ |
||
24 | public $stickerFileId; |
||
25 | |||
26 | /** |
||
27 | * Optional. Content of the message to be sent instead of the sticker. |
||
28 | * |
||
29 | * @var InputMessageContentType|null |
||
30 | */ |
||
31 | public $inputMessageContent; |
||
32 | |||
33 | /** |
||
34 | * @param string $id |
||
35 | * @param string $stickerFileId |
||
36 | * @param array|null $data |
||
37 | * |
||
38 | * @throws \TgBotApi\BotApiBase\Exception\BadArgumentException |
||
39 | * |
||
40 | * @return InlineQueryResultCachedStickerType |
||
41 | */ |
||
42 | public static function create( |
||
58 |