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

Returns the token for the next page of results. This token is used to fetch the next set of channels. If the token is empty, it indicates that there are no more channels to fetch.

Link copied to clipboard

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
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

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

Fetches the next page of GroupChannels asynchronously. If the query is already loading or there are no more channels to fetch, it will return immediately with an error or an empty list.

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