1 | <?php |
||
21 | class SelectStaticGroupElement implements SectionBlockElementInterface, ActionsBlockElementInterface, InputBlockElementInterface |
||
22 | { |
||
23 | use MessageJsonSerializeTrait; |
||
24 | |||
25 | /** @var string */ |
||
26 | private $type; |
||
27 | /** @var PlainTextElement */ |
||
28 | private $placeholder; |
||
29 | /** @var string */ |
||
30 | private $actionId; |
||
31 | /** @var OptionObject */ |
||
32 | private $initialOption; |
||
33 | /** @var ConfirmationDialogObject */ |
||
34 | private $confirmDialog; |
||
35 | /** @var array|OptionGroupObject[] */ |
||
36 | private $optionGroups; |
||
37 | |||
38 | public function __construct(string $placeholder, string $actionId, OptionObject $initialOption = null, ConfirmationDialogObject $confirmDialog = null, OptionGroupObject ...$optionGroups) |
||
60 | } |
||
61 |