Skip to main content

@slack/web-api / FeedbackButtons

Interface: FeedbackButtons

Defined in: node_modules/@slack/types/dist/block-kit/block-elements.d.ts:119

Description

Buttons to indicate positive or negative feedback.

Extends

Properties

action_id?

optional action_id: string;

Defined in: node_modules/@slack/types/dist/block-kit/extensions.d.ts:12

@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: node_modules/@slack/types/dist/block-kit/block-elements.d.ts:145

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.


positive_button

positive_button: object;

Defined in: node_modules/@slack/types/dist/block-kit/block-elements.d.ts:127

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.


type

type: "feedback_buttons";

Defined in: node_modules/@slack/types/dist/block-kit/block-elements.d.ts:123

Description

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

Overrides

Actionable.type