-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[Patch] Mute and unmute requests #818
base: master
Are you sure you want to change the base?
Conversation
15e510e
to
5e67b9b
Compare
@kanata2
|
} | ||
response := UserPrefsCarrier{} | ||
|
||
err = api.postMethod(ctx, "users.prefs.set", values, &response) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this exist? I could not find Slack's documentation...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
User preferences is part of the "undocumented" Slack API found here.
I've tested this in production and it is working as expected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
undocumented"
Ah, thanks 😢
PR Content: