api: Add missing query parameter to `SearchData` (#403)

This commit is contained in:
Simo Aleksandrov 2023-08-07 22:18:35 +03:00 committed by GitHub
parent 3cb993aff9
commit 13ac33f33f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 10 deletions

View File

@ -16,6 +16,7 @@ type SearchData struct {
Mentions discord.UserID `schema:"mentions,omitempty"`
MaxID discord.MessageID `schema:"max_id,omitempty"`
MinID discord.MessageID `schema:"min_id,omitempty"`
IncludeNSFW bool `schema:"include_nsfw,omitempty"`
}
type SearchResponse struct {