Adding ability to disable attachment buttons and fields. (#12973)
Этот коммит содержится в:
коммит произвёл
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".
|
||||
|
||||
Ссылка в новой задаче
Block a user