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

do something with message responses #17

Open
nwilging opened this issue Apr 23, 2022 · 0 comments
Open

do something with message responses #17

nwilging opened this issue Apr 23, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@nwilging
Copy link
Owner

Currently message responses are unhandled, e.g. - https://github.com/nwilging/laravel-slack-bot/blob/develop/src/Services/SlackApiService.php#L104

In the case of a request failure an exception would be thrown, these should not be caught by the package. However slack often sends back validation related messages in valid 200 responses, so it would be useful to return something from these messaging methods that consumers can use.

@nwilging nwilging added the enhancement New feature or request label Apr 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant