ConversationsRequest class

A request object for fetching conversations.

Properties

conversationType → String?
Type of the conversation.
final
groupTags → List<String>?
GroupTags for filtering.
final
hashCode → int
The hash code for this object.
no setterinherited
hideAgentic → bool?
Flag to hide agentic conversations from the results.
final
includeBlockedUsers → bool?
Flag to include blocked users.
final
init ↔ bool?
Initial request flag.
getter/setter pair
key ↔ String?
Key for pagination.
getter/setter pair
limit → int?
Number of results to limit the query.
final
onlyAgentic → bool?
Flag to include only agentic conversations in the results.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
searchKeyword → String?
Searching in conversation
final
setPage → int?
SetPage for fetching conversations from particular page.
final
tags → List<String>?
Tags for filtering.
final
unread → bool?
Flog to include unread conversations.
final
userTags → List<String>?
UserTags for filtering.
final
withBlockedInfo → bool?
Flag to include blocked information.
final
withTags → bool?
Flag to include tags.
final
withUserAndGroupTags → bool?
Flag to include user and group tags.
final

Methods

fetchNext({required dynamic onSuccess(List<Conversation> message)?, required dynamic onError(CometChatException excep)?}) → Future<List<Conversation>>
Returns a list of Conversation object fetched after putting the filters.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

defaultLimit → const int
Default limit for the number of results.
maxLimit → const int
Maximum limit for the number of results.