ConversationFetchOptions.mark constructor

ConversationFetchOptions.mark(
  1. ConversationMarkType mark, {
  2. int pageSize = 10,
  3. String? cursor,
})

~english The constructor of ChatConversationFetchOptions. Get marked conversation.

mark The mark type of the conversation. pageSize The page size of the conversation, when using mark, the value range is 1,10, default is 10. cursor The cursor of the conversation. ~end

~chinese ChatConversationFetchOptions的构造函数。 获取标记的会话

mark 会话标记类型。 pageSize 会话分页大小, 在使用mark时,取值范围为1,10, 默认为10。 cursor 会话游标。 ~end

Implementation

ConversationFetchOptions.mark(
  ConversationMarkType mark, {
  int pageSize = 10,
  String? cursor,
}) : this._(
        mark: mark,
        pageSize: pageSize,
        cursor: cursor,
        pinned: false,
      );