03. User Channel operation - gappein/gappein-chat-sdk GitHub Wiki

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
}