search

suspend fun search(query: String, type: String? = null, cursor: String? = null, limit: Int? = null, page: Int? = null): SearchResponse

按关键词搜索用户(搜索.md)。

Return

搜索结果响应

Parameters

query

搜索关键词

type

搜索类型(可选)

cursor

分页游标(可选)

limit

单页数量上限(可选)

page

页码(可选)


suspend fun search(params: SearchParams): SearchResponse

Deprecated

Use flat parameter search(query, type, cursor, limit, page) instead.

Replace with

search(params.query, params.type, params.cursor, params.limit, params.page)

DEPRECATED in v0.5.0 旧版使用 SearchParams 包装的入口,推荐直接使用展开参数版本 search。