search

abstract suspend fun search(q: String, accountId: String? = null, type: SearchType? = null, excludeUnreviewed: Boolean? = null, attemptResolve: Boolean? = null, onlyFollowing: Boolean? = null, limit: Int? = null, pageInfo: OffsetPageInfo? = null): Results

Searches for content in accounts, statuses and hashtags.

Parameters

q

Search query.

accountId

If provided, statuses returned will be authored only by this account.

type

If provided, will only search for this type of content.

excludeUnreviewed

Filter out unreviewed tags? Use true when trying to find trending tags.

attemptResolve

Attempt WebFinger lookup?

onlyFollowing

Only include accounts that the user is following?