ConversationFetchOptions.pinned constructor
~english The constructor of ConversationFetchOptions. Gets pinned conversations.
pageSize
The number of conversations to retrieve per page. The value range is 1,50
, with 20 as the default.
cursor
The cursor to specify where to start retrieving conversations.
~end
~chinese ConversationFetchOptions 的构造函数。 获取置顶会话。
pageSize
每页查询的会话数量, 取值范围为1,50
, 默认为 20。
cursor
查询游标,即会话查询的起始位置。
~end
Implementation
ConversationFetchOptions.pinned({
int pageSize = 20,
String? cursor,
}) : this._(
mark: null,
pageSize: pageSize,
cursor: cursor,
pinned: true,
);