From 8d0343d2eb3b45af56d2a6e3e1b26ed7932ff24e Mon Sep 17 00:00:00 2001 From: Ben Schumacher Date: Tue, 19 May 2020 18:41:17 +0200 Subject: [PATCH] [MM-22734] Support different interactive message button styles (#14592) --- model/integration_action.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/model/integration_action.go b/model/integration_action.go index 72661aecaa..3f362d64c1 100644 --- a/model/integration_action.go +++ b/model/integration_action.go @@ -47,6 +47,11 @@ type PostAction struct { // If the action is disabled. Disabled bool `json:"disabled,omitempty"` + // Style defines a text and border style. + // Supported values are "default", "primary", "success", "good", "warning", "danger" + // and any hex color. + Style string `json:"style,omitempty"` + // DataSource indicates the data source for the select action. If left // empty, the select is populated from Options. Other supported values // are "users" and "channels".