SlackWebhookChannel
class SlackWebhookChannel
Methods
__construct(Client $client)
Create a new Slack channel instance.
ResponseInterface|null
array
array
array
Details
at line 21
__construct(Client $client)
Create a new Slack channel instance.
at line 29
ResponseInterface|null
send(mixed $notifiable, Notification $notification)
Send the given notification.
at line 47
array
buildJsonPayload(SlackMessage $message)
Build up a JSON payload for the Slack webhook.
at line 70
protected array
attachments(SlackMessage $message)
Format the message's attachments.
at line 99
protected array
fields(SlackAttachment $attachment)
Format the attachment's fields.