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

Provide additional documentation on reading profile's custom fields #1002

Open
aokomorowski opened this issue Nov 25, 2021 · 1 comment
Open

Comments

@aokomorowski
Copy link

Description

Hey, great job on this library, but to be honest I've found myself a little lost.
I'm trying to retrieve custom fields on the user's profile. I've followed the discussion from #298 mentioned in the documentation, but I don't understand where I can take these fields from as userProfile.Fields.ToMap() appears to be empty (I've checked the API response by curl, it does return these fields).

I'd be extremely grateful for any tips or help.

(Optional) Slack's documentation

@aokomorowski
Copy link
Author

Okay, I took a deeper look into the code and it seems like slack.Client.GetUsers() function uses users.list method which doesn't return custom fields.

https://api.slack.com/methods/users.list#profile

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

1 participant