maknz / slack-laravel

Laravel integration for the maknz/slack package
BSD 2-Clause "Simplified" License
155 stars 115 forks source link

Is there a way to change endpoint of the incoming webhook for different teams? #4

Open enricocarraro opened 8 years ago

enricocarraro commented 8 years ago

Since each team in slack generates different incoming webhook for each app, is there a way this package can manage to change the endpoint for different users? I see that on Slack for PHP it's possible, but here you have just one preconfigured endpoint in the config/slack.php file. Am I getting something wrong?

Thank you!

OwenMelbz commented 7 years ago

I just do

Slack::setEndpoint($webhook->url);
Slack::to($webhook->channel)->send('testing');