GetChannels for public channels does not return member list like direct channels

GetChannels via the API and SDK does not return the members for public channels like it does direct channels. I understand this difference is probably due to direct channels having a max member count but it would be nice if this was documented somewhere as I spent a while trying to figure out what was happening after switching from direct to public channels.

Hey @kmystic524,

Yeah, you’re correct. Since public channels can have up to hundreds of thousands of members, the member list isn’t directly embedded in the channel object. Instead to fetch the channel members, you’ll need to use kitty.getChannelMembers({ channel }).

I’ll document this on the official ChatKitty docs. :+1:

1 Like