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

addMembers #68

Closed
originalgovernment opened this issue Aug 4, 2020 · 2 comments
Closed

addMembers #68

originalgovernment opened this issue Aug 4, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@originalgovernment
Copy link

originalgovernment commented Aug 4, 2020

Hi,

I'm currently trying to figure out how to add members to a channel.

This is the call I'm making but it seems to be resulting in a Dio related error (unable to encode an object)

I'm not really sure if I'm calling the function incorrectly or if this is a problem with Stream Chat. I'd really appreciate any guidance!

Please let me know if you need to see more of my code.

image

image

Also it seems the Dart docs are outdated, the way addMembers is called here seems incorrect.

image

gz#5163

@imtoori imtoori self-assigned this Aug 5, 2020
@imtoori imtoori added the bug Something isn't working label Aug 5, 2020
@imtoori
Copy link
Contributor

imtoori commented Aug 5, 2020

hey @originalgovernment you were right
I just released a new version.
Now you can pass a list of userIds like the documentation says.
Thanks for the reporting

@imtoori imtoori closed this as completed Aug 5, 2020
@originalgovernment
Copy link
Author

Just tried it, it's working perfectly now.

Thank you for your quick response and for patching it!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants