@slack/types / FeedbackButtons
Interface: FeedbackButtons
Defined in: block-kit/block-elements.ts:144
Description
Buttons to indicate positive or negative feedback.
Extends
Properties
action_id?
optional action_id: string;
Defined in: block-kit/extensions.ts:15
@description: An identifier for this action. You can use this when you receive an interaction payload to
identify the source of the action. Should be unique
among all other action_id
s in the containing block. Maximum length for this field is 255 characters.
Inherited from
negative_button
negative_button: object;
Defined in: block-kit/block-elements.ts:170
accessibility_label?
optional accessibility_label: string;
Description
A label for longer descriptive text about a button element. This label will be read out by screen readers instead of the button text
object. Maximum length for this field is 75 characters.
text
text: PlainTextElement;
Description
Defines an object containing some text.
See
value
value: string;
Description
The negative feedback button value.
Description
A button to indicate negative feedback.
positive_button
positive_button: object;
Defined in: block-kit/block-elements.ts:152
accessibility_label?
optional accessibility_label: string;
Description
A label for longer descriptive text about a button element. This label will be read out by screen readers instead of the button text
object. Maximum length for this field is 75 characters.
text
text: PlainTextElement;
Description
Defines an object containing some text.
See
value
value: string;
Description
The positive feedback button value.
Description
A button to indicate positive feedback.
type
type: "feedback_buttons";
Defined in: block-kit/block-elements.ts:148
Description
The type of block. For a feedback buttons block, type
is always feedback_buttons
.