[MM-22734] Support different interactive message button styles (#14592)
Этот коммит содержится в:
коммит произвёл
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".
|
||||
|
||||
Ссылка в новой задаче
Block a user