| Total Complexity | 2 |
| Total Lines | 34 |
| 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 | * InlineQueryResultCachedStickerType constructor. |
||
| 35 | * |
||
| 36 | * @param string $id |
||
| 37 | * @param string $stickerFileId |
||
| 38 | * @param array|null $data |
||
| 39 | * |
||
| 40 | * @throws \Greenplugin\TelegramBot\Exception\BadArgumentException |
||
| 41 | */ |
||
| 42 | public function __construct(string $id, string $stickerFileId, array $data = null) |
||
| 52 |