-
Notifications
You must be signed in to change notification settings - Fork 17
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
chat.postMessage checkResponse() failed "invalid_arguments" #11
Comments
I was getting this, too. I tried editing the slacking.hpp to be in verbose mode and found that this is the error: The error is because slack deprecated the use of as_user for chat.postMessage for new slack apps. In my case, I actually wanted to use webhooks ( Here's how to set up a webhook ) |
Hello, thanks for the issue and the workaround. |
This PR should fix the issue and you will be able to use postMessage as before ! Indeed, the "as_user" is now deprecated, I just removed it from slacking.hpp. |
And sorry for the late reply guys! |
Why is this error happening? Do I need to add something else?
My code:
The text was updated successfully, but these errors were encountered: