[NEW] User list in channel

There is a need for a list of online / offline users who joined the channel
@TheReal1604 The back-end guys are changing the API, so this will take a bit longer.
@rafaelks some news from the backend guys?
Yes, we already have the REST API for that.
Hi @rafaelks Can u share the API details to get user list
I am not able to get the list of users under channel. It gives following warning to me when i run the info API. "developerWarning=[WARNING]: The "usernames" field has been removed for performance reasons. Please use the "*.members" endpoint to get a list of members/users in a room"
@Jamirkhan50 These are the APIs that we're using:
fileprivate extension SubscriptionType {
var path: String {
switch self {
case .channel:
return "/api/v1/channels.members"
case .group:
return "/api/v1/groups.members"
case .directMessage:
return "/api/v1/dm.members"
}
}
}