Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
enricocarraro opened this issue Aug 25, 2016 · 1 comment

Comments

@enricocarraro
Copy link

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
Copy link

I just do

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants