14 def section_block(block):
20 def actions_block(*elements):
23 "elements": list(elements)
26 def button_block(label, name):
37 def input_block(label, name, placeholder, optional=False):
43 "type": "plain_text_input",
56 def multi_select_block(label, name, placeholder, options, default=None):
62 "text": "*{}*".format(label)
66 "type": "multi_static_select",
78 } for option in options