ConversationFetchOptions.pinned constructor

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

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.

Implementation

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