AIAgentGroupChannelListQuery

A class representing query to retrieve GroupChannel list for the current User.

Currently, 1 kind of GroupChannel list can be queried.

The query can be get by calling SendbirdChat.AIAgent.createMyGroupChannelListQuery.

Properties

Link copied to clipboard

The filter applied to AI agent channels. It determines whether to include or exclude AI agent channels in the query results.

Link copied to clipboard

The filter applied to AI agent conversation statuses. It allows filtering channels based on the status of their conversations.

Link copied to clipboard

The list of AI agent IDs to filter the channels. Only channels associated with these AI agents will be included in the results.

Link copied to clipboard

The filter applied to Desk channels. It determines whether to include or exclude Desk channels in the query results.

Link copied to clipboard
open override var hasNext: Boolean

Whether there is a next page.

Link copied to clipboard
open override var isLoading: Boolean

Indicates whether the query is currently loading channels.

Link copied to clipboard

The timestamp of the last response received from the server. This timestamp is updated each time a new page of channels is fetched. Use internal only

Link copied to clipboard
open override val limit: Int

Returns the maximum number of channels to load per page. This value is set when the query is created and determines how many channels will be returned in each response.

Link copied to clipboard

The list of pinned channel URLs. These channels are prioritized in the query results.

Functions

Link copied to clipboard
open override fun belongsTo(channel: GroupChannel): Boolean

Checks if the given GroupChannel belongs to this query based on the current parameters. This method evaluates the channel against the filters set in the query parameters.

Link copied to clipboard
open override fun next(handler: GroupChannelsCallbackHandler?)

Gets the list of GroupChannels. The queried result is passed to handler as list.

Link copied to clipboard
open override fun toString(): String