| 1 | <?php |
||
| 18 | class PlainTextInputElement implements SectionBlockElementInterface |
||
| 19 | { |
||
| 20 | use MessageJsonSerializeTrait; |
||
| 21 | |||
| 22 | /** @var string */ |
||
| 23 | private $type; |
||
| 24 | /** @var string */ |
||
| 25 | private $actionId; |
||
| 26 | /** @var PlainTextElement */ |
||
| 27 | private $placeholder; |
||
| 28 | /** @var string */ |
||
| 29 | private $initialValue; |
||
| 30 | /** @var bool */ |
||
| 31 | private $multiline; |
||
| 32 | /** @var int */ |
||
| 33 | private $minLength; |
||
| 34 | /** @var int */ |
||
| 35 | private $maxLength; |
||
| 36 | |||
| 37 | public function __construct(string $actionId, string $placeholder = '', string $initialValue = '', bool $multiline = false, int $minLength = 1, int $maxLength = 3000) |
||
| 54 | } |
||
| 55 |