UnreadMentionMeChannelsParams

Get @me Unread messages Channel list Query parameters.

Usage Example:

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

Whether pinned first.

Constructors

Properties

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

valid Value 1, 100, Default 20.

Link copied to clipboard
private Long timestamp

Pass 0 indicates Query latest When time channel,

Link copied to clipboard
private Boolean topPriority

Pass true indicates pinned channel priority Returns, Otherwise Result only by When time Sort.

Functions

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

valid Value 1, 100, Default 20.

Link copied to clipboard
public final Long getTimestamp()

Pass 0 indicates Query latest When time channel,

Link copied to clipboard
public final Boolean getTopPriority()

Pass true indicates pinned channel priority Returns, Otherwise Result only by When time Sort.

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

valid Value 1, 100, Default 20.

Link copied to clipboard
public final Unit setTimestamp(Long timestamp)

Pass 0 indicates Query latest When time channel,

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

Pass true indicates pinned channel priority Returns, Otherwise Result only by When time Sort.