Packages

ExPnut is an Elixir wrapper for the pnut API.

Current section

Files

Jump to
ex_pnut lib posts model search_params.ex
Raw

lib/posts/model/search_params.ex

defmodule ExPnut.Posts.SearchParams do
@moduledoc """
[https://pnut.io/docs/api/resources/posts/search](https://pnut.io/docs/api/resources/posts/search)
"""
defstruct [
:q,
:tags,
:has_mentions,
:mentions,
:leading_mentions,
:links,
:link_domains,
:is_directed,
:is_revised,
:is_nsfw,
:is_reply,
:client_id,
:creator_id,
:reply_to,
:thread_id,
:user_types,
:raw_types,
order: "relevance"
]
end