UnreadMentionMeChannelsQuery

public final class UnreadMentionMeChannelsQuery implements PageableQuery<PageData<BaseChannel>>

Paginated query for channels that contain unread @me messages.

Implements the PageableQuery interface to provide paginated loading of channels that have unread messages mentioning the current user. Create an instance via BaseChannel.createUnreadMentionMeChannelsQuery.

Usage example:

val query = BaseChannel.createUnreadMentionMeChannelsQuery(
UnreadMentionMeChannelsParams(
channelTypes = listOf(ChannelType.GROUP, ChannelType.COMMUNITY)
)
)

// Load first page
query.loadNextPage { list, error ->
if (error == null && list != null) {
// Handle data
}
}

Parameters

params

Query parameters

Properties

Link copied to clipboard
private final Boolean isLoading

Functions

Link copied to clipboard
public Boolean isLoading()
Link copied to clipboard