View source: R/layout_blocks.R
actions_block | R Documentation |
A block that is used to hold interactive elements.
actions_block(elements, block_id = NULL)
elements |
A list of interactive element objects - buttons, select menus, overflow menus, or date pickers. There is a maximum of 5 elements in each action block. |
block_id |
A string acting as a unique identifier for a block. If not specified, a block_id will be generated. You can use this block_id when you receive an interaction payload to identify the source of the action. Maximum length for this field is 255 characters. block_id should be unique for each message and each iteration of a message. If a message is updated, use a new block_id. |
Other Blocks:
context_block()
,
divider_block()
,
file_block()
,
header_block()
,
image_block()
,
input_block()
,
section_block()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.