1 | <?php |
||
20 | class ButtonElement implements SectionBlockElementInterface, ActionsBlockElementInterface |
||
21 | { |
||
22 | use MessageJsonSerializeTrait; |
||
23 | |||
24 | /** @var string */ |
||
25 | private $type; |
||
26 | /** @var PlainTextElement */ |
||
27 | private $text; |
||
28 | /** @var string */ |
||
29 | private $actionId; |
||
30 | /** @var ButtonStyleEnum|null */ |
||
31 | private $style; |
||
32 | /** @var ConfirmationDialogObject|null */ |
||
33 | private $confirm; |
||
34 | /** @var string */ |
||
35 | private $value; |
||
36 | /** @var string */ |
||
37 | private $url; |
||
38 | |||
39 | 2 | public function __construct(string $text, string $actionId, ButtonStyleEnum $style = null, ConfirmationDialogObject $confirm = null, string $value = '', string $url = '') |
|
62 | } |
||
63 |