Свойство | Тип | Описание | |
---|---|---|---|
$confirm | Confirmation field. | ||
$name | string | The required name field of the action. The name will be returned to your Action URL. | |
$style | string | Button style. | |
$text | string | The required label for the action. | |
$type | string | The required type of the action. | |
$value | string | Optional value. It will be sent to your Action URL. |
Метод | Описание | |
---|---|---|
__construct ( array $attributes ) : void | Instantiate a new AttachmentAction. | |
getConfirm ( ) : |
||
getName ( ) : string | ||
getStyle ( ) : string | ||
getText ( ) : string | ||
getType ( ) : string | ||
getValue ( ) : string | ||
setConfirm ( |
||
setName ( string $name ) : |
||
setStyle ( string $style ) : |
||
setText ( string $text ) : |
||
setType ( string $type ) : |
||
setValue ( string $value ) : |
||
toArray ( ) : array | Get the array representation of this attachment action. |
public __construct ( array $attributes ) : void | ||
$attributes | array | |
Результат | void |
public getConfirm ( ) : |
||
Результат |
public setConfirm ( |
||
$confirm | ||
Результат |
protected ActionConfirmation,Maknz\Slack $confirm | ||
Результат |
protected string $name | ||
Результат | string |
protected string $text | ||
Результат | string |
protected string $value | ||
Результат | string |