Class UnreadMentionMeChannelsQuery

  • All Implemented Interfaces:
    ai.nexconn.chat.internal.query.PageableQuery

    
    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
        }
    }
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final Boolean isLoading
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description