ConversationFetchOptions class

~english The conversation filter class. ~end

~chinese 会话过滤类。 ~end

Constructors

ConversationFetchOptions.new({int pageSize = 20, String? cursor})
~english The constructor of ConversationFetchOptions. pageSize The number of conversations to retrieve per page. The value range is 1,50, with 20 as the default. cursor The cursor to specify where to start retrieving conversations. ~end
ConversationFetchOptions.mark(ConversationMarkType mark, {int pageSize = 10, String? cursor})
~english The constructor of ConversationFetchOptions. Gets marked conversations.
ConversationFetchOptions.pinned({int pageSize = 20, String? cursor})
~english The constructor of ConversationFetchOptions. Gets pinned conversations.

Properties

cursor String?
~english The cursor to specify where to start retrieving conversations. ~end ~chinese 查询游标,即会话查询的起始位置。 ~end
final
hashCode int
The hash code for this object.
no setterinherited
mark ConversationMarkType?
~english The conversation mark. ~end ~chinese 会话标记。 ~end
final
pageSize int
~english The number of conversations to retrieve per page. The value range is 1,10, with 10 as the default. ~end ~chinese 每页查询的会话数量, 取值范围为1,10, 默认为 10。 ~end
final
pinned bool
~english 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