| Total Complexity | 1 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class UploadStickerFileMethod |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * User identifier of sticker file owner. |
||
| 21 | * |
||
| 22 | * @var int |
||
| 23 | */ |
||
| 24 | public $userId; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Png image with the sticker, must be up to 512 kilobytes in size, dimensions must not exceed 512px, |
||
| 28 | * and either width or height must be exactly 512px. |
||
| 29 | * |
||
| 30 | * @var InputFileType |
||
| 31 | */ |
||
| 32 | public $pngSticker; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * UploadStickerFileMethod constructor. |
||
| 36 | * |
||
| 37 | * @param int $userId |
||
| 38 | * @param InputFileType $pngSticker |
||
| 39 | */ |
||
| 40 | public function __construct(int $userId, InputFileType $pngSticker) |
||
| 46 |