Use flags for create post (#28857)
* Use flags for create post * Remove unintended file * Fix unintended change and types --------- Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
43a06d1b78
Коммит
2d96053012
@@ -338,6 +338,11 @@ func (o *Post) EncodeJSON(w io.Writer) error {
|
||||
return json.NewEncoder(w).Encode(o)
|
||||
}
|
||||
|
||||
type CreatePostFlags struct {
|
||||
TriggerWebhooks bool
|
||||
SetOnline bool
|
||||
}
|
||||
|
||||
type GetPostsSinceOptions struct {
|
||||
UserId string
|
||||
ChannelId string
|
||||
|
||||
Ссылка в новой задаче
Block a user