get Channels
public final Unit getChannels(List<ChannelIdentifier> identifiers, OperationHandler<List<BaseChannel>> handler)
Usage Example:
Parameters
message Ids
Message unique ID List, at most 20
val identifiers = listOf(
ChannelIdentifier(ChannelType.DIRECT, "userId1"),
ChannelIdentifier(ChannelType.GROUP, "groupId1")
)
BaseChannel.getChannels(identifiers) { channels, error ->
if (error == null && channels != null) {
}
}
}Content copied to clipboard
Get Including Unread messages Channel list. Only Supports private chat (ChannelType.DIRECT), group chat (ChannelType.GROUP),