fetch Users
abstract fun fetchUsers(channel: Channel, limit: Int = 100, offset: Int = 0, userTypes: List<ChannelUserAffiliationType>? = null, invitedUser: Boolean = false, listener: RainbowListener<List<ChannelUser>, Unit>? = null)
Fetch users from a given channel with specified limit and offset.
This api is available for channel's creator or subscribed users.
Parameters
channel
Channel object whose users are retrieved
limit
Int that allow to specify the number of reactions to retrieve (default value 100)
offset
Int Allow to specify the position of first channel to retrieve (default value 0)
user Types
List<ChannelUserAffiliationType> enumeration that allows filtering on the affiliation types (default value null)
invited User
Boolean that allows filtering on invitation state (default value false)
listener
RainbowListenerChannelUser>, Unit> callback (onSuccess, onError)