$this fields(array $fields) Set the fields of the attachment. Parameters array $fields Return Value $this
$this content(string $content) Set the content (text) of the attachment. Parameters string $content Return Value $this
SlackAttachment class SlackAttachment (View source) Properties string $title The attachment's title. string $url The attachment's URL. string $content The attachment's text content. array $fields The attachment's fields.
$this with(Action|string|array $line) Add a line of text to the notification. Parameters Action|string|array $line Return Value $this
array toArray() Get an array representation of the message. Return Value array
$this success() Indicate that the notification gives information about a successful operation. Return Value $this
$this subject(string $subject) Set the subject of the notification. Parameters string $subject Return Value $this
$this line(Action|string $line) Add a line of text to the notification. Parameters Action|string $line Return Value $this
$this level(string $level) Set the "level" of the notification (success, error, etc.). Parameters string $level Return Value $this
$this greeting(string $greeting) Set the greeting of the notification. Parameters string $greeting Return Value $this
Page 165 of 996