Search Posts Query Params
data class SearchPostsQueryParams(val q: String, val sort: SearchPostsSort? = SearchPostsSort.LATEST, val since: String? = null, val until: String? = null, val mentions: AtIdentifier? = null, val author: AtIdentifier? = null, val lang: Language? = null, val domain: String? = null, val url: Uri? = null, val tag: ReadOnlyList<String> = persistentListOf(), val limit: Long? = 25, val cursor: String? = null)
Constructors
Link copied to clipboard
constructor(q: String, sort: SearchPostsSort? = SearchPostsSort.LATEST, since: String? = null, until: String? = null, mentions: AtIdentifier? = null, author: AtIdentifier? = null, lang: Language? = null, domain: String? = null, url: Uri? = null, tag: ReadOnlyList<String> = persistentListOf(), limit: Long? = 25, cursor: String? = null)
Properties
Link copied to clipboard
Filter to posts by the given account. Handles are resolved to DID before query-time.
Link copied to clipboard
Filter to posts which mention the given account. Handles are resolved to DID before query-time. Only matches rich-text facet mentions.
Link copied to clipboard
Specifies the ranking order of results.
Link copied to clipboard
Filter to posts with the given tag (hashtag), based on rich-text facet or tag field. Do not include the hash (#) prefix. Multiple tags can be specified, with 'AND' matching.