@@ -6,16 +6,17 @@ import (
6
6
)
7
7
8
8
type SearchData struct {
9
- Offset uint `schema:"offset,omitempty"`
10
- Content string `schema:"content,omitempty"`
11
- Has string `schema:"has,omitempty"`
12
- SortBy string `schema:"sort_by,omitempty"`
13
- SortOrder string `schema:"sort_order,omitempty"`
14
- ChannelID discord.ChannelID `schema:"channel_id,omitempty"`
15
- AuthorID discord.UserID `schema:"author_id,omitempty"`
16
- Mentions discord.UserID `schema:"mentions,omitempty"`
17
- MaxID discord.MessageID `schema:"max_id,omitempty"`
18
- MinID discord.MessageID `schema:"min_id,omitempty"`
9
+ Offset uint `schema:"offset,omitempty"`
10
+ Content string `schema:"content,omitempty"`
11
+ Has string `schema:"has,omitempty"`
12
+ SortBy string `schema:"sort_by,omitempty"`
13
+ SortOrder string `schema:"sort_order,omitempty"`
14
+ ChannelID discord.ChannelID `schema:"channel_id,omitempty"`
15
+ AuthorID discord.UserID `schema:"author_id,omitempty"`
16
+ Mentions discord.UserID `schema:"mentions,omitempty"`
17
+ MaxID discord.MessageID `schema:"max_id,omitempty"`
18
+ MinID discord.MessageID `schema:"min_id,omitempty"`
19
+ IncludeNSFW bool `schema:"include_nsfw,omitempty"`
19
20
}
20
21
21
22
type SearchResponse struct {
0 commit comments