Skip to main content

@slack/web-api / PlainTextOption

Interface: PlainTextOption

Defined in: packages/types/dist/block-kit/composition-objects.d.ts:87

Extends​

  • OptionDescriptor

Properties​

description?​

optional description?: PlainTextElement;

Defined in: packages/types/dist/block-kit/composition-objects.d.ts:78

Description​

A PlainTextElement that defines a line of descriptive text shown below the text field. Maximum length for the text within this field is 75 characters.

Inherited from​

OptionDescriptor.description

text​

text: PlainTextElement;

Defined in: packages/types/dist/block-kit/composition-objects.d.ts:92

Description​

A PlainTextElement that defines the text shown in the option on the menu. To be used with overflow, select and multi-select menus. Maximum length for the text in this field is 75 characters.


url?​

optional url?: string;

Defined in: packages/types/dist/block-kit/composition-objects.d.ts:73

Description​

Only available in overflow menus! A URL to load in the user's browser when the option is clicked. Maximum length for this field is 3000 characters.

Inherited from​

OptionDescriptor.url

value?​

optional value?: string;

Defined in: packages/types/dist/block-kit/composition-objects.d.ts:68

Description​

A unique string value that will be passed to your app when this option is chosen. Maximum length for this field is 75 characters.

Inherited from​

OptionDescriptor.value