Skip to main content

@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_ids in the containing block. Maximum length for this field is 255 characters.

Inherited from​

Actionable.action_id


negative_button​

negative_button: object;

Defined in: block-kit/block-elements.ts:173

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​

Text object reference.

value​

value: string;
Description​

The negative feedback button value.

Description​

A button to indicate negative feedback.

See​

Feedback buttons object fields reference.


positive_button​

positive_button: object;

Defined in: block-kit/block-elements.ts:154

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​

Text object reference.

value​

value: string;
Description​

The positive feedback button value.

Description​

A button to indicate positive feedback.

See​

Feedback buttons object fields reference.


type​

type: "feedback_buttons";

Defined in: block-kit/block-elements.ts:149

Description​

The type of block. For a feedback buttons block, type is always feedback_buttons.

See​

Feedback buttons element reference.

Overrides​

Actionable.type