summaryrefslogtreecommitdiffstats
path: root/model/post.go
diff options
context:
space:
mode:
Diffstat (limited to 'model/post.go')
-rw-r--r--model/post.go9
1 files changed, 6 insertions, 3 deletions
diff --git a/model/post.go b/model/post.go
index 1f89cb419..5d2438fc4 100644
--- a/model/post.go
+++ b/model/post.go
@@ -97,9 +97,12 @@ type PostPatch struct {
}
type SearchParameter struct {
- Terms *string `json:"terms"`
- IsOrSearch *bool `json:"is_or_search"`
- TimeZoneOffset *int `json:"time_zone_offset"`
+ Terms *string `json:"terms"`
+ IsOrSearch *bool `json:"is_or_search"`
+ TimeZoneOffset *int `json:"time_zone_offset"`
+ Page *int `json:"page"`
+ PerPage *int `json:"per_page"`
+ IncludeDeletedChannels *bool `json:"include_deleted_channels"`
}
func (o *PostPatch) WithRewrittenImageURLs(f func(string) string) *PostPatch {