class SlackRoute

Properties

string|null $channel

The channel to send the notification to.

string|null $token

The OAuth "workspace" token to use for sending the notification.

Methods

__construct(string|null $channel = null, string|null $token = null)

Create a new Slack route instance.

static SlackRoute
make(string|null $channel = null, string|null $token = null)

Fluently create a new Slack route instance.

Details

at line 26
__construct(string|null $channel = null, string|null $token = null)

Create a new Slack route instance.

Parameters

string|null $channel
string|null $token

at line 35
static SlackRoute make(string|null $channel = null, string|null $token = null)

Fluently create a new Slack route instance.

Parameters

string|null $channel
string|null $token

Return Value

SlackRoute