menu lists that populate with team specific elements, such as users, conversations and channels

select_type_menu(
  id,
  type = c("users", "conversations", "channels"),
  placeholder,
  initial = NULL,
  confirm = NULL,
  max_select_items = NULL
)

Arguments

id

character, an identifier for the action triggered when a menu option is selected.

type

type of elements to populate, Default: c("users", "conversations", "channels")

placeholder

character, placeholder text shown on the menu.

initial

initial value of the menu, must by an slack ID, Default: NULL

confirm

A confirm object that defines an optional confirmation dialog that appears after a menu item is selected. Default: NULL

max_select_items

integer, Specifies the maximum number of items that can be selected in the menu, Default: NULL

Value

block menu class

Details

Works with block types: Section, Actions, Input

See also