Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

03. User Channel operation

Himanshu Singh edited this page Oct 31, 2020 · 2 revisions

Case 01.

To get all the channels of current user,

ChatClient.getInstance().getUserChannels { channels->
  //Handles the channel like displaying in the recyclerview
}

Case 02.

To get the participant user of channel use,

ChatClient.getInstance().getChannelRecipientUser(channelId) {user->
//Get the user object
}