getUnreadChannels

public final Unit getUnreadChannels(List<ChannelType> channelTypes, OperationHandler<List<BaseChannel>> handler)

Gets channels that have unread messages.

Only supports ChannelType.DIRECT, ChannelType.GROUP, and ChannelType.SYSTEM. Open channel and community channel types are not supported.

Parameters

channelTypes

List of channel types to query

handler

Callback returning channels with unread messages on success