ConversationFetchOptions.pinned constructor

ConversationFetchOptions.pinned({
  1. int pageSize = 20,
  2. String? cursor,
})

~english The constructor of ChatConversationFetchOptions. Get pinned conversation.

pageSize The page size of the conversation, when using page, the value range is 1,50, default is 20. cursor The cursor of the conversation. ~end

~chinese ChatConversationFetchOptions的构造函数。 获取置顶会话。

pageSize 会话分页大小, 取值范围为1,50, 默认为20。 cursor 会话游标。 ~end

Implementation

ConversationFetchOptions.pinned({
  int pageSize = 20,
  String? cursor,
}) : this._(
        mark: null,
        pageSize: pageSize,
        cursor: cursor,
        pinned: true,
      );