ConversationFetchOptions class

The conversation filter class.

Constructors

ConversationFetchOptions({int pageSize = 20, String? cursor})
The constructor of ChatConversationFetchOptions. pageSize The page size of the conversation, when using page, the value range is 1,50, default is 20. cursor The cursor of the conversation.
ConversationFetchOptions.mark(ConversationMarkType mark, {int pageSize = 10, String? cursor})
The constructor of ChatConversationFetchOptions. Get marked conversation.
ConversationFetchOptions.pinned({int pageSize = 20, String? cursor})
The constructor of ChatConversationFetchOptions. Get pinned conversation.

Properties

cursor → String?
The cursor of the conversation.
final
hashCode → int
The hash code for this object.
no setterinherited
mark → ConversationMarkType?
The mark type of the conversation.
final
pageSize → int
The page size of the conversation, when using mark, the value range is 1,10, default is 10. Otherwise, the value range is 1,50.
final
pinned → bool
Whether to get pinned conversation.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? cursor}) → ConversationFetchOptions
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map
toString() → String
A string representation of this object.
inherited

Operators

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