context_block: Context Block

View source: R/layout_blocks.R

context_blockR Documentation

Context Block

Description

Displays message context, which can include both images and text.

Usage

context_block(elements, block_id = NULL)

Arguments

elements

A list of image_elements and text_objects. Maximum number of items is 10.

block_id

A string acting as a unique identifier for a block. If not specified, one will be generated. 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 Context Block

See Also

Other Blocks: actions_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.