14 def section_block(block):
20 def actions_block(*elements):
23 "elements": list(elements)
26 def button_block(label, name, extra=None):
39 block['action_id'] = extra
43 def accessory_block(main, accessory):
51 def input_block(label, name, placeholder, optional=False):
57 "type": "plain_text_input",
70 def multi_select_block(label, name, placeholder, options, default=None):
76 "text": "*{}*".format(label)
80 "type": "multi_static_select",
92 } for option in options