Adding ability to disable attachment buttons and fields. (#12973)

Этот коммит содержится в:
Christopher Speller
2019-11-15 14:33:32 -08:00
коммит произвёл GitHub
родитель 7031f51b41
Коммит 9b6a0674f7

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

@@ -44,6 +44,9 @@ type PostAction struct {
// The text on the button, or in the select placeholder.
Name string `json:"name,omitempty"`
// If the action is disabled.
Disabled bool `json:"disabled,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".