View source: R/composition_objects.R
option_object | R Documentation |
An object that represents a single selectable item in a select menu, multi-select menu, checkbox group, radio button group, or overflow menu.
option_object(text, value, description = NULL, url = NULL)
text |
A |
value |
The string value that will be passed to your app when this option is chosen. Maximum length for this field is 75 characters. |
description |
A plain_text only text object that defines a line of descriptive text shown below the text field beside the radio button. Maximum length for the text object within this field is 75 characters. |
url |
A URL to load in the user's browser when the option is clicked. The url attribute is only available in overflow menus. Maximum length for this field is 3000 characters. If you're using url, you'll still receive an interaction payload and will need to send an acknowledgement response. |
https://api.slack.com/reference/block-kit/composition-objects#option
Other Composition:
confirm_object()
,
conversation_list_filter()
,
dispaction_action_configuration()
,
option_group()
,
text_object()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.