forked from jmug/stoatchat
docs: document revolt-coalesced
This commit is contained in:
committed by
Angelo Kontaxis
parent
5885e067a6
commit
db55998546
@@ -11,12 +11,17 @@ use crate::{tenor, types};
|
||||
|
||||
#[derive(Deserialize, IntoParams)]
|
||||
pub struct SearchQueryParams {
|
||||
/// Search query
|
||||
#[param(example = "Wave")]
|
||||
pub query: String,
|
||||
/// Users locale
|
||||
#[param(example = "en_US")]
|
||||
pub locale: String,
|
||||
/// Amount of results to respond with
|
||||
pub limit: Option<u32>,
|
||||
/// Flag for if searching in a gif category
|
||||
pub is_category: Option<bool>,
|
||||
/// Value of `next` for getting the next page of results with the current search query
|
||||
pub position: Option<String>,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user