UnreadMentionMeChannelsQueryParams

Query parameters for channels with unread @me messages.

Usage Example:

val params = UnreadMentionMeChannelsQueryParams(
channelTypes = listOf(ChannelType.GROUP, ChannelType.COMMUNITY)
).apply {
topPriority = true
pageSize = 20
}
val query = BaseChannel.createUnreadMentionMeChannelsQuery(params)
query.loadNextPage { channels, error ->
// ...
}

Parameters

channelTypes

List of channel types to query.

Properties

Link copied to clipboard
private final List<ChannelType> channelTypes
Link copied to clipboard
private Integer pageSize

Number of items per page. Valid range: 1, 100. Defaults to 20.

Link copied to clipboard
private Long startTime

Start timestamp (milliseconds) for the query.

Link copied to clipboard
private Boolean topPriority

Whether pinned channels are returned first.

Functions

Link copied to clipboard
public final List<ChannelType> getChannelTypes()
Link copied to clipboard
public final Integer getPageSize()

Number of items per page. Valid range: 1, 100. Defaults to 20.

Link copied to clipboard
public final Long getStartTime()

Start timestamp (milliseconds) for the query.

Link copied to clipboard
public final Boolean getTopPriority()

Whether pinned channels are returned first.

Link copied to clipboard
public final Unit setPageSize(Integer pageSize)

Number of items per page. Valid range: 1, 100. Defaults to 20.

Link copied to clipboard
public final Unit setStartTime(Long startTime)

Start timestamp (milliseconds) for the query.

Link copied to clipboard
public final Unit setTopPriority(Boolean topPriority)

Whether pinned channels are returned first.