actions_block: Action Block

View source: R/layout_blocks.R

actions_blockR Documentation

Action Block

Description

A block that is used to hold interactive elements.

Usage

actions_block(elements, block_id = NULL)

Arguments

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.

Value

A Slack Action Block

See Also

Other Blocks: context_block(), divider_block(), file_block(), header_block(), image_block(), input_block(), section_block()


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