[MM-22734] Support different interactive message button styles (#14592)

Этот коммит содержится в:
Ben Schumacher
2020-05-19 18:41:17 +02:00
коммит произвёл GitHub
родитель 906508ee3b
Коммит 8d0343d2eb

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

@@ -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".