Skip to main content

Interface: MrkdwnOption

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

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: MrkdwnElement;

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

Description

A MrkdwnElement that defines the text shown in the option on the menu. To be used with radio buttons and checkboxes. 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