header_block: Header Block

View source: R/layout_blocks.R

header_blockR Documentation

Header Block

Description

A header is a plain-text block that displays in a larger, bold font. Use it to delineate between different groups of content in your app's surfaces. Available in surfaces: Modals Messages Home tabs

Usage

header_block(text, block_id = NULL)

Arguments

text

The text for the block, in the form of a plain_text text_object. Maximum length for the text in this field is 150 characters.

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.

See Also

https://api.slack.com/reference/block-kit/blocks#header

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


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