Skip to main content

@slack/types / PlainTextOption

Interface: PlainTextOption

Defined in: block-kit/composition-objects.ts:96

Extends​

  • OptionDescriptor

Properties​

description?​

optional description?: PlainTextElement;

Defined in: block-kit/composition-objects.ts:85

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: block-kit/composition-objects.ts:101

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: block-kit/composition-objects.ts:80

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: block-kit/composition-objects.ts:75

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