getMembers

open fun getMembers(query: String, limit: Int = 1000): Flow<Member>(source)

Requests to get up to limit members whose Member.username or Member.nickname match the query. The limit accepts a maximum value of 1000 and a minimum of 1.

This property is not resolvable through cache and will always use the RestClient instead.

The returned flow is lazily executed, any RequestException will be thrown on terminal operators instead.