ConversationFetchOptions.mark constructor

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

~english The constructor of ConversationFetchOptions. Gets marked conversations.

mark The conversation mark. pageSize The number of conversations to retrieve per page. The value range is 1,50. If you retrieve marked conversations, the value range is 1,10, with 10 as the default. cursor The cursor to specify where to start retrieving conversations. ~end

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

mark 会话标记。 pageSize 每页查询的会话数量,取值范围为1,50。查询标记的会话时,取值范围为 1,10,默认为 10。 cursor 查询游标,即会话查询的起始位置。 ~end

Implementation

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