ConversationFetchOptions class
~english The conversation filter class. ~end
~chinese 会话过滤类。 ~end
Constructors
- ConversationFetchOptions({int pageSize = 20, String? cursor})
-
~english
The constructor of ChatConversationFetchOptions.
pageSize
The page size of the conversation, when using page, the value range is1,50
, default is 20.cursor
The cursor of the conversation. ~end - ConversationFetchOptions.mark(ConversationMarkType mark, {int pageSize = 10, String? cursor})
- ~english The constructor of ChatConversationFetchOptions. Get marked conversation.
- ConversationFetchOptions.pinned({int pageSize = 20, String? cursor})
- ~english The constructor of ChatConversationFetchOptions. Get pinned conversation.
Properties
- cursor → String?
-
~english
The cursor of the conversation.
~end
~chinese
会话游标。
~end
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mark → ConversationMarkType?
-
~english
The mark type of the conversation.
~end
~chinese
会话标记类型。
~end
final
- pageSize → int
-
~english
The page size of the conversation, when using mark, the value range is
1,10
, default is 10. Otherwise, the value range is1,50
. ~end ~chinese 会话分页大小, 在使用mark时,取值范围为1,10
, 默认为10。否则,取值范围为1,50
, 默认为20。 ~endfinal - pinned → bool
-
~english
Whether to get pinned conversation.
~end
~chinese
是否获取置顶会话。
~end
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