| 1 | <?php |
||
| 19 | class UploadStickerFile extends TelegramMethods |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * User identifier of sticker file owner |
||
| 23 | * @var string |
||
| 24 | */ |
||
| 25 | public $user_id = 0; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Png image with the sticker, must be up to 512 kilobytes in size, dimensions must not exceed 512px, and either |
||
| 29 | * width or height must be exactly 512px |
||
| 30 | * @var string|InputFile |
||
| 31 | */ |
||
| 32 | public $png_sticker; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Gets the name of all mandatory fields |
||
| 36 | * @return array |
||
| 37 | */ |
||
| 38 | public function getMandatoryFields(): array |
||
| 45 | |||
| 46 | public function hasLocalFiles(): bool |
||
| 50 | |||
| 51 | public function getLocalFiles(): Generator |
||
| 55 | } |
||
| 56 |