timepicker_element: Time Picker Element

View source: R/block_elements.R

timepicker_elementR Documentation

Time Picker Element


An element which allows selection of a time of day. On desktop clients, this time picker will take the form of a dropdown list with free-text entry for precise choices. On mobile clients, the time picker will use native time picker UIs. 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


  placeholder = NULL,
  initial_time = NULL,
  confirm = NULL



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.


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


The initial time that is selected when the element is loaded. This should be in the format HH:mm, where HH is the 24-hour format of an hour (00 to 23) and mm is minutes with leading zeros (00 to 59), for example 22:25 for 10:25pm.


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

See Also


Other Elements: button_element(), channels_multi_select_menu(), channels_select_menu(), checkbox_element(), conversations_multi_select_menu(), conversations_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(), users_multi_select_menu(), users_select_menu()

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