ChannelListViewModelFactory

constructor(filter: FilterObject? = null, sort: QuerySorter<Channel> = ChannelListViewModel.DEFAULT_SORT, limit: Int = ChannelListViewModel.DEFAULT_CHANNEL_LIMIT, messageLimit: Int = ChannelListViewModel.DEFAULT_MESSAGE_LIMIT, memberLimit: Int = ChannelListViewModel.DEFAULT_MEMBER_LIMIT, chatEventHandlerFactory: ChatEventHandlerFactory = ChatEventHandlerFactory())

Parameters

filter

How to filter the channels.

sort

How to sort the channels, defaults to last_updated.

limit

How many channels to return.

memberLimit

The number of members per channel.

messageLimit

The number of messages to fetch for each channel.

chatEventHandlerFactory

The instance of ChatEventHandlerFactory that will be used to create ChatEventHandler.