Add post priority to incoming and outgoing webhook (#26671)

* Added priority to incoming and outgoing webhook

* fixed fat finger

* Added priority tests

* fixed golint

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
Colton Shaw
2024-04-17 07:32:32 -04:00
коммит произвёл GitHub
родитель 9abdc7a933
Коммит 072d9a9c19
6 изменённых файлов: 79 добавлений и 18 удалений

Просмотреть файл

@@ -73,6 +73,7 @@ type OutgoingWebhookResponse struct {
Attachments []*SlackAttachment `json:"attachments"`
Type string `json:"type"`
ResponseType string `json:"response_type"`
Priority *PostPriority `json:"priority"`
}
const OutgoingHookResponseTypeComment = "comment"