$this http(array $options) Set additional request options for the Guzzle HTTP client. Parameters array $options Return Value $this
$this to(string $channel) Set the Slack channel the message should be sent to. Parameters string $channel Return Value $this
ResponseInterface send(mixed $notifiable, Notification $notification) Send the given notification. Parameters mixed $notifiable Notification $notification Return Value ResponseInterface
$this content(string $content) Set the content of the Slack message. Parameters string $content Return Value $this
string color() Get the color for the message. Return Value string
$this error() Indicate that the notification gives information about an error. Return Value $this
$this from(string $username, string|null $icon = null) Set a custom user icon for the Slack message. Parameters string $username string|null $icon Return Value $this
$this attachment(Closure $callback) Define an attachment for the message. Parameters Closure $callback 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
Page 164 of 996