View source: R/layout_blocks.R
A block that is used to hold interactive elements.
actions_block(elements, block_id = NULL)
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.
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.