ConversationFetchOptions class
The conversation filter class.
Constructors
- ConversationFetchOptions.new({int pageSize = 20, String? cursor})
-
The constructor of ConversationFetchOptions.
pageSizeThe number of conversations to retrieve per page. The value range is1,50, with 20 as the default.cursorThe cursor to specify where to start retrieving conversations. - ConversationFetchOptions.mark(ConversationMarkType mark, {int pageSize = 10, String? cursor})
- The constructor of ConversationFetchOptions. Gets marked conversations.
- ConversationFetchOptions.pinned({int pageSize = 20, String? cursor})
- The constructor of ConversationFetchOptions. Gets pinned conversations.
Properties
- cursor → String?
-
The cursor to specify where to start retrieving conversations.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mark → ConversationMarkType?
-
The conversation mark.
final
- pageSize → int
-
The number of conversations to retrieve per page. The value range is
1,10, with 10 as the default.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