conversations_select_menu: Conversations List Select Menu Element

View source: R/block_elements.R

conversations_select_menuR Documentation

Conversations List Select Menu Element


This select menu will populate its options with a list of public and private channels, DMs, and MPIMs visible to the current user in the active workspace. A select menu, just as with a standard HTML <select> tag, creates a drop down menu with a list of options for a user to choose. The select menu also includes type-ahead functionality, where a user can type a part or all of an option string to filter the list. To use interactive components, you will need to make some changes to prepare your app. Read our guide to enabling interactivity. Works with block types: Section Actions Input


  initial_conversations = NULL,
  default_to_current_conversation = NULL,
  confirm = NULL,
  response_url_enabled = NULL,
  filter = NULL



A plain_text only text_object that defines the placeholder text shown on the menu. Maximum length for the text in this field is 150 characters.


An identifier for the action triggered when a menu option is selected. 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.


Pre-populates the select menu with the conversation that the user was viewing when they opened the modal, if available. Default is false.


A confirm_object that defines an optional confirmation dialog that appears before the select choices are submitted.


This field only works with menus in input_blocks in modals. When set to true, the view_submission payload from the menu's parent view will contain a response_url. This response_url can be used for message responses. The target conversation for the message will be determined by the value of this select menu.


A filter_object that reduces the list of available conversations using the specified criteria.


A list of one or more IDs of any valid conversations to be pre-selected when the menu loads. If default_to_current_conversation is also supplied, initial_conversation will take precedence.

See Also

Other Elements: button_element(), channels_multi_select_menu(), channels_select_menu(), checkbox_element(), conversations_multi_select_menu(), datepicker_element(), external_multi_select_menu(), external_select_menu(), image_element(), overflow_menu_element(), plain_text_input_element(), radio_button_group_element(), static_multi_select_menu(), static_select_menu(), timepicker_element(), users_multi_select_menu(), users_select_menu()

samterfa/slackme documentation built on April 11, 2022, 3:29 a.m.